Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #182  
Old 01-25-2009, 08:07 PM
TC Topps TC Topps is offline
 
Join Date: Jan 2009
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, That is it!

Thanks!
Reply With Quote
  #183  
Old 01-26-2009, 07:33 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 TC Topps View Post
Yes, That is it!

Thanks!
Wow, that would require some work, but I can not understand why you would want to do that.
Reply With Quote
  #184  
Old 01-26-2009, 03:27 PM
TC Topps TC Topps is offline
 
Join Date: Jan 2009
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Attroll;

In my mind I was thinking that there would be a finer integration and less work to accomplish same tasks in my custom skins. But I have been rethinking my navbar "philosopy!"

1. I will leave the original vB Navbar as an Administrative Navbar since custom skins are getting most of the job done.

2. I will make your "Navbar2" specific to the structured Project and Blog side of Forum

3. I will make your replicated "Navbar 4" specific to casual Forum activity!

That will separate out the confusion as to the purpose of each.

Many thanks for your getting back to me!

My best regards,
TC Topps
Reply With Quote
  #185  
Old 01-27-2009, 07:19 PM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<if condition="$show[guest]">$navbar2</if>

Cant remember the condition for specifik usergroups, but i bet i would go the same way
just replace the [guest] with ehhmmm usergroupID syntax, better ask someone for syntax.

But i think u can use [member] as a syntax aswell.. its the same way the register botton
is displayed or hidden.

and i guess rename additional navbars..
Reply With Quote
  #186  
Old 04-15-2009, 05:15 AM
Furcal15 Furcal15 is offline
 
Join Date: Apr 2009
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beautiful! One of my most favorite hacks!!!

Check it out in action at my forum - www.sideline-sports.com
Reply With Quote
  #187  
Old 04-19-2009, 04:15 AM
VikesRule VikesRule is offline
 
Join Date: Aug 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I'm loving this mod but I have two questions:

1) Is there anyway I can align the dropdown menus so the leftmost portion of the dropdown aligns with the original link that you click on? Basically I want the dropdowns to work like they do on the default navbar with the alignment.
2) Is there anyway I can make my dropdowns function to where they have two levels of dropability (I think I made that up, haha). I basically want to be able to make them like this site:
http://www.prosportsdaily.com/forums/index.php
Move the mouse over to the "Forums" link on the navbar, see how the original links in the dropdown, like Baseball, Basketball, etc. can branch off to the right to even more links? Is there someway I can do that?

Thanks for a great hack though!
Reply With Quote
  #188  
Old 04-20-2009, 02:19 AM
Dr.LoVe Dr.LoVe is offline
 
Join Date: Aug 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

than you good job

i have faq

how about if i want to Disable some Section in this navbar ???
Reply With Quote
  #189  
Old 05-25-2009, 06:49 AM
Outbackmark's Avatar
Outbackmark Outbackmark is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works well with 3.8.2 - Great Job!!!!
Reply With Quote
  #190  
Old 06-13-2009, 08:40 PM
ade5675 ade5675 is offline
 
Join Date: Mar 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work

and it is superb with version 3.8.3

:up:
Reply With Quote
  #191  
Old 06-18-2009, 04:02 AM
Parture Parture is offline
 
Join Date: Aug 2005
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The drop down boxes don't work in firefox (they never worked as best as I can tell),
http://biblocality.com/forums/

Compare using Internet Explorer and Firefox.
Reply With Quote
Reply

Thread Tools

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 06:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05269 seconds
  • Memory Usage 2,305KB
  • 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
  • (10)bbcode_code
  • (1)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