View Full Version : Administrative and Maintenance Tools - SubNav Bar Admin and Mod tools
iDHKHCM
11-03-2011, 11:00 PM
This is a simple template edit for a quick and easy Admin and Mod tools (screenshots on bottom)
how to install:
in the navbar template
find:
<vb:if condition="$show['searchbuttons']">
<vb:if condition="$show['member']">
Under that add
<vb:if condition="is_member_of($bbuserinfo, 6)">
<li class="popupmenu">
<a href="javascript://" class="popupctrl"><font color="red">Admin Tools</font></a>
<ul class="popupbody popuphover">
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/index.php">Admin CP</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/options.php?null=0">vBulletin Options</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/template.php?do=modify">Styles Manager</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/usergroup.php?do=modify">Usergroup Manager</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/forum.php?do=modify">Forum Manager</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/user.php?do=modify">Search for User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/usertools.php?do=doips">Search for/by IP</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/banning.php?do=banuser">Ban User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/ban_log.php">Banned Members Log</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/options.php?do=options&dogroup=banning">IP Ban User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/announcement.php?do=add">Add Announcement</a></li>
</ul>
</li>
</vb:if>
<vb:if condition="is_member_of($bbuserinfo, 5,6)">
<li class="popupmenu">
<a href="javascript://" class="popupctrl"><font color="red">Mod Tools</font></a>
<ul class="popupbody popuphover">
<li class="selected"><a href="http://YOUR SITE.com/YOUR MOD DIRECTORY/index.php">Mod CP</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR MOD DIRECTORY/banning.php?do=banuser">Ban User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR MOD DIRECTORY/banning.php?do=modify">Banned Members Log</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR MOD DIRECTORY/user.php?do=doips">Search for/by IP</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR MOD DIRECTORY/user.php?do=find">Search for User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR MOD DIRECTORY/announcement.php?do=add">Add Announcement</a></li>
</ul>
</li>
</vb:if>
springchiken
11-04-2011, 05:01 AM
Thx 4 mod
Erica1977
11-04-2011, 05:30 AM
Very Nice MOD Thanks.
HMBeaty
11-04-2011, 05:33 AM
Suggestion: Instead of the code you're using above with the hardcoded url's, use this....
<vb:if condition="is_member_of($bbuserinfo, 6)">
<li class="popupmenu">
<a href="javascript://" class="popupctrl"><font color="red">Admin Tools</font></a>
<ul class="popupbody popuphover">
<li class="selected"><a href="{vb:raw admincpdir}/index.php">Admin CP</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/options.php?null=0">vBulletin Options</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/template.php?do=modify">Styles Manager</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/usergroup.php?do=modify">Usergroup Manager</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/forum.php?do=modify">Forum Manager</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/user.php?do=modify">Search for User</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/usertools.php?do=doips">Search for/by IP</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/banning.php?do=banuser">Ban User</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/ban_log.php">Banned Members Log</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/options.php?do=options&dogroup=banning">IP Ban User</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/announcement.php?do=add">Add Announcement</a></li>
</ul>
</li>
</vb:if>
<vb:if condition="is_member_of($bbuserinfo, 5,6)">
<li class="popupmenu">
<a href="javascript://" class="popupctrl"><font color="red">Mod Tools</font></a>
<ul class="popupbody popuphover">
<li class="selected"><a href="{vb:raw modcpdir}/index.php">Mod CP</a></li>
<li class="selected"><a href="{vb:raw modcpdir}/banning.php?do=banuser">Ban User</a></li>
<li class="selected"><a href="{vb:raw modcpdir}/banning.php?do=modify">Banned Members Log</a></li>
<li class="selected"><a href="{vb:raw modcpdir}/user.php?do=doips">Search for/by IP</a></li>
<li class="selected"><a href="{vb:raw modcpdir}/user.php?do=find">Search for User</a></li>
<li class="selected"><a href="{vb:raw modcpdir}/announcement.php?do=add">Add Announcement</a></li>
</ul>
</li>
</vb:if>
iDHKHCM
11-04-2011, 05:35 AM
Suggestion: Instead of the code you're using above with the hardcoded url's, use this....
<vb:if condition="is_member_of($bbuserinfo, 6)">
<li class="popupmenu">
<a href="javascript://" class="popupctrl"><font color="red">Admin Tools</font></a>
<ul class="popupbody popuphover">
<li class="selected"><a href="{vb:raw admincpdir}/index.php">Admin CP</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/options.php?null=0">vBulletin Options</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/template.php?do=modify">Styles Manager</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/usergroup.php?do=modify">Usergroup Manager</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/forum.php?do=modify">Forum Manager</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/user.php?do=modify">Search for User</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/usertools.php?do=doips">Search for/by IP</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/banning.php?do=banuser">Ban User</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/ban_log.php">Banned Members Log</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/options.php?do=options&dogroup=banning">IP Ban User</a></li>
<li class="selected"><a href="{vb:raw admincpdir}/announcement.php?do=add">Add Announcement</a></li>
</ul>
</li>
</vb:if>
<vb:if condition="is_member_of($bbuserinfo, 5,6)">
<li class="popupmenu">
<a href="javascript://" class="popupctrl"><font color="red">Mod Tools</font></a>
<ul class="popupbody popuphover">
<li class="selected"><a href="{vb:raw modcpdir}/index.php">Mod CP</a></li>
<li class="selected"><a href="{vb:raw modcpdir}/banning.php?do=banuser">Ban User</a></li>
<li class="selected"><a href="{vb:raw modcpdir}/banning.php?do=modify">Banned Members Log</a></li>
<li class="selected"><a href="{vb:raw modcpdir}/user.php?do=doips">Search for/by IP</a></li>
<li class="selected"><a href="{vb:raw modcpdir}/user.php?do=find">Search for User</a></li>
<li class="selected"><a href="{vb:raw modcpdir}/announcement.php?do=add">Add Announcement</a></li>
</ul>
</li>
</vb:if>
that dosnt work if you changed the directory of your admin and mod cp
HMBeaty
11-04-2011, 05:42 AM
that dosnt work if you changed the directory of your admin and mod cp
It should since both values are pulled from what has been entered into includes/config.php, providing the values entered are correct
Erica1977
11-04-2011, 06:46 AM
Just thought i say theses 2 lines for the admin part should look like this in the red part if not it wont work all the other lines in your mod needs forums as well or it will not work.
<li class="selected"><a href="{vb:raw admincpdir}forums/modcp/banning.php?do=banuser">Ban User</a></li>
<li class="selected"><a href="{vb:raw admincpdir}forums/modcp/banning.php?do=modify">Banned Members Log</a></li>
Dr.osamA
11-04-2011, 09:25 AM
installed + translater to Arabic
thank you
thedarkroom
11-04-2011, 03:01 PM
i will install this as soon i get home, btw, what skin is the one from the pictures?
iDHKHCM
11-04-2011, 06:05 PM
i will install this as soon i get home, btw, what skin is the one from the pictures?
bluepearl btech
http://www.bluepearl-skins.com/forums/store/product/19-btech/
thedarkroom
11-04-2011, 06:06 PM
bluepearl btech
http://www.bluepearl-skins.com/forums/store/product/19-btech/
thank you :)
dyna88
11-04-2011, 08:48 PM
Will {vb:raw admincpdir} and {vb:raw modcpdir} work in a template other then the footer template without a plugin?
iDHKHCM
11-04-2011, 09:16 PM
Will {vb:raw admincpdir} and {vb:raw modcpdir} work in a template other then the footer template without a plugin?
you could replace {vb:raw admincpdir} and {vb:raw modcpdir}
with
http://YOUR SITE.com/ADMIN OR MOD DIRECTORY/index.php
so would be
<vb:if condition="is_member_of($bbuserinfo, 6)">
<li class="popupmenu">
<a href="javascript://" class="popupctrl"><font color="red">Admin Tools</font></a>
<ul class="popupbody popuphover">
<li class="selected"><a href="http://YOUR SITE.com/ADMIN DIRECTORY/index.php">Admin CP</a></li>
<li class="selected"><a href="http://YOUR SITE.com/ADMIN DIRECTORY/options.php?null=0">vBulletin Options</a></li>
<li class="selected"><a href="http://YOUR SITE.com/ADMIN DIRECTORY/template.php?do=modify">Styles Manager</a></li>
<li class="selected"><a href="http://YOUR SITE.com/ADMIN DIRECTORY/usergroup.php?do=modify">Usergroup Manager</a></li>
<li class="selected"><a href="http://YOUR SITE.com/ADMIN DIRECTORY/forum.php?do=modify">Forum Manager</a></li>
<li class="selected"><a href="http://YOUR SITE.com/ADMIN DIRECTORY/user.php?do=modify">Search for User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/ADMIN DIRECTORY/usertools.php?do=doips">Search for/by IP</a></li>
<li class="selected"><a href="http://YOUR SITE.com/ADMIN DIRECTORY/banning.php?do=banuser">Ban User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/ADMIN DIRECTORY/ban_log.php">Banned Members Log</a></li>
<li class="selected"><a href="http://YOUR SITE.com/ADMIN DIRECTORY/options.php?do=options&dogroup=banning">IP Ban User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/ADMIN DIRECTORY/announcement.php?do=add">Add Announcement</a></li>
</ul>
</li>
</vb:if>
<vb:if condition="is_member_of($bbuserinfo, 5,6)">
<li class="popupmenu">
<a href="javascript://" class="popupctrl"><font color="red">Mod Tools</font></a>
<ul class="popupbody popuphover">
<li class="selected"><a href="http://YOUR SITE.com/MOD DIRECTORY/index.php">Mod CP</a></li>
<li class="selected"><a href="http://YOUR SITE.com/MOD DIRECTORY/banning.php?do=banuser">Ban User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/MOD DIRECTORY/banning.php?do=modify">Banned Members Log</a></li>
<li class="selected"><a href="http://YOUR SITE.com/MOD DIRECTORY/user.php?do=doips">Search for/by IP</a></li>
<li class="selected"><a href="http://YOUR SITE.com/MOD DIRECTORY/user.php?do=find">Search for User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/MOD DIRECTORY/announcement.php?do=add">Add Announcement</a></li>
</ul>
</li>
</vb:if>
dyna88
11-04-2011, 10:09 PM
Yeah I did that...
iDHKHCM
11-04-2011, 10:20 PM
Yeah I did that...
it should work
dvL-den
11-05-2011, 01:32 AM
Working... and added a few more links of my own...
Best way to make this work is to copy the code above, paste to notepad for editing and replace each thing with your forum url directory...
I did this by logging into my admin panel and right clicking to seethe url of each thing i want to use...
Then I edited the code with each url for each thing I wanted to use, then when I was satisfied I pasted the code in the style/navbar template under:
<vb:if condition="$show['member']">
Works perfect! you just need to have the correct links for the things you want linked on your forum...
So basically the above is a great example....
Hakan39
11-05-2011, 07:13 AM
Thank you
ReFuZe
11-06-2011, 04:07 PM
Serouislyt man why would you release this after i gave it to you
GE-Tom
11-25-2011, 08:01 AM
It works fine for me but i try too add this not as a subcategory of the Forum-Menu. I now try too add this as a subcategory from my Home / Start Menubutton. Can some of you help me PLZ?
AK Houston
12-03-2011, 02:25 AM
thank you tons! it improved my moderation
super cool!! worked right from the get go.
Thank you very much.
TheChief
02-15-2012, 08:57 PM
Installed..............nice mod
twolegit
02-17-2012, 02:35 AM
does anyone have a space between every selection? makes the list 2 times as long
other then that great mod
Toorak Times
02-19-2012, 01:56 PM
Does this work in 4.19? buttons appear in forum button I get 404 error
Kraxell
02-19-2012, 08:08 PM
I'll test it. If there any problems i will contact the author and ask that if i can fix and modify the code.
Toorak Times
02-19-2012, 11:30 PM
I'll test it. If there any problems i will contact the author and ask that if i can fix and modify the code.
I'm going to 4.11 as soon as it is released so it probs doesn't matter for me, just can't use it atm
Kraxell
02-22-2012, 11:09 AM
You can hardcode the links like:
<li class="selected"><a href="admincp/index.php">Admin CP</a></li>
And that for all links.
teknisi
02-23-2012, 12:48 AM
testing....
iDHKHCM
02-23-2012, 02:12 AM
You can hardcode the links like:
<li class="selected"><a href="admincp/index.php">Admin CP</a></li>
And that for all links.
that wont work for everyone
i went back to the old basic way and its working fine on 4.1.11
<vb:if condition="is_member_of($bbuserinfo, 6)">
<li class="popupmenu">
<a href="javascript://" class="popupctrl"><font color="red">Admin Tools</font></a>
<ul class="popupbody popuphover">
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/index.php">Admin CP</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/options.php?null=0">vBulletin Options</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/template.php?do=modify">Styles Manager</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/usergroup.php?do=modify">Usergroup Manager</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/forum.php?do=modify">Forum Manager</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/user.php?do=modify">Search for User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/usertools.php?do=doips">Search for/by IP</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/banning.php?do=banuser">Ban User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/ban_log.php">Banned Members Log</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/options.php?do=options&dogroup=banning">IP Ban User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR ADMIN DIRECTORY/announcement.php?do=add">Add Announcement</a></li>
</ul>
</li>
</vb:if>
<vb:if condition="is_member_of($bbuserinfo, 5,6)">
<li class="popupmenu">
<a href="javascript://" class="popupctrl"><font color="red">Mod Tools</font></a>
<ul class="popupbody popuphover">
<li class="selected"><a href="http://YOUR SITE.com/YOUR MOD DIRECTORY/index.php">Mod CP</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR MOD DIRECTORY/banning.php?do=banuser">Ban User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR MOD DIRECTORY/banning.php?do=modify">Banned Members Log</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR MOD DIRECTORY/user.php?do=doips">Search for/by IP</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR MOD DIRECTORY/user.php?do=find">Search for User</a></li>
<li class="selected"><a href="http://YOUR SITE.com/YOUR MOD DIRECTORY/announcement.php?do=add">Add Announcement</a></li>
</ul>
</li>
</vb:if>
initiald
09-06-2012, 07:22 AM
Can you update for vbulletin 4.2?
DeadlyDuckling
09-06-2012, 05:40 PM
Can you update for vbulletin 4.2?
it still works on 4.2, im idhkhcm btw just have a new acc
screenshots:
http://puu.sh/12BMT
http://puu.sh/12BOd
initiald
09-07-2012, 03:16 AM
My navbar in 4.2 doesn't have this code?
<vb:if condition="$show['searchbuttons']">
<vb:if condition="$show['member']">
DeadlyDuckling
09-07-2012, 04:59 AM
My navbar in 4.2 doesn't have this code?
<vb:if condition="$show['searchbuttons']">
<vb:if condition="$show['member']">
oh i see what you mean....im not on a default skin
but the best i can get right now jus playing with it is this
SCREENSHOT: http://puu.sh/12LW1
go to navbar template search
<div id="breadcrumb" class="breadcrumb">
<ul class="floatcontainer">
right under put this (change whats in red to the usergroups you want to see this change whats in blue to your directory)
<table><tr><td>
<vb:if condition="is_member_of($bbuserinfo, 6)">
<li class="popupmenu">
<a href="javascript://" class="popupctrl"><font color="red">Admin Tools</font></a>
<ul class="popupbody popuphover">
<li class="selected"><a href="http://yoursite.net/admincp/index.php">Admin CP</a></li>
<li class="selected"><a href="http://yoursite.net/admincp/options.php?null=0">vBulletin Options</a></li>
<li class="selected"><a href="http://yoursite.net/admincp/template.php?do=modify">Styles Manager</a></li>
<li class="selected"><a href="http://yoursite.net/admincp/usergroup.php?do=modify">Usergroup Manager</a></li>
<li class="selected"><a href="http://yoursite.net/admincp/forum.php?do=modify">Forum Manager</a></li>
<li class="selected"><a href="http://yoursite.net/admincp/user.php?do=modify">Search for User</a></li>
<li class="selected"><a href="http://yoursite.net/admincp/usertools.php?do=doips">Search for/by IP</a></li>
<li class="selected"><a href="http://yoursite.net/admincp/banning.php?do=banuser">Ban User</a></li>
<li class="selected"><a href="http://yoursite.net/admincp/ban_log.php">Banned Members Log</a></li>
<li class="selected"><a href="http://yoursite.net/admincp/options.php?do=options&dogroup=banning">IP Ban User</a></li>
<li class="selected"><a href="http://yoursite.net/admincp/announcement.php?do=add">Add Announcement</a></li>
</ul>
</li>
</vb:if>
</td><td>
<vb:if condition="is_member_of($bbuserinfo, 5,6)">
<li class="popupmenu">
<a href="javascript://" class="popupctrl"><font color="red">Mod Tools</font></a>
<ul class="popupbody popuphover">
<li class="selected"><a href="http://yoursite.net/modcp/index.php">Mod CP</a></li>
<li class="selected"><a href="http://yoursite.net/modcp/banning.php?do=banuser">Ban User</a></li>
<li class="selected"><a href="http://yoursite.net/modcp/banning.php?do=modify">Banned Members Log</a></li>
<li class="selected"><a href="http://yoursite.net/modcp/user.php?do=doips">Search for/by IP</a></li>
<li class="selected"><a href="http://yoursite.net/modcp/user.php?do=find">Search for User</a></li>
<li class="selected"><a href="http://yoursite.net/modcp/announcement.php?do=add">Add Announcement</a></li>
</ul>
</li>
</vb:if>
</td></tr></table>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.