![]() |
Admin Cp Links in Navbar
Admin Cp Links in your navbar
What does this do? This Mod adds a small javascript drop-down menu into your navbar which contains links to useful pages in your admin panel. This part of your navbar can only be seen by members of the admin usergroup as it uses a conditional. How do I install this? Follow the template changes which are shown in the file below. Support is given to those who click install! |
1. why you are using /forums/ ? and 2.
change ="admincp to $admincpdir because not everybody is using the standarddir |
Heh, this is only my second hack and I'm still learning, I'll fix it now ;)
v 1.0.0 - Initial Release v 1.0.1 - Changed /forums/admincp to $admincpdir v 1.0.2 - Added a missing <if> statement |
i just want to help^^
so 1. if you are in forumpath the link would be: www.yoursite.com/forums/forums/admincp thats false 2. as i said, the admindirectory must not be the standardadress |
how you make it that it to only see is by the admin usergroup in the navbar !!
|
with this if condition:
Code:
<if condition="$show['admincplink']">see just admins </if> |
Any feedback on this Mod? :)
|
Quote:
where I must place this code :) |
Oops, I missed out the if statement on the code, look in the first step, a slight code change
|
also around
Code:
<div class="vbmenu_popup" id="3_menu" style="display:none">....</div> |
Oke thanks he works well now :up:
|
So, any feedback or comments at all then? I wanna improve it somehow (:
25 downloads, 5 installs aswell.. |
Good mod, one error in the pulldown. The admincp php file for styles and templates is template.php and not templates.php. Great idea.
|
Ah sorry, just a slight typo ;)
Re-uploaded the files with that small change.. |
is it possible to do this for the ModCP aswell?
|
Quote:
Quote:
You will notice that I put Code:
<if condition="$vbulletin->userinfo['userid'] == 1"> Code:
</if> Here is a screenshot: http://img523.imageshack.us/img523/7879/errorvg3.jpg Some of the links, such as "VBulletin Options" and "Show All Settings" are similar, but the "Show All Settings" displays all of the settings saving you a click. Feel free to use any of my additions you want for your next release, or if you don't like what I have added, no big deal, just thought I would share. |
Quote:
|
Quote:
Code:
<tr> (But I guess 99% of you know that already...) |
Quote:
|
Quote:
|
Quote:
I'll do that Mod navbar now ;) |
i know this is an old one...but can some1 help me with this i can't find the code to put in the new ones?
PHP Code:
|
All times are GMT. The time now is 10:35 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:
|