The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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. |
#2
|
||||
|
||||
![]()
this is not a how-to so it shouldnt be here.
|
#3
|
|||
|
|||
![]()
please move to an area it can be please admin/mod
|
#4
|
||||
|
||||
![]()
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"> <td class="vbmenu_control"><a href="url" rel="nofollow">link text</a></td> </if> |
#5
|
|||
|
|||
![]()
thankyou very much
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|