I have a conditional in my template code, but it seems that it only selects for the 'Primary' usergroup. How can I set it to check for the Primary or Secondary usergroups?
<!-- START Side Tab -->
<vb:if condition="in_array($bbuserinfo[usergroupid], array(6,13,14))">
<a id="floating_link" href="http://somethingorother.com" target="_blank">Click Me</a>
</vb:if>
<!-- END Side Tab -->
Registered Users (group 2) with a special secondary group (group 13) can not see the tab, but Admins (primary group 6) can see the tab. I don't want to have to change 2000 registered users with a special secondary group set at 13 into members where their primary group needs to be set at 13 just to see the tab.
Any help on the conditional would be much appreciated.
<!-- START Side Tab -->
<vb:if condition="in_array($bbuserinfo[usergroupid], array(6,13,14))">
<a id="floating_link" href="http://somethingorother.com" target="_blank">Click Me</a>
</vb:if>
<!-- END Side Tab -->
Registered Users (group 2) with a special secondary group (group 13) can not see the tab, but Admins (primary group 6) can see the tab. I don't want to have to change 2000 registered users with a special secondary group set at 13 into members where their primary group needs to be set at 13 just to see the tab.
Any help on the conditional would be much appreciated.
Comment