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
  #12  
Old 08-25-2005, 11:23 PM
Fj?rgyn Fj?rgyn is offline
 
Join Date: Aug 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KuRi
Cus that should then only show for mods and super mods????
Yes
Reply With Quote
  #13  
Old 08-25-2005, 11:52 PM
KuRi KuRi is offline
 
Join Date: Jan 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heres the fix

Attachment has been updated
Reply With Quote
  #14  
Old 08-26-2005, 03:25 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please attach the fix to your first post too, thanks.
Reply With Quote
  #15  
Old 08-26-2005, 10:17 AM
Fj?rgyn Fj?rgyn is offline
 
Join Date: Aug 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, you're the best
Reply With Quote
  #16  
Old 08-26-2005, 12:36 PM
KuRi KuRi is offline
 
Join Date: Jan 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tony G
Please attach the fix to your first post too, thanks.
Done

Quote:
Originally Posted by Fj?rgyn
Thank you, you're the best
Thankyou
Reply With Quote
  #17  
Old 09-14-2005, 11:19 AM
Huijting Huijting is offline
 
Join Date: Jul 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it working thnx

But is there a way to get it working with cmps ?

thnx for any reply
Reply With Quote
  #18  
Old 09-14-2005, 07:47 PM
KuRi KuRi is offline
 
Join Date: Jan 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add the following to 'Portal Output Global Variables' in vBaCmps admin:
admincpdir
modcpdir
Reply With Quote
  #19  
Old 09-14-2005, 08:19 PM
Huijting Huijting is offline
 
Join Date: Jul 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't know quite where to find : 'Portal Output Global Variables' :nervous:

ehmmm.....help :nervous:
Reply With Quote
  #20  
Old 09-14-2005, 08:26 PM
Huijting Huijting is offline
 
Join Date: Jul 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oops found it , almost got it working now :-)

Now i got the problem that the link goes to www.huijting.nl/admincp/ and it should be going to www.huijting.nl/vbul/admincp/

When i'm in my forums it woarks great, only at my front page (and gallery) i got this problem.

Rob
Reply With Quote
  #21  
Old 09-14-2005, 11:01 PM
KuRi KuRi is offline
 
Join Date: Jan 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok in the navbar template find:
Code:
	<!-- staff menu -->
	<div class="vbmenu_popup" id="staff_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">

	<tr><td class="thead">Staff Menu</td></tr>		
	<if condition="$show['admincplink']">
<tr><td class="vbmenu_option"><a href="$admincpdir/" target="blank_">Admin CP</a></td></tr>
	</if>
	<if condition="$show['modcplink'] OR $bbuserinfo['usergroupid'] == '5' OR $bbuserinfo['usergroupid'] == '7'">
<tr><td class="vbmenu_option"><a href="$modcpdir/" target="blank_">Moderator CP</a></td></tr>
	</if>	
		</table>
	</div>
	<!-- / staff menu -->
replace with

Code:
	<!-- staff menu -->
	<div class="vbmenu_popup" id="staff_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">

	<tr><td class="thead">Staff Menu</td></tr>		
	<if condition="$show['admincplink']">
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/$admincpdir" target="blank_">Admin CP</a></td></tr>
	</if>
	<if condition="$show['modcplink'] OR $bbuserinfo['usergroupid'] == '5' OR $bbuserinfo['usergroupid'] == '7'">
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/$modcpdir" target="blank_">Moderator CP</a></td></tr>
	</if>	
		</table>
	</div>
	<!-- / staff menu -->
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 08:10 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.11119 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
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
  • (4)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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