The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Additional navbar with dropdowns Details »» | |||||||||||||||||||||||||
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
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 --> Code:
$navbar2 Find: Code:
<!-- / PAGENAV POPUP --> </if> Code:
$navbar2 Find: Code:
<br /> <!-- breadcrumb, login, pm info --> Code:
$navbar2 Find: Code:
<br /> <!-- breadcrumb, login, pm info --> Code:
$navbar2 Find: Code:
<!-- / nav buttons bar --> Code:
$navbar2 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
|
Comments |
#2
|
||||
|
||||
Thanks !
|
#3
|
||||
|
||||
Quick Question.. Might be unrelated but where in the style do you find the options for the dropdown offsets? My dropdowns are about an inch to the left of the drop down navbar item?
|
#4
|
||||
|
||||
Quote:
Here is an example of a navbar2 with three links and how it works. If you only have three links, what it does is divide your navbar2 up into three somewhat event portions. Then when you click on a link that has a drop down menu, what it does is place your drop down menu in the start of that portion of the navbar2 where that link starts. I hope this makes a little sense. To try and better see what I mean go into you navbar2 template and look at the third line. You will see a line that looks like this: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> I tried finding a way around this and making it center to the portion of the navbar that the link is in but I could not figure it out. I believe it is in the javarscript that is doing that. |
#5
|
|||
|
|||
Thanks, I used to use your old one until I got my new skin, it didnt seem to like it however I will give this one a go again, and see if my skin likes it better now. Thanks
|
#6
|
|||
|
|||
I am completely new to vBulletin so I'm still getting used to how it all works compared to the other forums I have used. I have installed this but where do I go to actually insert the location of navbar2, is it put in a file or somewhere else? Thanks for all the help to this newbie
I got it figured out!! |
#7
|
|||
|
|||
I can't install the product, getting this vb message:
XML Error: XML_WAR_UNKNOWN_VERSION at Line 117 |
#8
|
|||
|
|||
Just wanted to say that its working great apart from in a few sections of my forum.
Im running ibProArcade and when you enter the arcade the navbar does not show. Im also using VbAdvance CMPS - Ive added the navbar2 into the global variables, however the drop down links dont show. Apart from that it works nicely |
#9
|
||||
|
||||
Quote:
Arcaded hack. You will need to go into your darcaded hack and edit a line. Here are the directions: Go to you arcade/functions/functions.php open it with a text editor: Find: Code:
global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox; global $forumjump, $timezone, $logincode, $_USEROPTIONS, $scriptpath, $admincpdir, $modcpdir, $quickchooserbits; Code:
global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox; global $forumjump, $timezone, $logincode, $_USEROPTIONS, $scriptpath, $admincpdir, $modcpdir, $quickchooserbits, $navbar2; |
#10
|
|||
|
|||
Thanks for the reply
The arcade alteration worked a wonder. Thank you Ive checked my CMPS setting and already had it set to yes.:erm: - Any other ideas at all? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|