The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Additional Navbar 3.5.3 and up Details »» | |||||||||||||||||||||||||
After upgrading my 3.0.0 version of this hack a long time back and repeatedly asking for it to be moved here in the 3.5.3 area with no success. I decided to add it here myself.
Despite what category this is in it works with vBulletin 3.0 up to the most recent version of 3.5.3. Just read the directions. What this does is create another navbar with drop down menu?s by typing $navbar2 in any of your templates. It is just like the one that comes with vBulletin 3. After seeing a lot of replies about users wanting another navbar besides the basic one that comes with vBulletin. I waited for someone else to write one. But no one stepped forward and wrote one. I wanted this for my site and got tired of waiting for someone else to write it. So I played around and created this one for myself. I though I would share it with everyone. Note#1: If you do not want to add a separate navbar template you can also substitute the steps in 5A through 5D and insert the navbar2.txt after you have edited it the way you want and into the same places as I mentioned for the $navbar2 in your default navbar and you will not have to do any of these other steps. I put a lot of description tags in the HTML file 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 navbar. 1. To install this hack you will have to create a template in you ADMINCP and call it ?navbar2? and insert the contents of the attached file "navbar2.txt" into this template file. Right now it is set up for my site. So you will have to modify it to what you want in this navbar for your site. 2. Put the following command in your phpinclude_start template: PHP Code:
Plugin System Add new Plugin Hook Location: global_start Title: navbar2 Plugin PHP Code: PHP Code:
PHP Code:
Find: PHP Code:
PHP Code:
Find: Code:
<!-- / nav buttons bar --> Code:
$navbar2 Find: Code:
<!-- / PAGENAV POPUP --> </if> Code:
$navbar2 Find: Code:
<br /> <!-- breadcrumb, login, pm info --> Code:
$navbar2 Find: Code:
<!-- breadcrumb, login, pm info --> Code:
$navbar2 Go into your ADMINCP-->vBa CPMS-->Default Setting-->Portal Output Global Variables and add navbar2 in the block there and save it. 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; Supporters / CoAuthors Show Your Support
|
Comments |
#12
|
|||
|
|||
attroll I was wondering if you could add some code (just with lots of comments) so that we could use a login like in the default navbar. I'd like to use this to replace the default navbar on some pages I'm using which are built with webtemplates.
|
#13
|
||||
|
||||
Many thanks for this.
|
#14
|
|||
|
|||
where do I look, to find global.php as instructed in step #4 above?
|
#15
|
||||
|
||||
Quote:
It depends on how you install this as to whether you need the 2nd navbar template. If you installing it in the default navbar as explained above in Note#1 then you do not have to do any of the other steps. If your not doing it as described in Note#1 then you are going to have to go through all the other steps. |
#16
|
|||
|
|||
LOL... I edited my post almost immediately, but it must have been slow.
I figured all that out and already have all my styles done. You might want to add in your note above that if they do the 2nd navbar scenario they have to do that for each style they have installed on their forum. Alot of people have more than 1 or 2 styles.... I have 6 |
#17
|
|||
|
|||
Hello
Nice hack! But I have VbAdvanced 2.1.0 and the hack does not work with it. I followed the directions you gave but it does not show on the main page. Any idea?? |
#18
|
||||
|
||||
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. |
#19
|
|||
|
|||
Ok I have a question.... I have my estore on my navbar2 template, but the estore popup menu code calls for it to be placed on the navbar template above the <!-- / NAVBAR POPUP MENUS --> code.
But I noticed that you have a pop up (or drop down) menu on your second nav bar... where did you place the code?? |
#20
|
||||
|
||||
Quote:
If you could post the code that the estore need to have in the navbar I could help you. |
#21
|
|||
|
|||
Thank you. Great hack. But I donot understand step 3. I want to creat like 5A but I donot know how to do. Where I should put this? "$navbar2"
Can you tell me? Thanks in advance. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|