vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=214396

Mod Dropdown Menu in the Navbar
by Sofia
23 May 2009 22:45

1 Attachment(s)
This mod allows you to add in the navbar a dropdown menu with modcp links.
This menu is (of course) only available for admins and moderators
It appears only for moderators who have mod link in the footer.


http://www.vbulletin.org/forum/vborg...hreadid=214396





Installation

In the template navbar (or header if you've a customized style with navbar in the header template)


Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add above:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



In the template Navbar (or Header),


Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add below:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Please click INSTALL if you like this mod.

Enjoy ! :)

DobieGillis© 23 May 2009 23:00

Sofia, you are quickly becoming my favorite coder/designer!

lm3a.net 24 May 2009 05:51

thank you,

Sofia 24 May 2009 10:00

Quote:

Originally Posted by DobieGillis© (Post 1815956)
Sofia, you are quickly becoming my favorite coder/designer!

Thank you, DobieGillis :p

carubmun 11 Jun 2009 00:15

What about for moderators who dont show in the footer?
Most of my moderators dont show up in the footer at all, but that may be a completely different issue that i have yet to figure out.

sheppardzwc 13 Jun 2009 18:11

Quote:

Originally Posted by carubmun (Post 1827315)
What about for moderators who dont show in the footer?
Most of my moderators dont show up in the footer at all, but that may be a completely different issue that i have yet to figure out.

You could always use can_moderate() but the menu would still need them to have access to the ModCP, given the reason Sofia used the other variable.

4nawadir.com 13 Jun 2009 19:54

Great, Thanks
Installed

s-p0k 25 Jun 2009 17:46

ty
Installed

mabersoft 28 Jun 2009 10:29

Can i use this on a style i will be making and giving away for free?

Sofia 28 Jun 2009 11:02

Quote:

Originally Posted by mabersoft (Post 1838749)
Can i use this on a style i will be making and giving away for free?

Hi Mabersoft. Sure, you can ;)

mabersoft 28 Jun 2009 11:06

Thanks a lot :).

New Joe 29 Jun 2009 05:56

How to add other links from the Admin Panel into the drop down?

Sofia 30 Jun 2009 10:43

Quote:

Originally Posted by New Joe (Post 1839323)
How to add other links from the Admin Panel into the drop down?

Just add

Quote:

<tr>
<td class="vbmenu_option"><a href="$modcpdir/your_link">your_phrase</a></td>
</tr>

Robert Waanders 07 Oct 2009 14:09

wunderfull! thx!

93Corvette 14 Nov 2009 07:09

Just wanted to add this for the Newbies like me that have a hard time locating which file to edit....

Template Edit:
Styles and Templates > Style Manager > Your Style > Edit Templates > Navagation / Breadcrumb Templates > Navbar


All times are GMT. The time now is 22:30.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.