![]() |
Make link in navbar accessable by usergroup
What code do i have to input in the navbar template to only allow a usergroup like vip to gain access, only only visible to say all admin and mods and vips,
i take its a bit like this one for reg link <if condition="$show['registerbutton']"> <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> but i cannot seem to sort it, please help. |
this is not a how-to so it shouldnt be here.
|
please move to an area it can be please admin/mod
|
Groups 5,6,7 are the default numbers for Super Mod, Admin, and Mod respectively. Replace '== X' with your vip usergroup id.
Code:
<if condition="$bbuserinfo['usergroupid'] == 5 || $bbuserinfo['usergroupid'] == 6 || $bbuserinfo['usergroupid'] == 7 || $bbuserinfo['usergroupid'] == X"> |
thankyou very much
|
All times are GMT. The time now is 03:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|