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 |
#42
|
||||
|
||||
Quote:
I just registered on your site and went to reply to a message and I can not simulate any of these problems you are talking about. |
#43
|
|||
|
|||
great hack...
only thing, i can't get the navbar2 on my cmps homepage... i followed your step: Go into your ADMINCP-->vBa CPMS-->Default Setting-->Portal Output Global Variables and add navbar2 in the block there and save it. but still it doesn't show up check it out: cobbtalks dot com what can you suggest? any help would be appreciated. |
#44
|
|||
|
|||
nevermind, i figured it out...
i had to go to each individual cmps page and add "navbar2" to the Portal Output Global Variables too |
#45
|
|||
|
|||
In step one... I know, its kinda newby, but where do I paste the contents exactly? I have no clue, but I have done the rest of the steps
|
#46
|
|||
|
|||
Srry for double, but anyways, I found out that the navbar thing works in the new navbar2 template I made, but how do I get it to add on to the navbar in the templates I use?
I dont want the navbar2 template to be used either, the directions are so hard to understand |
#47
|
||||
|
||||
Quote:
Are you trying to install this into your default navbar template? If you are referr to Note#1. |
#48
|
|||
|
|||
I had a 3.6 question. Do you know if something changed with the global.php? When I tried to add the navbar2 reference under // misc useful, I get a syntax error. Any ideas on what would be causing that?
|
#49
|
||||
|
||||
Quote:
// misc useful 'navbar2', 'spacer_open', |
#50
|
|||
|
|||
this works just fine for me in 3.6
|
#51
|
|||
|
|||
seeing some issues.
modified things as per post and instructions how ever i get. Quote:
this is what I have. Code:
<!-- nav buttons bar --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a> <script type="text/javascript"> vbmenu_register("vbimghost");</script></td> <td class="vbmenu_control"><a href="jukebox.php?$session[sessionurl_q]">Jukebox</a></td> <!-- v3 Arcade --> <td class="vbmenu_control"><a href="arcade.php$session[sessionurl_q]">Arcade</a></td> <!-- /v3 Arcade --> <if condition="$show['popups']"> <!-- vbPlaza start --> <if condition="$show['member']"> <if condition="$vboptions['vbplaza_enabled']"><td id="vbplazamenu" class="vbmenu_control"><a href="$show[nojs_link]#vbplazamenu">$vbphrase[vbplaza_name] $vbphrase[vbplaza_menu]</a> <script type="text/javascript"> vbmenu_register("vbplazamenu"); </script></td></if> </if> <!-- vbPlaza end --> <!-- vbPlaza start --> <if condition="$show['member']"> <!-- vbplaza tools menu --> <div class="vbmenu_popup" id="vbplazamenu_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead"><a href="vbplaza.php?$session[sessionurl]">$vbphrase[vbplaza_name] $vbphrase[vbplaza_main]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=48">$vbphrase[vbplaza_lottery]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=27">$vbphrase[vbplaza_give_gifts]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=118">$vbphrase[vbplaza_give_ribbons]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=13">$vbphrase[vbbux_bank]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=7">$vbphrase[vbplaza_donate]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=16">$vbphrase[vbplaza_thief]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=richestusers">$vbphrase[vbbux_richest_users]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=userhistory">$vbphrase[vbplaza_history]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=mostsold">$vbphrase[vbplaza_most_sold]</a></td></tr> <if condition="is_member_of($vbulletin->userinfo, $vboptions['vbplaza_adminusergroups'])"> <tr><td class="thead">$vbphrase[vbplaza_admin_only]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=12">$vbphrase[vbplaza_admin_donate]</a></td></tr> </if> </table> </div> <!-- / vbplaza tools menu --> </if> <!-- vbPlaza end --> <!-- / NAVBAR POPUP MENUS --> <!-- Image Host Popup --> <div class="vbmenu_popup" id="vbimghost_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">$vbphrase[vbimghost_title]</td></tr> <tr><td class="vbmenu_option"><a href="$vboptions[bburl]/vbimghost.php?do=myimages">$vbphrase[vbimghost_menushimg]</a></td></tr> <tr><td class="vbmenu_option"><a href="$vboptions[bburl]/vbimghost.php?do=upload">$vbphrase[vbimghost_menuupimg]</a></td></tr> <tr><td class="vbmenu_option"><a href="$vboptions[bburl]/vbimghost.php?do=userlist">$vbphrase[vbimghost_menulistuser]</a></td></tr> </table> </div> <!-- / Image Host Popup --> I dont even see the navbar either. ideas? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|