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 |
#32
|
|||
|
|||
ugh, and now my UserCP link in the navbar isn't a dropdown...
|
#33
|
||||
|
||||
Quote:
First you have to know some basic HTML when doing some things like this. When installing hacks they pretty much tell you step by step so little to no html experience is needed at times. For what you want to do you will need to look through your NAVBAR template and find where you want to drop down menu to be displayed. This is where you need to know basical HTML because you need to know exactly where to place it. But this is the code for you will need to place in your NAVBAR for the first part of the drop down menu. You will need to edit this code with the data you want in it. Code:
<!-- Setup for drop down menu #1 in navbar -->
<td id="dropdown1" class="vbmenu_control"><a href="#dropdown1">Drop Down Menu Listing #1</a> <script type="text/javascript"> vbmenu_register("dropdown1"); </script></td>
<!-- / Setup for down menu #1 in navbar-->
Code:
<!-- / NAVBAR POPUP MENUS -->
<!-- PAENAV POPUP -->
Code:
<!-- Drop down for menu #1 in navbar--> <div class="vbmenu_popup" id="dropdown1_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">Drop Down Menu Listing #1</a></td></tr> <tr><td class="vbmenu_option"><a href="yourlink.com">Option #1</a></td></tr> <tr><td class="vbmenu_option"><a href="yourlink.com">Option #2</a></td></tr> <tr><td class="vbmenu_option"><a href="yourlink.com">Option #3</a></td></tr> <tr><td class="vbmenu_option"><a href="yourlink.com">Option #4</a></td></tr> <tr><td class="vbmenu_option"><a href="yourlink.com">Option #5/a></td></tr> </table> </div> That is about all I am going to say. |
#34
|
||||
|
||||
When I don't want to have the google-ad, what do I have to do?
|
#35
|
|||
|
|||
thanks attroll
I figured it out, I do have basic html it's just when all the ifs are thrown in there and calling phrases I get a bit confused It works now, I put this where I wanted it to show up: Code:
<!-- Setup for Member menu in navbar --> <td id="members" class="vbmenu_control"> <a href="$show[nojs_link]#members">Members</a> <script type="text/javascript"> vbmenu_register("members"); </script></td> <!-- / Setup for Member menu in navbar --> <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> Code:
<!-- / NAVBAR POPUP MENUS -->
Code:
<!-- Drop down for menu Member in navbar --> <div class="vbmenu_popup"() id="members_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">Members</td></tr> <tr><td class="vbmenu_option"> <a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list] </a></td></tr> <tr><td class="vbmenu_option"> <a href="userpage.php?do=list">Members Pages</a></td></tr> </table> </div> <!-- / Drop down for menu Member in navbar --> and added a missing '$show[nojs_link]#' in the set-up it works great. EDIT: I posted the original and this reply in THIS hack thread because of the note you had in there about "if you don't want an additional navbar skipt to ..... " I assumed since that's what I was doing this was the place to ask. |
#36
|
||||
|
||||
Quote:
|
#37
|
||||
|
||||
Quote:
________ Mercedes-Benz GLK-Class |
#38
|
||||
|
||||
Quote:
If you read Note#1 in this hacks directions you will see that it is exactly like the other hack. Maybe that was how this other hack came to be. They read this hack and created the other hack. I released the original hack for 3.0.0 on 16 May 2004 here https://vborg.vbsupport.ru/showthread.php?t=65198. The other hack was released in Jul 2005. I don't care where they got it I was just pointing out that the hacks are the same if you follow my Note#1 instructions. |
#39
|
|||
|
|||
I am having some problems i have attached some screen shows of the problems i am having.
1: When posting a new post everything is fine except for the following 2 problems they can be seen in jpe aus scifi 1 and 2 Attachment 50806 Attachment 50807 The problem in the sizes box you can see the problem clearly and in the attachment box. I know the problem is with the plugging because when i disable it the forum works correctly, I have edited the global.php |
#40
|
||||
|
||||
Quote:
|
#41
|
|||
|
|||
Hello
I am running 3.5.4 I have created my navbar using Sothink DHTMLMenu i have never had a problem in the past with my menu or in 3.5.3 its just very weird. i dont know can you possible take a look i will give you temp admin access if you like. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|