PDA

View Full Version : Quick question probadly simple


Iskib
02-28-2007, 05:46 AM
If i only want certain usergroups to beable to view a link the code is <if condition="($bbuserinfo[usergroupid]==1)">
<a href="URL">LINK</a>
</if>

If you wanted to add more groups to this would I do it like this

<if condition="($bbuserinfo[usergroupid]==1,2,3)">
<a href="URL">LINK</a>
</if>

Thanks

Princeton
02-28-2007, 11:20 AM
you can use
<if condition="is_member_of($bbuserinfo, 5,6,7)">foo</if>

Iskib
02-28-2007, 11:58 AM
Thanks :)