The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Navigation Manager
So using the new NA from VB 4.2 I created a tab to be shown to the public. Then i created a link within that tab that i want only admins to see. I know it says you can use the name from the $show variable to restrict the link from being shown.
I couldn't find one for administrators is there one? or is there a different way i have to block this link from being shown. This is the message Code:
This determines which variable(s) in the vBulletin $show array will be used to decide if the element should be displayed. For instance 'member' means it will only display if $show['member'] is true. Multiple variables can be specified by joining them with a dot. All of them must then be true for the element to display. |
#2
|
||||
|
||||
If you look at the footer tab at the condition to show the admincp, you'll see this:
HTML Code:
<vb:if condition="$show['admincplink']"><li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase admin}</a></li></vb:if> |
#3
|
|||
|
|||
Thanks alot works perfectly lol.. I need to dive into these forums deeper and get a better understanding of these.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|