PDA

View Full Version : Admin & Mod CP Quick Links


thpoul
02 Dec 2006, 23:20
Admin & Mod CP Quick Links
for lazy guys like myself who don't wanna scroll down the page and hit those buttons

Installation:

In Navbar template

Find:

<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>


After of it add:


<!--Admin & Mod CP Quick Links Start-->
<if condition="$show['admincplink']"><tr><td class="thead">Admin/Mod</td></tr><else /><if condition="$show['modcplink']">]"><tr><td class="thead">Admin/Mod</td></tr></if></if>
<if condition="$show['admincplink']"><tr><td class="vbmenu_option"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a></td></tr></if>
<if condition="$show['modcplink']"><tr><td class="vbmenu_option"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a></td></tr></if>
<!--Admin & Mod CP Quick Links End-->

Special thanks to Genjuro-Sensei !!

If you use it please click Install


Preview:

dnlister
03 Dec 2006, 00:19
wow, nice work.

Thanks alot.

thpoul
03 Dec 2006, 00:23
It seems we are 2 lazy guys in here :p

Thanks for installing :)

ImzadiNN
03 Dec 2006, 00:26
Very cool... I got an array of monitors, so this os GREAT for a lazy guy like me.


X sell lent!

Clickin.

lexx27
03 Dec 2006, 00:51
Ι m not so lazy but thanks :)

texasasl
03 Dec 2006, 00:52
Nice job my friend awesome

Genjuro-Sensei
05 Dec 2006, 12:34
Awsome, installed !

But, If the member is not a MOD or ADMIN it shows two blank TDs, so i'd rather say it would be like this: ;)
<!--Admin & Mod CP Quick Links Start-->
<if condition="$show['admincplink']"><tr><td class="vbmenu_option"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a></td></tr></if>
<if condition="$show['modcplink']"><tr><td class="vbmenu_option"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a></td></tr></if>
<!--Admin & Mod CP Quick Links End-->
And more better looking i'd say:
<!--Admin & Mod CP Quick Links Start-->
<if condition="$show['admincplink']"><tr><td class="thead">Admin/Mod</td></tr><else /><if condition="$show['modcplink']">]"><tr><td class="thead">Admin/Mod</td></tr></if></if>
<if condition="$show['admincplink']"><tr><td class="vbmenu_option"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a></td></tr></if>
<if condition="$show['modcplink']"><tr><td class="vbmenu_option"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a></td></tr></if>
<!--Admin & Mod CP Quick Links End-->
http://img87.imageshack.us/img87/4480/shotft3.gif
;)

thpoul
05 Dec 2006, 14:26
Perfect!!! Thank you :) I'll add it to the code now!

Genjuro-Sensei
05 Dec 2006, 14:45
Perfect!!! Thank you :) I'll add it to the code now!
You're welcome :)

Alibi
07 Aug 2007, 16:18
thanks! nice mod

BigDog56
08 Aug 2007, 11:06
Got it working, just tried it, worked as advertised! Thank you.