vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Mini Mods - Admin and Mod Panel link on NAVBAR (https://vborg.vbsupport.ru/showthread.php?t=201500)

troppodel 01-11-2009 10:00 PM

Admin and Mod Panel link on NAVBAR
 
1 Attachment(s)
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

https://vborg.vbsupport.ru/

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

RedDevil 01-14-2009 03:43 PM

thanks you

NGUYENDUCTRUONG 01-14-2009 11:08 PM

good ID :D thanks

troppodel 01-15-2009 08:03 AM

updated 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>


RedDevil 01-15-2009 08:38 AM

Quote:

Originally Posted by troppodel (Post 1713128)
updated 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"><font color="red"><b>[$vbphrase[admin]]</b></font></a></if>
                                <if condition="$show['modcplink']"><a href="http://www.yoursite.com/forum/modcp/index.php"><font color="blue"><b>[$vbphrase[mod]]</b></font></a></if>

</center>


Thanks, I added a colour too red for admin blue for mods, same as they are on forum, and moved it to the left looked a bit odd in middle, nice addition thanks.

neto614 01-19-2009 11:15 PM

Nice .... thanks

scottny 02-20-2009 02:06 AM

installed

works great, thanks

troppodel 02-28-2009 10:19 PM

thanks

K4GAP 02-28-2009 11:03 PM

Good idea.

Now if only someone could put style selection on navbar!! WOOOT!

creative-friend 03-01-2009 04:50 PM

Really Very Nice
Thanks.

joomla 03-02-2009 12:01 AM

Excellent work thanks

Safari 03-14-2009 02:13 AM

Great Feature! Saves time for sure ;p

kaderith 03-18-2009 07:13 PM

Outstanding mod! Works perfectly, thank you so much for this one!

down.low 03-20-2009 04:57 AM

An easy "Chat" button for admins
http://i472.photobucket.com/albums/r...ion/addmod.jpg
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.

http://i472.photobucket.com/albums/r...tion/vbull.jpg

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>


down.low 03-25-2009 07:31 AM

If anyone want the images I used just PM me if you want.

Cybershaolin 04-10-2009 05:28 AM

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.

down.low 04-11-2009 02:37 AM

Quote:

Originally Posted by Cybershaolin (Post 1787962)
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?

Cybershaolin 04-11-2009 07:10 AM

Well yeah sure. I would have liked the same model with the star but if you could post it, that would be nice. :)

down.low 04-12-2009 07:43 PM

Quote:

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

http://www.lirinini.com/forums/images/misc/acp.gif

http://www.lirinini.com/forums/images/misc/mcp.gif


Here's both so they can match each other.

Cybershaolin 04-12-2009 08:18 PM

Thanks.


All times are GMT. The time now is 06:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01150 seconds
  • Memory Usage 1,762KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete