Log in

View Full Version : How to only let certain usergroups see a navbar link?


thenewuser
07-02-2007, 07:22 AM
What would the code be?

Thanks a ton. :)

dyna88
07-02-2007, 10:55 AM
<if condition="is_member_of($bbuserinfo, X, Y, Z)">
navbar link
</if>

Replace X, Y, Z with the usergroup IDs that you want to be able to view the link

thenewuser
07-02-2007, 01:37 PM
this might be a stupid question, but how can I tell what ID a usergroup is? =/

Guest190829
07-02-2007, 01:39 PM
Admin CP -> Usergroups -> Usergroup Manager ->

You will see a list of user groups followed by a drop down that states:

Edit Usergroup (id: X)

'X' is the ID of that specific usergroup..

thenewuser
07-02-2007, 01:42 PM
der, I didn't notice that, thanks. ;)