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
  #42  
Old 05-17-2010, 11:06 PM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good point. I will update them when I get the chance.
Reply With Quote
  #43  
Old 05-18-2010, 02:05 AM
keithRichards keithRichards is offline
 
Join Date: May 2010
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

Great article!

This is along the lines of a similar topic and I was wondering if you are able to give me some advice on the best way to replace the existing vBulletin Navbar tabs with the ddtabmenu style that I found at the Dynamic Drive website.

My questions are probably VERY basic so apologies up front.

1. Do I just make the changes outlined in the article at http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm to the existing vBulletin template in Admin cp/Style Manager/Navigation / Breadcrumb Templates/navbar? In effect overwriting the original vBulletin templates?

2. Is the Admin cp/Style Manager/Navigation / Breadcrumb Templates/navbar the correct place to make such changes

3. Or do I make the changes to the downloaded files, and then upload these to the appropriate directory on my vBulletin website. Once this is done do I go to the Admin cp/Download Upload Styles/Import Style XML File and import the file? In effect creating a new template??

3. If I do 3 then is it a matter of setting this as the new default template?


Hope this all makes sense....


Thanks in advance,
Reply With Quote
  #44  
Old 05-20-2010, 03:03 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Let me update them first and then I will get back with you, KeithRichards. It will be a few days because of working a lot of hours.
Reply With Quote
  #45  
Old 06-09-2010, 04:35 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated with new code for vB 4.0.x.
Reply With Quote
  #46  
Old 07-23-2010, 09:27 PM
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Location: Sunny Arizona
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This did not work for me. It put the new navbar tabs mixed in with my regular ones. It did not create a separate tab bar. See picture.

Reply With Quote
  #47  
Old 07-23-2010, 10:01 PM
ldma ldma is offline
 
Join Date: Jul 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this...

In Navbar After..
Code:
 <li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li>
        </ul>
</div>
ADD
Code:
<ul id="navtabs" class="navtabs floatcontainer">
<br />br /><br />
<!-- 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 -->
</ul>
Seemed to do the trick for me!
Reply With Quote
  #48  
Old 07-24-2010, 02:18 PM
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Location: Sunny Arizona
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I could not find that code you listed....
Reply With Quote
  #49  
Old 07-25-2010, 12:34 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GONUMBER6 View Post
This did not work for me. It put the new navbar tabs mixed in with my regular ones. It did not create a separate tab bar. See picture.

It does not create a separate tab bar only adds to the current one.
Reply With Quote
  #50  
Old 07-26-2010, 04:04 PM
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Location: Sunny Arizona
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see.... but it shows a separate tab bar in the screenshot.

Or am I missing something?

Where it says server stats, server slots, arcade, downloads, ect. ect.

This is what I was installing this mod for
Reply With Quote
  #51  
Old 07-26-2010, 09:37 PM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is not for this mod. That is something I was toying around with. Directly underneath the large tabs in the second shot where it says, (sample, sample, sample, etc) is what the second part of the links do.
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:42 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.06747 seconds
  • Memory Usage 2,343KB
  • 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
  • (6)bbcode_code
  • (1)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
  • (3)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