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
[Mini hack] Add Admin, Mod dropdown on Navbar Details »»
[Mini hack] Add Admin, Mod dropdown on Navbar
Version: 1.0.3, by KuRi KuRi is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Version: 3.5.0 RC3 Rating:
Released: 08-21-2005 Last Update: 09-14-2005 Installs: 25
Template Edits
 
No support by the author.

Original mod for 3.0.3 released on vbulletin Fans website [http://www.vbulletin.nl/showthread.php?t=2329] by Duncan99

Quote:
Originally Posted by duncan99
I am kinda lazy to scroll down the page to enter ACP, so I add those codes to Navbar. If you just like me, go for it.
I just tidied it up by putting it into a dropdown menu and updated the template mod to work with 3.5.0 RC2 allthough should work with all versions 3+

Update 1.0.2

Fixed no show for moderators

Update 1.0.3

Fixed links not working anwhere other than forumhome

Show Your Support

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

Comments
  #2  
Old 08-22-2005, 12:14 PM
turksengel turksengel is offline
 
Join Date: Aug 2005
Location: Turkiye
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any screen ?
Reply With Quote
  #3  
Old 08-22-2005, 12:19 PM
KuRi KuRi is offline
 
Join Date: Jan 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screenshot added
Reply With Quote
  #4  
Old 08-22-2005, 12:35 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would wrap it so the regular members don't even see the Staff drop down.
Reply With Quote
  #5  
Old 08-22-2005, 12:40 PM
KuRi KuRi is offline
 
Join Date: Jan 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Regular members will not see the drop menu, only members with control panel priviliges will see the menu
Reply With Quote
  #6  
Old 08-22-2005, 12:45 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're right. I didn't look at the top piece of code very closely.
Reply With Quote
  #7  
Old 08-25-2005, 09:28 PM
Fj?rgyn Fj?rgyn is offline
 
Join Date: Aug 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I tried this, but it don't works, no Mod see the link, what's wrong?

<if condition="$show['modcplink'] OR
$bbuserinfo['usergroupid'] == '5' OR $bbuserinfo['usergroupid'] == '7'">
Reply With Quote
  #8  
Old 08-25-2005, 10:15 PM
KuRi KuRi is offline
 
Join Date: Jan 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should not need the
Code:
OR $bbuserinfo['usergroupid'] == '5' OR $bbuserinfo['usergroupid'] == '7'">
as
Code:
<if condition="$show['modcplink']">
will cause the link ony to show if a member/mod has modcp priviliges

does the modcp link in the footer show for your mods?
I ask this because that uses the same conditional to show for mods
Reply With Quote
  #9  
Old 08-25-2005, 10:44 PM
Fj?rgyn Fj?rgyn is offline
 
Join Date: Aug 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, that's the code from the footer with id 5 and 7 and it works, without this it don't works :ermm:
Reply With Quote
  #10  
Old 08-25-2005, 10:59 PM
KuRi KuRi is offline
 
Join Date: Jan 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried

Code:
<if condition="$bbuserinfo['usergroupid'] == '5' OR $bbuserinfo['usergroupid'] == '7'">
Cus that should then only show for mods and super mods????
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 03:00 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.09851 seconds
  • Memory Usage 2,290KB
  • 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
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete