View Full Version : Moderation menu (Navbar Dropdown)
Moderation menu (Navbar Dropdown) v1.0
Moderation menu (Navbar Dropdown) v1.0
By: Infantrymen
Works for Vb 3.0-3.6
Easy, about 1-2 mins
This simple modification adds a dropdown menu to the navigation bar
with moderation links. The main link is only visible to staff members.
Only those staff members who can use the Moderator CP can see the main link, only Admins can see the Admin links (Admin CP, Users) in the drop down...
If you have installed Moderator Statistics (https://vborg.vbsupport.ru/showthread.php?t=106329) by Abe1, and want to add a link see the first post in this thread (https://vborg.vbsupport.ru/showpost.php?p=987437&postcount=2) or the text file, thanks. ;)
* Updated, fixed link in navbar, forgot "if" statements...
Please make sure you click INSTALL if you use it. :cool:
If you have installed Moderator Statistics (https://vborg.vbsupport.ru/showthread.php?t=106329) by Abe1, and want to add a link:
FIND: (in moderation menu in navbar code)
</table>
</div>
</if>
<!-- / Drop down for moderation menu in navbar-->
ABOVE ADD:
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/misc.php?do=moderator_stats">
Moderator Stats</a></td></tr>
FreshFroot
05-24-2006, 11:00 PM
Thanks for the mod mate, a nice one indeed :D
cfgray
05-24-2006, 11:32 PM
Hi,
I installed your Mod/Admin drop down menu but it does not appear on my navbar - i'm the super-administrator. Any suggestions?
Best,
cfgray
Hi,
I installed your Mod/Admin drop down menu but it does not appear on my navbar - i'm the super-administrator. Any suggestions?
Best,
cfgray
Try editing that usergroup, it may not be set to use the Modcp...
Usergroups, Usergroup Manager >> Administrators (edit user group >> GO)
scroll down and find: "Administrator Permissions", Can Access Control Panel (is Administrator) and tick "Yes". and Can Moderate All Forums (is Super Moderator) and tick "Yes". Save.......
You may also want to edit your Administrator permissions (after editing your profile in the Admin CP)...
If you can use the Mod CP (and see the link at the bottom of the page you should be able to see this link.. :) )
If all else fails you could add yourself to the Super Mod group as a secondary group......
Please click install if you end up using it... Thanks :)
apfparadise
05-25-2006, 03:33 AM
Great mod, Installed, BUT...
It shows on the Navbar for everyone, they can't see the menus, but they can see the "MODERATION" menu. You can just put this around it, does the trick:
<if condition="is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6)"> </if>
Your usergroups may vary, but usually that is Admins and Supermods, you can add more groups by repeating the OR ... part.
Great mod, Installed, BUT...
It shows on the Navbar for everyone, they can't see the menus, but they can see the "MODERATION" menu. You can just put this around it, does the trick:
<if condition="is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6)"> </if>
Your usergroups may vary, but usually that is Admins and Supermods, you can add more groups by repeating the OR ... part.
Opps, I forgot to add the if statements around the setup link in the navbar... I still perfer to use:
<if condition="$show['modcplink']">
What ever members like to use is their preference, either one works (I perfer shorter... ;))....
If you have installed it, please click install (ie: Great mod, Installed, BUT...) Thanks.
(I can see who has clicked install..)
Updated file...
alshehi
05-25-2006, 04:47 PM
oh nice
thank you
alshehi
Snake
05-25-2006, 07:13 PM
That's a great idea. Thank you!
Thanks, glad you like it. :)
Thanks again apfparadise for pointing that out and for clicking install. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.