PDA

View Full Version : Make navbar link not display to a usergroup


thcf
02-13-2009, 01:38 PM
I need help, i am trying to make 1 link in my navbar not display to 2 usergroups

here is the code i tried but it dont seem to be working

usergroup 1 = Unregistered / Not Logged In
usergroup 2 = Trial Users

<if condition="$bbuserinfo[usergroupid] != 2 OR $bbuserinfo[usergroupid] != 1"><td class="vbmenu_control"><a href="$vboptions[bburl]/vbclassified.php">Auctions</a></td></if>

Seven Skins
02-13-2009, 01:54 PM
<if condition="!is_member_of($bbuserinfo, 5, 6, 7)">
LINK HERE
</if>

Try this. Edit user gropus accordingly.

thcf
02-13-2009, 03:43 PM
Thanks alot it worked :)