PDA

View Full Version : Mini Mods - Admin and Mod Panel link on NAVBAR


troppodel
12 Jan 2009, 12:10
Hi there
this is my first and little modification.

ADMIN AND MOD PANEL LINK ON NAVBAR
TEXT VERSION

open navbar template

find this text:

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

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

<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://www.vbulletin.org/forum/

IF YOU USE VBADVANCED USE THIS CODE FOR TEXT VERSION:

<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
14 Jan 2009, 17:43
thanks you

NGUYENDUCTRUONG
15 Jan 2009, 01:08
good ID :D thanks

troppodel
15 Jan 2009, 10:03
updated right now for users with vbadvanced


IF YOU USE VBADVANCED USE THIS CODE FOR TEXT VERSION:

<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
15 Jan 2009, 10:38
updated right now for users with vbadvanced


IF YOU USE VBADVANCED USE THIS CODE FOR TEXT VERSION:

<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
20 Jan 2009, 01:15
Nice .... thanks

scottny
20 Feb 2009, 04:06
installed

works great, thanks

troppodel
01 Mar 2009, 00:19
thanks

K4GAP
01 Mar 2009, 01:03
Good idea.

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

creative-friend
01 Mar 2009, 18:50
Really Very Nice
Thanks.

joomla
02 Mar 2009, 02:01
Excellent work thanks

Safari
14 Mar 2009, 04:13
Great Feature! Saves time for sure ;p

kaderith
18 Mar 2009, 21:13
Outstanding mod! Works perfectly, thank you so much for this one!

down.low
20 Mar 2009, 06:57
An easy "Chat" button for admins
http://i472.photobucket.com/albums/rr88/ps_auction/addmod.jpg
Install MGC Chatbox Evo, then paste this instead of the authors 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/rr88/ps_auction/vbull.jpg

Paste this instead of the other 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
25 Mar 2009, 09:31
If anyone want the images I used just PM me if you want.

Cybershaolin
10 Apr 2009, 07:28
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
11 Apr 2009, 04:37
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
11 Apr 2009, 09:10
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
12 Apr 2009, 21:43
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
12 Apr 2009, 22:18
Thanks.