Quote:
Originally Posted by stomph
I simply enclosed the whole modification to the USERCP template with:
Code:
<if condition="in_array($bbuserinfo['usergroupid'], array(2, 6, 7))">
and:
Now only users from the groups 2, 6 and 7 will see the hack in UserCP.
|
This only seems to work with 'primary' usergroups, either that or it doesn't work for a more than three numbers in an array?
I have users awarded a usergroup as their secondary usergroups, and want the ability to link available to them then.