Version: 1.02, by attroll
Developer Last Online: Mar 2023
Category: Miscellaneous Hacks -
Version: 3.7.5
Rating:
Released: 12-25-2007
Last Update: 06-29-2008
Installs: 306
Uses Plugins Template Edits
No support by the author.
After upgrading and supporting my 3.0.0 and 3.5.3 version of this hack, I have decided it was time to step into the plugin world to make this easier for people to use.
Despite what category this is in it works with vBulletin 3.0 up to the most recent version of 3.8.
What this does is create another navbar with drop down menus by typing $navbar2 in any of your templates. It is just like the navbar that comes with VB.
I put a lot of description tags in the navbar2 template that gets installed to help explain what everything does. Once you understand what is going on here you can removed these. With very little modifications you can add to, remove or move items around in this additional navbar.
Upgrade
To upgrade you will want to reimport this XML file and edit your options accordingly.
1.02
Tweak it a bit to get the border on the top of the navbar. There was not boarder on the top of the navbar in the previous version. It was not really noticeable unless you have the navbar directly below the header area.
1.01
removed the plugin with the Hook "parse_templates" because it was not need.
Added plugin with the Hook ?global_start?, this will work with, PhotoPlog, vBAdvanced, Arcade. This will alleviate having to manually add code in the php files as was required in the past.
1.00
Initial release.
To install the this
1. Download the zipped file.
2. Unzip the file.
3. Import the product-navbar2.xml into your Plugins & Products? Manage Plugins.
4. Next you will have to decide where you want the navbar2 to be displayed. I have included a few options below.
5A. Under current (original) Navigation bar:
Find:
Code:
<!-- / breadcrumb, login, pm info -->
Below that place:
Code:
$navbar2
5B. On top of forums tables:
Find:
Code:
<!-- / PAGENAV POPUP -->
</if>
Below that place:
Code:
$navbar2
5C. Top of current navbar:
Find:
Code:
<br />
<!-- breadcrumb, login, pm info -->
Above that add:
Code:
$navbar2
5D. Under your header:
Find:
Code:
<br />
<!-- breadcrumb, login, pm info -->
Below that add:
Code:
$navbar2
5E. Under VB navbar:
Find:
Code:
<!-- / nav buttons bar -->
Below that add:
Code:
$navbar2
Note:
This should now work with vBAdvance CMPS, Arcade, PhotoPlog with no other modifications. Many thanks to Mike-D for his help with this.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Could someone please help me with this? I am tring to get it so that this navbar only shows to usergroup Id 12 but can't seem to get the right code I have tried things like
<if condition="!$show['userid']=12">
But cant get it to work. Can someone tell me the right way?
I'm not great at the coding and all. But shouldn't it be usergroupid and not userid.
Yes you are right cheers but still not working using <if condition="!$show['usergroupid']=12">
!!!!! thankyou Preech for making me look at my code again. As you can see above for some reason I managed to put a ! before $show and this was messing it up. Now sorted using <if condition="$show['usergroupid']=12">
Im really hoping someone can help as im really stuck!
The 2nd navbar works fine, until you log out and then is vanishes!
I have no idea whats causing this! It was fine on the forum, arcade and portal when logged in, but its no-where to be seen once you log out.
It worked fine on my test site, so im at a loss as to whats casuing this!
My guess is that if it worked fine on you test site that it must be a mod or hack you have installed in your live site. The first thing i would do is try disabling all your plugins and see if you still have the problem.