View Full Version : Mini Mods - Admin & Mod CP in header
Cableguy69
12-16-2009, 10:00 PM
https://vborg.vbsupport.ru/ (http://www.hostmypics.org)
This is really simple.
Go to your Header Template and find.
<li><a href="login.php?{vb:raw session.sessionurl}do=logout&logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">{vb:rawphrase log_out}</a></li>
Add this below.
<vb:if condition="$show['admincplink']"><li><a href="admincp/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase admin}</a></li></vb:if>
<vb:if condition="$show['modcplink']"><li><a href="modcp/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase mod}</a></li></vb:if>
Make sure the code you enter stays before this tag.
</ul>
Note: If you have changed the name of your Admin & Mod CP you will need to modify the link accordingly.
VonDoom
12-18-2009, 10:06 AM
Thanks alot, ive been waiting on this one from day one of beta 3.
Dr.osamA
12-18-2009, 07:54 PM
thanx
installed
________
Oxygen Vaporizer (http://oxygenvaporizer.com)
zonaenlinea
12-18-2009, 07:58 PM
thanx
installed
prefec...
Cableguy69
12-18-2009, 08:01 PM
Your very welcome.
elwachiman
12-18-2009, 08:18 PM
easy to install tkns good mod
Cableguy69
12-18-2009, 08:36 PM
Cheers please click install if you use this mod :up:
123 views and only 8 installs lmao...
GeorgeB85
12-18-2009, 10:28 PM
Nice Mod.
Red Spider
12-19-2009, 02:09 PM
cheers
Vaupell
12-19-2009, 02:13 PM
Thumbs up, rated 5...
remember to make a note, when users name their admincp something else they should
change the link url to match, im sure someone is going to ask eventually. :D
odln018
12-19-2009, 04:33 PM
Thanks, tagged for gold.
saqibnpt
12-20-2009, 08:03 AM
thanks installed
SİMAR
12-21-2009, 04:53 PM
thanks man nice
speedracer68
01-02-2010, 10:17 PM
Thanks! Marked installed
Charlie98902
01-13-2010, 10:19 AM
Fix this for 4.0.1 as the template was changed and the location isn't the same please.
philr
01-14-2010, 08:43 AM
Very good mod, Marked installed
Ashahalasin
01-14-2010, 11:28 AM
Has this been fixed for 4.0.1?
Charlie98902
01-14-2010, 03:05 PM
Has this been fixed for 4.0.1?
Nope it works on 4.0.1 but when I updated vbulletin it looked like this:
Welcome, Admin Mod Notifications Settings My Profile Log Out Charlie
Where before this said
Welcome, Charlie Notifications Settings My Profile Log Out Admin Mod
Vaupell
01-14-2010, 03:19 PM
ahmmm works fine just put it in as instructed, i did on 4.0.1 and its fine..
come on, its just 2 links with a if statement, if the placement is moved, then lookaround
and move it to fit.. :p
try searching for )">{vb:rawphrase log_out}</a></
cause they would never remove the log_out phrase :D
Charlie98902
01-14-2010, 04:48 PM
Yes I just placed it before the logout code and that put it back to the far right as the pic shows how.
albrens
01-15-2010, 06:15 AM
really easy ;)
Thanks a lot.
TheTradersArena
01-16-2010, 02:48 AM
Installed......thanks!
The_Rascal
01-19-2010, 09:52 AM
Thank you very much - just what we needed :)
Michael1337
01-20-2010, 10:21 AM
Great Mod!
Takes the slightest of work to get this fixed.
Thanks ;)
black_bullitt
01-26-2010, 12:46 AM
Installed, many thanks!
pantani
02-21-2010, 10:21 PM
Nice one and is good thinking, thanks, instaled
GrossKopf
02-21-2010, 11:12 PM
Cool. It'll make accessing that a little faster. :)
COL NIL SATIS
04-01-2010, 02:02 PM
installed...nice work
Macgiber
04-02-2010, 01:48 AM
Thanks
GeorgeB85
06-23-2010, 11:39 PM
Is there any way to make this permanent on the forums? Every time I upgrade the software, this mod keeps getting deleted?
mishb68
09-29-2010, 02:03 AM
Thanks :)
Krusty1231
09-29-2010, 09:03 AM
Thanks for this.
InsomniacP
10-03-2010, 10:52 AM
great add cheers!
Qrius
10-03-2010, 02:49 PM
Thanks , works for me as well (v4.06)
Madita
10-23-2012, 07:27 PM
Will this work with 4.2 ?
VonDoom
04-19-2013, 08:36 PM
Will this work with 4.2 ?
Like a Champ!
Streetgliderx
04-26-2013, 11:34 PM
thanks!!
oldfan
04-16-2023, 02:59 AM
works great on 4.2.6 php 7.2
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.