Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
Admin and Mod Panel link on NAVBAR Details »»
Admin and Mod Panel link on NAVBAR
Version: 1.01, by troppodel troppodel is offline
Developer Last Online: Jan 2011 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.5 Rating:
Released: 01-11-2009 Last Update: Never Installs: 11
Template Edits
Re-useable Code  
No support by the author.

Hi there
this is my first and little modification.

ADMIN AND MOD PANEL LINK ON NAVBAR
TEXT VERSION

open navbar template

find this text:

Code:
		<if condition="$show['pmwarning']"><div><strong><phrase 

1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
add below this text:

Code:
 <center><if condition="$show['admincplink']"><a 

href="$admincpdir/index.php$session[sessionurl_q]"><b>[$vbphrase[admin]]</b></a></if> 
				<if condition="$show['modcplink']"><a 

href="$modcpdir/index.php$session[sessionurl_q]"><b>[$vbphrase[mod]]</b></a></if>
</center>
IF YOU WANT YOU CAN ADD AN IMAGE:
IMAGE VERSION:

Add this code:

Code:
 <center><if condition="$show['admincplink']"><a 

href="$admincpdir/index.php$session[sessionurl_q]"><img src="http://www.yousite.com/forums/images/adminpanel.gif"></a></if> 
				<if condition="$show['modcplink']"><a 

href="$modcpdir/index.php$session[sessionurl_q]"><b>[$vbphrase[mod]]</b></a></if>
</center>
REPLACE THE TEXT "http://www.yousite.com/forums" with your board URL
IF YOU WANT YOU CAN CUSTUMIZE THE IMAGE

Upload in your site this image




IF YOU USE VBADVANCED USE THIS CODE FOR TEXT VERSION:

Code:
 <center>
<if condition="$show['admincplink']"><a href="http://www.yoursite.com/forum/admincp/index.php"><b>[$vbphrase[admin]]</b></a></if> 
				<if condition="$show['modcplink']"><a href="http://www.yoursite.com/forum/modcp/index.php"><b>[$vbphrase[mod]]</b></a></if>

</center>
ENJOY

PLEASE CLICK ON INSTALL

Show Your Support

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

Comments
  #12  
Old 01-13-2009, 01:17 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by R-D View Post
No, it doesn't. And yes, I actually tested that claim, even though it's obviously wrong.
My fault, I mis-read the description and thought it was adding the modcp link so moderators could see it
Reply With Quote
  #13  
Old 01-13-2009, 06:49 AM
troppodel's Avatar
troppodel troppodel is offline
 
Join Date: Nov 2008
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AURFSCAN View Post
cool idea , but I have it in the navbar
yeah it is the same you can put the code where you want, i have shared this mod only because i don't wanna scrolling the page anymore for access to admin page!
Reply With Quote
  #14  
Old 01-13-2009, 03:37 PM
johnrizz's Avatar
johnrizz johnrizz is offline
 
Join Date: Apr 2006
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by troppodel View Post
yeah it is the same you can put the code where you want, i have shared this mod only because i don't wanna scrolling the page anymore for access to admin page!
I hear ya!!
Reply With Quote
  #15  
Old 01-13-2009, 08:36 PM
troppodel's Avatar
troppodel troppodel is offline
 
Join Date: Nov 2008
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes why the vbullettin developers don't change of default the position of these links!!
Reply With Quote
  #16  
Old 01-15-2009, 08:03 AM
troppodel's Avatar
troppodel troppodel is offline
 
Join Date: Nov 2008
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

update right now for users with vbadvanced


IF YOU USE VBADVANCED USE THIS CODE FOR TEXT VERSION:

Code:
 <center>
<if condition="$show['admincplink']"><a href="http://www.yoursite.com/forum/admincp/index.php"><b>[$vbphrase[admin]]</b></a></if> 
				<if condition="$show['modcplink']"><a href="http://www.yoursite.com/forum/modcp/index.php"><b>[$vbphrase[mod]]</b></a></if>

</center>
Reply With Quote
  #17  
Old 01-27-2009, 05:08 AM
Nightmare-GameZ Nightmare-GameZ is offline
 
Join Date: Feb 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool mod. Makes life easier for me. xD

Installed.
Reply With Quote
  #18  
Old 01-28-2009, 05:19 AM
Dingo14 Dingo14 is offline
 
Join Date: Dec 2007
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by troppodel View Post
update right now for users with vbadvanced


IF YOU USE VBADVANCED USE THIS CODE FOR TEXT VERSION:

Code:
 <center>
<if condition="$show['admincplink']"><a href="http://www.yoursite.com/forum/admincp/index.php"><b>[$vbphrase[admin]]</b></a></if> 
				<if condition="$show['modcplink']"><a href="http://www.yoursite.com/forum/modcp/index.php"><b>[$vbphrase[mod]]</b></a></if>

</center>
mate i have the vBadvanced CMPS v3.0.0 as well can you tell me what template this goes in working great on main forum but portal i cant figure
Reply With Quote
  #19  
Old 01-30-2009, 02:31 PM
troppodel's Avatar
troppodel troppodel is offline
 
Join Date: Nov 2008
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dingo14 View Post
mate i have the vBadvanced CMPS v3.0.0 as well can you tell me what template this goes in working great on main forum but portal i cant figure
sorry but i don't understood
you need to change only the navbar template
Reply With Quote
  #20  
Old 02-02-2009, 12:31 AM
Dingo14 Dingo14 is offline
 
Join Date: Dec 2007
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry mate sorted works great thanks me being a bit brain dead lol
Reply With Quote
  #21  
Old 02-02-2009, 08:27 AM
troppodel's Avatar
troppodel troppodel is offline
 
Join Date: Nov 2008
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks friends
Reply With Quote
Reply

Thread Tools

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:27 AM.


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.04872 seconds
  • Memory Usage 2,306KB
  • 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
  • (6)bbcode_code
  • (5)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
  • (1)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