$user.isMygroup

mf

Joined: 2006-12-19
Posts: 6
Posted: Wed, 2006-12-20 09:41

Is there a way to tell which group a user is in, in the tpl reference it mentions "$user.isGuest, $user.isRegisteredUser, $user.isAdmin", however this dosen't work for custom groups, so im wondering is there something like $user.isMygroup

 
joe7rocks
joe7rocks's picture

Joined: 2004-10-07
Posts: 560
Posted: Wed, 2006-12-20 10:40

There is no preset var for this, you need to set your own variable based on a (single) php call.
My Gallery 2: http://gallery.site.hu

 
mf

Joined: 2006-12-19
Posts: 6
Posted: Thu, 2006-12-21 01:13

Ok, but where would you put this call?