Gruppe in profil.tpl

iceboy1000
Hallo,

ich möchte die jeweilige Gruppe des Users mit einer If-Abfrage im profil.tpl verwenden, wie kann ich die Variable so definieren, dass sie nicht nur im team.tpl, sondern auch im profil.tpl möglich ist?
[kamui]
iceboy1000
Folgendes habe ich abgefragt:

php:
1:
2:
3:
4:
5:
6:
7:
<if(in_array(57,$wbbuserdata['groupcombinationid']))><then>   
<tr align="left">
    <td><span class="normalfont"><b>Teams:</b></span></td>
    <td><a href="javascript:fototeam">Foto</a></td>
   </tr>
</then>
</if>


Den Screen im Anhang habe ich als Fehlermeldung bekommen.
[kamui]
Hast du denn eine Gruppe 57 ?
iceboy1000
Klar die groupcombinationid: 57 ist bei mir eben "Foto".