![]() |
Link In NavBar Staff Viewable Only
Id like to set a link on my navbar to only be viewable by staff.
I have many ideas for this but just not sure how to set the coding in my templates. if any ideas please let me know thankks. |
use a mod that builds links they will allow you to set permission for who uses can see it
heres one |
If you only want to place one link for the moderators place the code of the link within the right condition,
HTML Code:
<vb:if condition="can_moderate()"><a href="http://www.modlink.com">Show this link to all moderators</a></vb:if> |
Quote:
I would use is_member_of instead as can_moderate() will add an extra query. |
Quote:
|
Quote:
|
Quote:
I have a 2M+ board so one query less is not a bad idea |
I'm from the old vb.org where queries were a big no-no. They can add up too easily.
|
|
That only adds the buttons, no drop-down menus below the buttons.
|
lol you may as well tell him were to put it in the template and how to get to navbar template LMAO.
|
All times are GMT. The time now is 05:40 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:
|