Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Moderation menu (Navbar Dropdown) Details »»
Moderation menu (Navbar Dropdown)
Version: 1.00, by Roms Roms is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 05-24-2006 Last Update: 05-24-2006 Installs: 21
Template Edits
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-24-2006, 10:46 PM
Roms's Avatar
Roms Roms is offline
 
Join Date: Jun 2004
Location: Witness ProtectionProgram
Posts: 1,841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #3  
Old 05-24-2006, 11:00 PM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the mod mate, a nice one indeed
Reply With Quote
  #4  
Old 05-24-2006, 11:32 PM
cfgray cfgray is offline
 
Join Date: Apr 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 05-24-2006, 11:43 PM
Roms's Avatar
Roms Roms is offline
 
Join Date: Jun 2004
Location: Witness ProtectionProgram
Posts: 1,841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 05-25-2006, 03:33 AM
apfparadise apfparadise is offline
 
Join Date: Jan 2005
Location: Northridge CA
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 05-25-2006, 03:45 AM
Roms's Avatar
Roms Roms is offline
 
Join Date: Jun 2004
Location: Witness ProtectionProgram
Posts: 1,841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #8  
Old 05-25-2006, 04:47 PM
alshehi alshehi is offline
 
Join Date: Nov 2003
Location: Uae
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh nice

thank you

alshehi
Reply With Quote
  #9  
Old 05-25-2006, 07:13 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's a great idea. Thank you!
Reply With Quote
  #10  
Old 05-25-2006, 08:40 PM
Roms's Avatar
Roms Roms is offline
 
Join Date: Jun 2004
Location: Witness ProtectionProgram
Posts: 1,841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, glad you like it.

Thanks again apfparadise for pointing that out and for clicking install.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04539 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete