![]() |
Admin and Mod Toolbar in Navbar
1 Attachment(s)
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
Moderators
*Links can be customized [easily]! Please check the download for instructions. Screenshots: https://vborg.vbsupport.ru/external/2009/03/2.jpg https://vborg.vbsupport.ru/external/2009/03/3.jpg *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! |
Version 2.5 Released!
Please see the Above Post and Instructions in the .txt (download above) for new features and bug fixes! Suggestions/Comments Welcome! nNJ |
The screenshot is um huge.
|
Sorry.. I noticed that.
It was a mistake on my fault. The first screenshot was taken on my 13 (15?) inch monitor, and the second was taken on my 22" monitor.. My bad. I'll take another screenshot on the 13 (15?) inch and reupload it to match. (Daul Monitors ftw). nNJ *edit New screenshot uploaded. Sorry about that. nNJ |
You don't check for adminpermissions.;)
A admin without userpermissions(create,edit,ect) will see the entry in the menu. (ok he can't do anything, but thats not nice), the same with announcements |
Ahhh, good point.
On a side note - why wouldn't an administrator have full userpermissions? |
There are many reasons...
Don't know if you know this feature^^ http://www.vbulletin.com/docs/html/u...up_admin_perms |
Alright, I see your point, and I appreciate the info.
How would I check their permissions? (Sorry - I'm learning as I'm going) |
installed :)
|
Great, Thanks. I hope you like it!
Next release I'd like to do two things : 1. Check Admin/Mod userpermissions 2. Display only the Admin Toolbar Rather than the Admin and Mod Toolbar to moderators. EDIT- I found a small typo in the Admin Panel Link (Ban User) I have corrected this, reupploaded the Mod, and sent out an update. I am very sorry any inconvenience this may have caused. |
Nice work, thank you! :up:
Installed |
This is a cool idea once the permissions thing gets worked out :)
|
Quote:
and never be depressed in Egypt their is a phrase says :- Mile's journey starts with a step :) |
VERSION 2.5 HAS BEEN RELEASED!
Please see the above Post and Instructions in the new .txt (Download Above)! Please Remember To Click MARK AS INSTALLED if you have used this hack. Comments and Suggestions Welcome! ------------------------------------------------------------ I'm stil working on a way to check permissions. So far I've come up with <if condition="$show['SOMETHING ']"> But I'm not exactly sure what I should Plug in for that something.. |
great - thanks for great hack
|
I would love to use this hack as its perfect but when searching for the code spacified I do not find it. Below is th ecode in my navbar template.
Quote:
|
Great Mod and Support. Thank you nNJ for your help. Sorry to be so impatient. LOL Just got to excited I guess. Thank again
|
I havent had a chance to do anything.. all day.
My webhost has been down, so I ahvent been able to test anything. Im switching hosts, so It should be ready tomorow. For the record, what version of vBulletin are you using? |
Im using 3.8.2
|
1 Attachment(s)
Arabic Version! :)
|
great idea...just dunno can't make it work without that dropdown arrow....also the mod not working also to my site....
any idea? thanks a lot... ;) |
edit: sorry not working
|
only if you don't know much PHP.
|
sorry
my code will not work in the frontend! |
Just FYI,
The installation text, forgets to tell you to put the usergroup numbers in the text that you want to have the toolbars visible to. |
Quote:
I didn't mean that you didn't know much PHP! I had meant that I don't know much, I'm still learning the language. I apologize if it seemed like I was insulting you, I really did not mean it that way. nNJ |
Quote:
I think it would be easy to change the usergroup that it's visiable, but I didn't think many people would change the default Usergroups. So, I left it visible to mod and supermod (usergroup id 5 and 7), and Admin (usergroup id 6). If you require any help changing the usergroups the toolbars are visible to, please let me know. |
Code:
<td class="vbmenu_option"><a href="$modcpdir/user.php?do=find">Mod Panel Home</a></td> should be Code:
<td class="vbmenu_option"><a href="$modcpdir/index.php">Mod Panel Home</a></td> |
Woops.
Thanks for pointing that out Parker Clack! I will fix that and re upload now. pesky little typos.... |
Quote:
I will upload that to the main release and add your name to the credits! |
Quote:
Please include:
|
I'm almost done with V3!
I've added a few more links, fixed a typo or two, added permission checks, and now I just need to test it. Testers are needed! I would very much appreciate if someone would help me test this hack. It makes my work so much easier if I don't have to test it myself. These hack is completely safe and reversible in under 2 minutes for anyone that may want to test but is worried about "messing up" their forums. Thanks, nNJ P.S. If you would like to help test, please PM me. If you are volunteering, you should know how to edit templates and know your way around the vBulletin Admin Panel, but you do not need to know PHP or any other programming language. |
V3 is finished, but untested. I will release a v3 beta in 24 hours if no one volunteers to test.
If someone volunteers to test, I will release v3 (non beta) with any bugs fixed during the testing process. Either way, this tim tomorow there will be an update |
very good work. thanks
|
Never mind :)
God bless you :) |
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! |
Where do I find the NAVBAR template in my Admin CP?
Sorry if its a stupid question but I like the Mod and never had to deal with code yet |
Click on Style Manager, find the style you want to file, click on the drop down to select edit templates, find Navigation/breadcrumb templates, and choose "navbar".
|
Is there a way to go directly to a specific setting in vBulletin Options?
e.g. vB Options | addon-name | addon settings page Instead of going to the list of all vB options to find the add on that the setting is to be changed for? |
yes, just go to that addon in the admin panel, copy down the link, and follow the instructions for adding a new link on the dropdown menu included with the install instructions :).
If you need help just let me know ^^. nNJ P.S. - If you need help, just let me know and I'll be glad to give ya a hand! |
All times are GMT. The time now is 10:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|