PDA

View Full Version : How are the function usergroupid with Additional Usergroups


andryus
12-02-2007, 02:44 AM
Hello , i use this function to restrict access to specific usergroups:

<if condition="$bbuserinfo['usergroupid'] == '6'"> CODE TO ALLOW USERGROUP 6 HERE</if>

But i need another one for Additional Usergroups , i need allow access to users with Additional Usergroups.

How i can make this?

Thanks.

Opserty
12-02-2007, 09:19 AM
Use:

<if condition="is_member_of($bbuserinfo, 1, 2, 3, 4)">
.....
</if>