Mastar
01-27-2011, 10:38 PM
How do I write a condition for a group?
If a user is in admin group or supermod group show this.
<vb:if condition="$groupid['1']">
??
--------------- Added 1296179691 at 1296179691 ---------------
or Using usergroup conditions
<vb:if condition="$usergroupid['1']">
--------------- Added 1296181351 at 1296181351 ---------------
I tried:
<vb:if condition="is_member_of($bbuserinfo, 5,6)">
and
<vb:if condition="$bbuserinfo['usergroupid'] == 6">
but nothing
If a user is in admin group or supermod group show this.
<vb:if condition="$groupid['1']">
??
--------------- Added 1296179691 at 1296179691 ---------------
or Using usergroup conditions
<vb:if condition="$usergroupid['1']">
--------------- Added 1296181351 at 1296181351 ---------------
I tried:
<vb:if condition="is_member_of($bbuserinfo, 5,6)">
and
<vb:if condition="$bbuserinfo['usergroupid'] == 6">
but nothing