vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Administrative and Maintenance Tools - SubNav Bar Admin and Mod tools (https://vborg.vbsupport.ru/showthread.php?t=273330)

iDHKHCM 11-03-2011 11:00 PM

SubNav Bar Admin and Mod tools
 
1 Attachment(s)
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:

HTML Code:

<vb:if condition="$show['searchbuttons']">
                                                <vb:if condition="$show['member']">


Under that add
HTML Code:

<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....
HTML Code:

<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

Quote:

Originally Posted by HMBeaty (Post 2264287)
Suggestion: Instead of the code you're using above with the hardcoded url's, use this....
HTML Code:

<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

Quote:

Originally Posted by iDHKHCM (Post 2264288)
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.
Code:

<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

Quote:

Originally Posted by thedarkroom (Post 2264405)
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/forum...duct/19-btech/

thedarkroom 11-04-2011 06:06 PM

Quote:

Originally Posted by iDHKHCM (Post 2264475)

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

Quote:

Originally Posted by dyna88 (Post 2264536)
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

HTML Code:

<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

Quote:

Originally Posted by dyna88 (Post 2264564)
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:

Code:

<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

J-P 02-15-2012 05:30 PM

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

Quote:

Originally Posted by Kraxell (Post 2301323)
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:

HTML Code:

<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

Quote:

Originally Posted by Kraxell (Post 2302257)
You can hardcode the links like:

HTML Code:

<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

HTML Code:

<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

Quote:

Originally Posted by initiald (Post 2363014)
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

Quote:

Originally Posted by initiald (Post 2363266)
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
Code:

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

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



All times are GMT. The time now is 05:03 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.01491 seconds
  • Memory Usage 1,907KB
  • 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
  • (4)bbcode_code_printable
  • (8)bbcode_html_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (33)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