Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Admin and Mod Toolbar in Navbar Details »»
Admin and Mod Toolbar in Navbar
Version: 3, by nNJ nNJ is offline
Developer Last Online: Nov 2009 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.8.x Rating:
Released: 03-30-2009 Last Update: 11-11-2009 Installs: 99
Template Edits
Re-useable Code Translations  
No support by the author.

Description
(Please Note that Version 2.5 has been released!)
(Arabic Translation added! (Credits to Daniel_HBK!)

This is a template modification that will add an "Admin Toolbar" to the navbar if you are an administrator, and a "Mod Toolbar" to the navbar if you are a Mod/Super Mod.

Other usergroups Can Not! see these toolbars!

New! Administrators/Moderators only see links to tools they have permission to use!

Each Toolbar is a dropdown menu with shortcuts to the Admin/Mod panel, and frequently used tools within the Admin/Mod Panel.



By Default, these are the shortcut in each Toolbar:

Administrators

  • Admin Panel Home
  • Vbulletin Options
  • Style Manager
  • Usergroup Manager
  • Forum Manager
  • Infraction Manager
  • Search for User
  • Ban User
  • New Announcement


Moderators
  • Mod Panel Home
  • Search for User
  • Search for IP
  • Ban User
  • New Announcement


*Links can be customized [easily]! Please check the download for instructions.



Screenshots:





*Please note: In the screenshots above, the Administrator sees both the Admin and Moderator Panel. This glitch was fixed in v2.5, but I am unable to update the screenshots until I reopen my forum.

Tested and working perfetly in vBulletin 3.8.1, althought it should work in all versions of vBulletin newer than 3.5.

Please Click "Installed" if you have used this hack!

For Installation Instructions, Please Download and see the .txt

I welcome comments and feedback!

Download Now

File Type: txt Admin Mod Toolbars V3.txt (9.9 KB, 413 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 05-28-2009, 05:38 AM
Slaxi Slaxi is offline
 
Join Date: Aug 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nizzie View Post
Sorry but how do I add another group to view the admin toolbar? because I have an owners group and a admin group (owners is 6 and admins is 13)??

Thanks!
try this:

find in the navbar template:

Code:
<!-- ADMIN TOOLBAR -->

<if condition="$bbuserinfo[usergroupid] == 6">
<td id="3" class="vbmenu_control"><a href="#4">Admin Toolbar</a>
<script type="text/javascript"> vbmenu_register("3"); </script></td>
</if>
replace it with:

Code:
<!-- ADMIN TOOLBAR -->

<if condition="is_member_of($bbuserinfo, 6, 13">
<td id="3" class="vbmenu_control"><a href="#4">Admin Toolbar</a>
<script type="text/javascript"> vbmenu_register("3"); </script></td>
</if>
than search for:

Code:
<!-- ADMIN TOOLBAR -->

<if condition="$bbuserinfo[usergroupid] == 6">
<div class="vbmenu_popup" id="3_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Admin Toolbar</td>
replace it with:

Code:
<!-- ADMIN TOOLBAR -->

<if condition="is_member_of($bbuserinfo, 6, 13">
<div class="vbmenu_popup" id="3_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Admin Toolbar</td>
--------------------------------------------------------------------------------------------------------------------------

thanks for the mod, nNj.

I've translated the Install Guide to german.

Code:
| Admin and Mod Toolbars  V2.5  |
 --------------------------------
Installing (Upgrade Instructions below)

1. Im NAVBAR template folgendes suchen :
--------------------------------

	<if condition="$show['member']">
		<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
	</if>

------------------------------
folgendes drunter einf?gen:
------------------------------

<!-- ADMIN TOOLBAR -->

<if condition="$bbuserinfo[usergroupid] == 6">
<td id="3" class="vbmenu_control"><a href="#4">Admin Toolbar</a>
<script type="text/javascript"> vbmenu_register("3"); </script></td>
</if>

<!-- MOD TOOLBAR --> 

<if condition="in_array($bbuserinfo[usergroupid], array(5,7))">
<td id="4" class="vbmenu_control"><a href="#4">Mod Toolbar</a>
<script type="text/javascript"> vbmenu_register("4"); </script></td>
</if>



------------------------------

2. Danach im NAVBAR template folgendes suchen :
------------------------------

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

------------------------------
folgendes drunter einf?gen:
------------------------------

<!-- ADMIN TOOLBAR -->

<if condition="$bbuserinfo[usergroupid] == 6">
<div class="vbmenu_popup" id="3_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Admin Toolbar</td>
</tr> 
<tr>
<td class="vbmenu_option"><a href="$admincpdir/index.php">Admin Panel Startseite</a></td>
</tr> 
<tr>
<td class="vbmenu_option"><a href="$admincpdir/options.php?null=0">vBulletin Optionen</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/template.php?do=modify">Styles verwalten</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/usergroup.php?do=modify">Benutzergruppen verwalten</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/forum.php?do=modify">Foren verwalten</a></td> 
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/user.php?do=find">Alle Benutzer anzeigen</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/user.php?do=modify">Benutzer suchen</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$modcpdir/banning.php?do=banuser">Benutzer sperren</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/options.php?do=options&dogroup=banning">Benutzer ?ber IP sperren</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$admincpdir/announcement.php?do=add">Ank?ndigung hinzuf?gen</a></td>
</tr>
</table>
</div>
</if>

<!-- MOD TOOLBAR -->


<if condition="in_array($bbuserinfo[usergroupid], array(5,7))">
<div class="vbmenu_popup" id="4_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Mod Toolbar</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$modcpdir/index.php">Mod Panel Startseite</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$modcpdir/user.php?do=find">Benutzer suchen</a></td>
</tr> 
<tr>
<td class="vbmenu_option"><a href="$modcpdir/user.php?do=doips">IP suchen</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$modcpdir/banning.php?do=banuser">Benutzer sperren</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="$modcpdir/announcement.php?do=add">Ank?ndigung hinzuf?gen</a></td>
</tr>
</table>
</div>
</if>
Reply With Quote
  #43  
Old 05-28-2009, 06:01 PM
nNJ nNJ is offline
 
Join Date: Mar 2009
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the Translation Slaxi! I'll upload it and add your name to the co authors ^^.
Reply With Quote
  #44  
Old 05-28-2009, 06:15 PM
GeorgeB85 GeorgeB85 is offline
 
Join Date: Nov 2008
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The one suggestion I would like to make is make a link to where if you click on "ban user" for instance, there will be a link to click on to go back to the forums.
Reply With Quote
  #45  
Old 07-10-2009, 06:55 PM
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Location: USA
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Flawless! *Installed* Thanks..
Reply With Quote
  #46  
Old 07-19-2009, 06:10 AM
s-p0k's Avatar
s-p0k s-p0k is offline
 
Join Date: Jun 2009
Location: S1n C1ty
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have a prob with this one where to put it?
not seeing it
PHP Code:
<if condition="$show['member']">
    <
td class="alt2" nowrap="nowrap">
    <
div class="smallfont">
        <
strong><phrase 1="$bbuserinfo[username]2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
        <
phrase 1="$pmbox[lastvisitdate]2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

        <if 
condition="$show['notifications']">
            <
div><span id="notifications"><
Reply With Quote
  #47  
Old 07-20-2009, 01:48 AM
Strike-Force.ne Strike-Force.ne is offline
 
Join Date: Aug 2007
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 3.8.3

Nice feature for the Mods to access these tools faster.
Reply With Quote
  #48  
Old 07-20-2009, 05:58 PM
Mr_Devlin Mr_Devlin is offline
 
Join Date: Nov 2005
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've added this to the quick links menue as additional options below the miscellaneous options. Works fine, thank you.
Reply With Quote
  #49  
Old 08-20-2009, 12:56 AM
bluej bluej is offline
 
Join Date: Jan 2007
Location: U.S.A.
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod, thanks
Reply With Quote
  #50  
Old 08-20-2009, 11:09 AM
Sador's Avatar
Sador Sador is offline
 
Join Date: Mar 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, thank you. Looking forward for version 3.
Reply With Quote
  #51  
Old 08-20-2009, 03:36 PM
jkcerda jkcerda is offline
 
Join Date: Mar 2008
Posts: 425
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool, will try it
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05235 seconds
  • Memory Usage 2,351KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete