PDA

View Full Version : Navigation Manager


SavSin
06-07-2012, 08:28 AM
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

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.

Lynne
06-07-2012, 03:24 PM
If you look at the footer tab at the condition to show the admincp, you'll see this:
<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>
So try using admincplink

SavSin
06-08-2012, 03:52 AM
Thanks alot works perfectly lol.. I need to dive into these forums deeper and get a better understanding of these.