PDA

View Full Version : links not veiwable by certain usergroups in navbar


salata
02-12-2007, 03:17 AM
what is the code for that? if i only want certain usergroups not veiwing some links in the navbar? i know its <if code> i think?

Chicago_VLNU_4s
02-12-2007, 06:42 AM
you should just use this code and assign usergroups that can only see it. I don't know if there's one that you can assign usergroups that CAN'T see it.

<if condition="($bbuserinfo[usergroupid]==group number)">
LINK/CODE GOES HERE
</if>

if you wanted it to only show for a certain user, I believe you would use this. Correct me if I'm wrong

<if condition="($bbuserinfo[userid]==member id)">
LINK/CODE GOES HERE
</if>

salata
02-12-2007, 11:04 AM
i have alot of usergroups, so thats why i was looking for a code so only one specific group couldnt see it

paul41598
02-12-2007, 03:30 PM
<if condition="is_member_of($bbuserinfo, X, Y, Z)">
code
</if>