Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Easy Navbar Links Details »»
Easy Navbar Links
Version: 1.02, by SuperTaz SuperTaz is offline
Developer Last Online: Mar 2022 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.1.4 Rating:
Released: 11-20-2009 Last Update: 06-08-2010 Installs: 102
Template Edits
Re-useable Code Code Changes Translations  
No support by the author.

/*================================================= =============*\
|| ################################################## ########## ||
|| # Easy Navbar Links
|| # Version 1.00
|| # Author: Warden
|| # This mod may only be used from vbulletin.org
|| # DO NOT display this mod on any other modification site without my permission
|| # You can alter this code and re-display it here on vbulletin.org
|| ################################################## ########## ||
\*================================================ ==============*/


Easy Navbar Links

Installation: Less than 3 minutes!

Installation instructions:

Go to your navbar template:

Styles and Templates > Style Manager > vB4 > Navigation Breadcrumb Templates > Navbar:

Find this code near the top:

Code:
<ul class="floatcontainer">
{vb:raw template_hook.navbar_start}
Above it add:

Code:
<!-- Navbar Links -->
<li class="non-selected"><a class="navtab" href="sample.php?{vb:raw session.sessionurl}">Sample</a></li>
<li class="non-selected"><a class="navtab" href="sample.php?{vb:raw session.sessionurl}">Sample</a></li>
<li class="non-selected"><a class="navtab" href="sample.php?{vb:raw session.sessionurl}">Sample</a></li>
<li class="non-selected"><a class="navtab" href="sample.php?{vb:raw session.sessionurl}">Sample</a></li>
<!-- / Navbar Links -->
Save and Reload.

OR...
You can use it this way and add links to the navbar with new posts and pm's, etc. in the sub-navbar!!

Find in the navbar template:

Code:
{vb:raw template_hook.navbar_start}
<vb:if condition="$show['searchbuttons']">
Add below:

Code:
<li><a href="sample.php?{vb:raw session.sessionurl}">Sample</a></li>
<li><a href="sample.php?{vb:raw session.sessionurl}">Sample</a></li>
<li><a href="sample.php?{vb:raw session.sessionurl}">Sample</a></li>
<li><a href="sample.php?{vb:raw session.sessionurl}">Sample</a></li>
Change RED highlighted link to your mod or addon URL
Change Blue highlighted link to your link name.

2nd picture shows this sample.

Edit the links to whatever you want.

Done!

If you use this mod, please CLICK INSTALL!!

Download Now

File Type: txt navbar_install.txt (1.4 KB, 246 views)

Screenshots

File Type: jpg navbar.jpg (22.6 KB, 0 views)
File Type: png subnavbar.PNG (4.7 KB, 0 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #32  
Old 02-13-2010, 02:22 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by buddyheiko View Post
Hi,

my site is

www.Forum-Spielmannszug.de


Heiko
Let me get back to you on that.
Reply With Quote
  #33  
Old 03-09-2010, 02:39 PM
thom thom is offline
 
Join Date: Dec 2001
Location: Sweden
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi i have weird problem when i install this menu i got this thats is ok (se pic 1)
after i have install ibProArcade i have install this after all rules the border disaper(se the pic 2)
someone who knows what wrong
Attached Images
File Type: jpg menu1.jpg (29.9 KB, 0 views)
File Type: jpg menu2.jpg (31.3 KB, 0 views)
Reply With Quote
  #34  
Old 03-13-2010, 06:13 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thom,
try changing this part of the code to border="1", instead of 3:

Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="1" width="100%" align="center" style="border-top
Reply With Quote
  #35  
Old 03-16-2010, 09:07 PM
ldma ldma is offline
 
Join Date: Jul 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this mod as it just got me out of a tight spot where I needed a hassle free independent navbar for my partnership commitments....but I am having trouble styling it.

I want to change the background and am using the dirty inline stye="background-color:#whatevercolor;", but Firefox refuses to play ball, and it only works on IE....how can I put this on a main stylesheet...I know, I should start paying attention on how to make CSS. It's also not playing ball with text decorations.
Reply With Quote
  #36  
Old 03-18-2010, 12:43 AM
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Location: Romania/Petrosani
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Y have two languages on my forum.
How can y make the text on the links to apear in both languages like its supposed to appear.
Y mean in RO = Regulament Forum
and in EN = Forum Rules
Reply With Quote
  #37  
Old 03-18-2010, 03:05 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ldma View Post
I like this mod as it just got me out of a tight spot where I needed a hassle free independent navbar for my partnership commitments....but I am having trouble styling it.

I want to change the background and am using the dirty inline stye="background-color:#whatevercolor;", but Firefox refuses to play ball, and it only works on IE....how can I put this on a main stylesheet...I know, I should start paying attention on how to make CSS. It's also not playing ball with text decorations.
I will check that out for you, ldma.
Reply With Quote
  #38  
Old 03-18-2010, 11:00 AM
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Location: Romania/Petrosani
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Warden-B- View Post
I will check that out for you, ldma.
help me to please
Reply With Quote
  #39  
Old 04-25-2010, 11:42 AM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Thank you for this info, a lot changed with the new Suite. There are good changes, but it's overwhelming to say the least. I'ld like to add a few links (or maybe a dropdown) to the top navigation bar (next to Home, Blogs and what's new). What do I edit then?
Reply With Quote
  #40  
Old 04-26-2010, 11:46 PM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stormzone View Post
Y have two languages on my forum.
How can y make the text on the links to apear in both languages like its supposed to appear.
Y mean in RO = Regulament Forum
and in EN = Forum Rules
Can you show me what you are having trouble with?

Quote:
Originally Posted by TosaInu View Post
Hello,

Thank you for this info, a lot changed with the new Suite. There are good changes, but it's overwhelming to say the least. I'ld like to add a few links (or maybe a dropdown) to the top navigation bar (next to Home, Blogs and what's new). What do I edit then?
Please refer to this article for the drop-down tabs.

https://vborg.vbsupport.ru/showthread.php?t=232579
Reply With Quote
  #41  
Old 05-17-2010, 12:36 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice modification. However I had one question. Any reason as why you are using tables instead of divs? I mean, since vb 4 is using a semantic code now as opposed to vb 3x.....

Also the center align has been depricated on div. It would be better to use the style tag instead
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 11:46 AM.


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.04943 seconds
  • Memory Usage 2,350KB
  • Queries Executed 27 (?)
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
  • (5)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete