Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Additional navbar with dropdowns Details »»
Additional navbar with dropdowns
Version: 1.02, by attroll attroll is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.5 Rating:
Released: 12-25-2007 Last Update: 06-29-2008 Installs: 306
Uses Plugins Template Edits
 
No support by the author.

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
  • Tweak it a bit to get the border on the top of the navbar. There was not boarder on the top of the navbar in the previous version. It was not really noticeable unless you have the navbar directly below the header area.
1.01
  • removed the plugin with the Hook "parse_templates" because it was not need.
  • Added plugin with the Hook ?global_start?, this will work with, PhotoPlog, vBAdvanced, Arcade. This will alleviate having to manually add code in the php files as was required in the past.
1.00
  • Initial release.
To install the this
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 -->
Below that place:
Code:
$navbar2
5B. On top of forums tables:
Find:
Code:
<!-- / PAGENAV POPUP -->
</if>
Below that place:

Code:
$navbar2
5C. Top of current navbar:
Find:
Code:
<br />
<!-- breadcrumb, login, pm info -->
Above that add:

Code:
$navbar2
5D. Under your header:
Find:
Code:
<br />
<!-- breadcrumb, login, pm info -->
Below that add:

Code:
$navbar2
5E. Under VB navbar:
Find:
Code:
<!-- / nav buttons bar -->
Below that add:
Code:
$navbar2
Note:
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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #112  
Old 06-27-2008, 05:35 AM
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Location: Litchfield, Me
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scarface Claw View Post
Sorted, cheers bro.

You should probably make that part of the original XML
Yeah. I need to look into that to see what it actually does because like I said I had not problem with it. Yet some people have. it does not make sense.
Reply With Quote
  #113  
Old 06-27-2008, 05:42 AM
wwolf27 wwolf27 is offline
 
Join Date: Feb 2008
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by attroll View Post
I tried this and could not duplicate this problem. Someone else had this problem before and here is what someone suggested https://vborg.vbsupport.ru/showpost....8&postcount=25. I never heard whether it worked out not though.
I looked at the first line of code in the XML file and mine say 3.7.0 like that person suggested in the link you submitted. Unless I was looking at the incorrect thing. I am new to this..I fired the person who normally does this and now doing it on my own, a whole 8 days now.
Reply With Quote
  #114  
Old 06-27-2008, 06:11 AM
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Location: Litchfield, Me
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wwolf27 View Post
I looked at the first line of code in the XML file and mine say 3.7.0 like that person suggested in the link you submitted. Unless I was looking at the incorrect thing. I am new to this..I fired the person who normally does this and now doing it on my own, a whole 8 days now.
Yeah, I just changed the XML file to reflect that so it should not happen to anyone again.
Reply With Quote
  #115  
Old 06-27-2008, 06:27 AM
wwolf27 wwolf27 is offline
 
Join Date: Feb 2008
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

o..ok, well I guess I will check back. I tried to go through it again tonight, still isn't working. Thanks for your time I greatly appreciate it.
Reply With Quote
  #116  
Old 06-27-2008, 09:32 AM
Scarface Claw Scarface Claw is offline
 
Join Date: May 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wwolf, attroll has updated the XML to reflect the new change, so you need to download the new XML and try that one.

The new one should work for you.

I was vB newbie only a month ago dude, and now I know a bit, its pretty easy to learn, just hang in there.

EDIT:
Bloody good mod BTW, it's just what I have been needing, nominated for MotM.
Reply With Quote
  #117  
Old 06-27-2008, 05:25 PM
wwolf27 wwolf27 is offline
 
Join Date: Feb 2008
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scarface Claw View Post
wwolf, attroll has updated the XML to reflect the new change, so you need to download the new XML and try that one.

The new one should work for you.

I was vB newbie only a month ago dude, and now I know a bit, its pretty easy to learn, just hang in there.

EDIT:
Bloody good mod BTW, it's just what I have been needing, nominated for MotM.
I appreciate you clarifying that to me. Yes, it works now. Soon as I figure out how to change it to what I need it to say and do I will be good. LOL!! Thanks for the help and I do nominated for MotM.
Reply With Quote
  #118  
Old 06-30-2008, 12:22 AM
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Location: Litchfield, Me
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fireproof View Post
Strange. At least it's not just me. Maybe someone else will have an idea.

But at least it doesn't look bad that way - I would just prefer it if they were the same size.

Thanks for trying to help. It's really nice to see people support their mods and add-ons.
I have done some more research and found a fix to your problem. I have updated the xml file now to replect that. If you just want to fix this without reinstalling the xml file you can do it by changing the first two lines of the navbar2 template to the following:

Code:
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:1px; border-bottom-width:1px">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
Reply With Quote
  #119  
Old 06-30-2008, 02:38 AM
Fireproof Fireproof is offline
 
Join Date: Apr 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by attroll View Post
I have done some more research and found a fix to your problem. I have updated the xml file now to replect that. If you just want to fix this without reinstalling the xml file you can do it by changing the first two lines of the navbar2 template to the following:

Code:
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:1px; border-bottom-width:1px">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
Aha - that is so awesome! Worked like a charm - thank you so much for following up with this.

Much appreciated!! :up: :up:
Reply With Quote
  #120  
Old 06-30-2008, 05:02 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this great mod! I have a feature request: can you start incrementing your mod version # whenever you update the mod - this would help us keep track of the versions. Even if it's a small change, adding a suffix would help, like 1.02b, 1.02c, etc. Also, can you add a changelog to your first post so that we can know what changed between versions without having to read through several posts. I think both of these small enhancements would be time-savers whenever updating. Thanks attroll for your fast & helpful support!
Reply With Quote
  #121  
Old 07-01-2008, 06:16 AM
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Location: Litchfield, Me
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbboarder View Post
Thanks for this great mod! I have a feature request: can you start incrementing your mod version # whenever you update the mod - this would help us keep track of the versions. Even if it's a small change, adding a suffix would help, like 1.02b, 1.02c, etc. Also, can you add a changelog to your first post so that we can know what changed between versions without having to read through several posts. I think both of these small enhancements would be time-savers whenever updating. Thanks attroll for your fast & helpful support!
Very good idea. I will do that from now on. I just posted the last two change logs in the description. Thank you for mentioning that.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:49 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
  • Page Generation 0.04811 seconds
  • Memory Usage 2,333KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (12)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete