![]() |
Additional navbar with dropdowns
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 --> Code:
$navbar2 Find: Code:
<br /> Code:
$navbar2 Find: Code:
<br /> 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. |
Thanks !
|
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?
|
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. |
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 :)
|
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!! |
I can't install the product, getting this vb message:
XML Error: XML_WAR_UNKNOWN_VERSION at Line 117 |
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 :) |
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; Code:
global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox; |
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? |
Quote:
vBadvance CMPS using vB 3.5 or higher. To get this working with the homepage you will have to do the following. Go into your ADMINCP-->vBa CPMS-->Default Setting-->Portal Output Global Variables and add navbar2 in the block there and save it. |
Ah, I just upgraded one of my sites to VB 3.7 tonight and I just remembered I had the same problem with both the navbar and navbar2 navigation bars. I had to revert vBulletins template and then insert $navbar2 back into it and then it worked.
|
For some reason it keeps showing above my main navbar. I can't get it to appear below my main navbar.
|
Quote:
Code:
<!-- / nav buttons bar --> Code:
$navbar2 |
Do I put this in my navbar template?
If so I did that and it's appearing below my main navbar but then the advanced search box appears right underneath that. |
Quote:
I don't understand what you mean by the advanced search box appearing right under that. |
Here's what i mean:
https://vborg.vbsupport.ru/external/2008/01/26.jpg There's a space between the two navbars and then the search thing is below that. |
Quote:
|
Edited: I am an idiot and have fixed my issue. Thanks for this little hack. I've been trying to get my custom drop-downs working for over a week and this finally helped me accomplish that.
|
where can i edit the links ?
|
In the navbar2 template that is in you navbar templates.
|
Thanks a lot for this mod ur da man!
here is a tip! add this before all the codes in navbar2 template <if condition="!$show['guest']"> blah blah cod code code add this at the end of all the codes in navbar 2 template </if> what it does: displays the navbar to registered users only. |
I was cheking all the posts including the the thread for the last version and I couldn't see any screenshoots or any comments about how to set the new Navbar links and names.
Sorry if this may sound stupid, I'm just a newbie...I know...But your mod seems to be great, you've been done a great support in all of your threads, I just want to be sure I'll be able to do it, you know... Is this version compatible with 3.6.8 ? Or better to go for the last version ? Thank you. |
Yes this version will work with 3.6.8.
To change the template and add more links to this navbar you need to do that in your templates in admin for the template "navbar2". |
Quote:
Code:
<?xml version="3.7.0" encoding="ISO-8859-1"?> Code:
<?xml version="1.0" encoding="ISO-8859-1"?> |
Quote:
Easy to install and deal with the tamplate for navbar2. There's a lot of comments there to help newbies like me to deal with. Just perfect, MOTM for sure. Just one thing ? How about a third navbar ? |
Quote:
|
Quote:
Thanks. |
Quote:
|
attroll, see that ? That's what I'm talking about....lol....
Hey, don't forget me whem you publish this hack here. The nwebie here will be pretty glad for sure. |
Quote:
|
Quote:
If you are familiar with the Vbadvanced, do you know the navigation module. The original one is kinda ugly, useful but looks bad. With something like that I could use this column for this navigation module and also as a left column at the forum main page. It's just an idea but I have an open mind....hehehe |
I was leaning towards something like this web site has www.appalachianpages.com/forum/
|
Leo Brazil
I have created a plugin for a left column navbar and installed it as a plugin and it works for me. If you would like to be my first test subject then let me know. Once someone else has tested this I will release it here as a new hack. |
attroll
That's the idea I have in mind, the same position and structure of this appalachianpages forum. But this would be nice if you can incorporate the templates of the own forum, just like your navbar mod, do you know what I mean ? This way the columns will look stylish....lol... Want me to try it ? Sure, no problem any time. |
just upgraded to Version 3.7.0 Beta 5 and this mod no longer works.
|
Quote:
|
Unfortunately, this doesn't seem to be working for me. I've got a second navbar, that I created in my header. I installed this to see what it looks like, and to test how I can modify it for my needs. But I'm not sure if it's conflicting or not, as I can't see this mod at all.
I am running 3.7 b4 |
hi
sorry new to this but how do i change the button name and links no need to worry figured it out :$ |
Quote:
|
All times are GMT. The time now is 06:19 PM. |
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:
|