vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - Easy Navbar Links (https://vborg.vbsupport.ru/showthread.php?t=228492)

SuperTaz 11-20-2009 10:00 PM

Easy Navbar Links
 
1 Attachment(s)
/*================================================= =============*\
|| ################################################## ########## ||
|| # 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!!

SuperTaz 11-21-2009 01:53 AM

Reserved for future use!

VonDoom 11-21-2009 02:30 AM

ill be using this if i cant find an easier way to add links to the default navbar. Tagged

SuperTaz 11-21-2009 02:34 AM

Quote:

Originally Posted by VonDoom (Post 1918113)
ill be using this if i cant find an easier way to add links to the default navbar. Tagged

There is an easier way now. Follow the 2nd part of this mod and look at the 2nd screenshot.

Nightridr 11-21-2009 04:00 AM

Quote:

Originally Posted by Warden-B- (Post 1918103)
Reserved for future use!

Same here ..... thanks for that.
Tagged.:up:

SuperTaz 11-21-2009 07:15 PM

Click install if you want support. Thank you.

arena 11-22-2009 09:26 PM

Thank you.

SuperTaz 11-23-2009 07:25 PM

You're welcome!

SİMAR 11-29-2009 09:19 PM

Thank you.

Leo Brazil 11-30-2009 08:44 AM

How about some drop downs at navbar links ? How would they should be ?


All times are GMT. The time now is 09:18 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.01301 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete