ok, I checked and you both are right. Apparently the check works just for the primary usergroup. So you can use that one if you want to check primary usergroup of the user:
[[(in_array($bbuserinfo[usergroupid], array(5,6,7,22)))]]
show if visitor's primary usergroup is 5 or 6 or 7 or 22
[[/(in_array($bbuserinfo[usergroupid], array(5,6,7,22)))]]
OR
[[(!in_array($bbuserinfo[usergroupid], array(5,6,7,22)))]]
show if visitor's primary usergroup is NOT 5 or 6 or 7 or 22
[[/(!in_array($bbuserinfo[usergroupid], array(5,6,7,22)))]]
I have no suggestion if you want to check secondary usergroup, sorry about it.
|