The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[HOW TO - vB4] How to Add Drop Down Navigation Items to the Navbar
Some people really like the drop down navigation that is found in the Vbulletin 3.0 series, or are looking to add additional drop down navigation to the navbar in Vbulletin 4.0. This plugin and new template will allow you to do that. First, is to goto the Plugins and Products section, this section is in the left hand column of the admin panel near the bottom. In that section you will need to click the option to "Add New Plugin". Note that the red text from both the plugin and template must be the same. You can name it whatever you want, but they must match. For the new plugin you will enter the following details. Hook Location: process_templates_completeFor step two. You need to make the template that will be used in the navbar. Simply goto the style manager and in choose "Add New Template" from the options. From there, you just need to enter the following. Title: dropdown |
#52
|
|||
|
|||
Quote:
|
#53
|
|||
|
|||
thanks
|
#54
|
||||||
|
||||||
THIS is Eric's Original Objective & Problem:
Quote:
Quote:
Finally, this approach PARTIALLY works: Quote:
Am I doing something wrong or does ANYONE have a solution to this? --------------- Added [DATE]1284366171[/DATE] at [TIME]1284366171[/TIME] --------------- Quote:
Anyone? --------------- Added [DATE]1284366378[/DATE] at [TIME]1284366378[/TIME] --------------- Quote:
Anyone? --------------- Added [DATE]1284366699[/DATE] at [TIME]1284366699[/TIME] --------------- Quote:
This mod would be tremendously useful if we could get these minor issues addressed. Thanks for the mod and for any help! Jeff --------------- Added [DATE]1284404633[/DATE] at [TIME]1284404633[/TIME] --------------- I've started a new thread HERE for anyone who wants to follow or participate in the development of the modifications above. |
#55
|
|||
|
|||
For my drop down box how do I get the hover color to be the same as the normal tabs?
See here... http://biblocality.com/forums/forum.php |
#56
|
|||
|
|||
Anyone figure out how to get the hover color to change at the same time keeping the arrow and getting the arrow to change color as well?
See what the problem is here... http://biblocality.com/forums/forum.php |
#57
|
|||
|
|||
As a result of changing colors in style variables, my drop down boxes span the whole screen. Something went haywire with this plugin.
Actually I don't know this is the cause. All I know is that the drop down boxes span the whole screen in IE and the username is bolden and larger when using IE, but with Firefox it is still the same. This just happened when I was playing with the style variable settings. |
#58
|
|||
|
|||
Can someone please help me find out what i need to do to get this to appear at the beginning of the navbar before the home/forum tabs.
|
#59
|
||||
|
||||
You need to look at the navbar template and pick a template_hook that is at the beginning of the navtab bar - the example in the first post used the template_hook at the end of the navtab bar. You may also need to change the execution order for the plugin if you have two plugins trying to use the same template_hook.
|
#60
|
|||
|
|||
Quote:
|
#61
|
|||
|
|||
Is there a way to control the execution order from outside the plugin? I have the following setting in my product script:
<setting varname="showroster_navbar_order" displayorder="20"> <datatype>posint</datatype> <validationcode><![CDATA[return ($data >= 1);]]></validationcode> <defaultvalue>5</defaultvalue> </setting> I cannot find anything that would allow me to adjust the order like the location (navtab_start, navtab_middle, and navtab_end). Those work fine, it is the ordering I cannot get to work. Any ideas? Edited: Sorry, this probably is not the correct place to ask. I've asked the question in a coder's forum instead. Thank you. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|