![]() |
The last one looks the cleanest.
Thanks again! |
Anytime. :)
[high]* Guest210212002 eyes the install button[/high] |
Oh lovely!
|
Code:
<!-- Admin Tools Menu Element --> I ask this because I installed this to put a dropdown to some special search tools, and if anyone does right click and view source can get the links... |
That's a great point, and wrapping the bottome code in a conditional is something I overlooked, thank you! This is a better way to do it.
Original post is updated with the new code. To fix your existing navbar template: Find: Code:
<if condition="in_array($bbuserinfo['usergroupid'], array(7))"> Code:
<if condition="$show['admincplink']"> Code:
<!-- Admin Tools Menu Element --> Code:
<if condition="$show['admincplink']"> Code:
<!-- /Admin Tools Menu Element --> Code:
</if> |
hmm, now that the <if condition="in_array($bbuserinfo['usergroupid'], array(7))"> and such is gone, and I suck at coding.. how can I set more than the admin usergroup?
Like if I want it to show for moderators too.. (6 and 7)? Or if I want a seperate menu for mods and one for admins? Edit: Fixed. Just replaced the <if condition="$show['admincplink']"> with <if condition="in_array($bbuserinfo['usergroupid'], array(7))"> again. No one can see the code anyways now. Just the <!-- Admin content menu --> but nothing in between. |
nice
|
All times are GMT. The time now is 10:38 AM. |
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:
|