vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Moderation menu (Navbar Dropdown) (https://vborg.vbsupport.ru/showthread.php?t=116600)

Roms 05-24-2006 10:00 PM

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 by Abe1, and want to add a link see the first post in this thread or the text file, thanks. ;)


* Updated, fixed link in navbar, forgot "if" statements...


Please make sure you click INSTALL if you use it. :cool:

Roms 05-24-2006 10:46 PM

If you have installed Moderator Statistics by Abe1, and want to add a link:

FIND: (in moderation menu in navbar code)

HTML Code:

</table>
</div>
</if>
<!-- / Drop down for moderation menu in navbar-->

ABOVE ADD:

HTML Code:

<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

Roms 05-24-2006 11:43 PM

Quote:

Originally Posted by 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:

Code:

<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.

Roms 05-25-2006 03:45 AM

Quote:

Originally Posted by apfparadise
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:

Code:

<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:

HTML Code:

<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!

Roms 05-25-2006 08:40 PM

Thanks, glad you like it. :)

Thanks again apfparadise for pointing that out and for clicking install. :)


All times are GMT. The time now is 10:21 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
  • Page Generation 0.01385 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete