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

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

Category: Mini Mods - Version: 3.8.0 Rating:
Released: 01-11-2009 Last Update: Never Installs: 28
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

Screenshots

File Type: jpg adminmod.jpg (13.5 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 03-02-2009, 12:01 AM
joomla's Avatar
joomla joomla is offline
 
Join Date: Feb 2009
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent work thanks
Reply With Quote
  #13  
Old 03-14-2009, 02:13 AM
Safari Safari is offline
 
Join Date: Dec 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Feature! Saves time for sure ;p
Reply With Quote
  #14  
Old 03-18-2009, 07:13 PM
kaderith kaderith is offline
 
Join Date: Jun 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Outstanding mod! Works perfectly, thank you so much for this one!
Reply With Quote
  #15  
Old 03-20-2009, 04:57 AM
down.low down.low is offline
 
Join Date: Mar 2009
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

An easy "Chat" button for admins

Install MGC Chatbox Evo, then paste this instead of the authors code:

Code:
<center>
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]"><img src="images/misc/adcp.gif"
</a>
</if>
<if condition="$show['modcplink']"><a href="http://www.YOURFORUM.com/forums/mgc_cb_evo.php"><img src="images/misc/chat.gif"></a>
</if>
<if condition="$show['modcplink']">
<a href="$modcpdir/index.php$session[sessionurl_q]"><img src="images/misc/modcp.gif"></a>
</if>
</center>
|
|
|


Two images, moderators only see mod panel.



Paste this instead of the other code:

Code:
<center>
 <if condition="$show['admincplink']">
 <a href="$admincpdir/index.php$session[sessionurl_q]"><img src="images/misc/adcp.gif"></a></if> 
                 
 <if condition="$show['modcplink']">
 <a href="$modcpdir/index.php$session[sessionurl_q]"><img src="images/misc/modcp.gif"></a></if>
 </center>
Reply With Quote
  #16  
Old 03-25-2009, 07:31 AM
down.low down.low is offline
 
Join Date: Mar 2009
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If anyone want the images I used just PM me if you want.
Reply With Quote
  #17  
Old 04-10-2009, 05:28 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

troppodel: Thanks a lot for this.

Could you add a modcp panel image in your first post? (Same kind of the one for the admin panel) This would be great.
Reply With Quote
  #18  
Old 04-11-2009, 02:37 AM
down.low down.low is offline
 
Join Date: Mar 2009
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybershaolin View Post
troppodel: Thanks a lot for this.

Could you add a modcp panel image in your first post? (Same kind of the one for the admin panel) This would be great.
I have the one from post #14 if you could use it?
Reply With Quote
  #19  
Old 04-11-2009, 07:10 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well yeah sure. I would have liked the same model with the star but if you could post it, that would be nice.
Reply With Quote
  #20  
Old 04-12-2009, 07:43 PM
down.low down.low is offline
 
Join Date: Mar 2009
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybershaolin View Post
Well yeah sure. I would have liked the same model with the star but if you could post it, that would be nice.





Here's both so they can match each other.
Reply With Quote
  #21  
Old 04-12-2009, 08:18 PM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.
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 02:04 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.06610 seconds
  • Memory Usage 2,328KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete