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

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

Category: Forum Display Enhancements - Version: 3.8.x Rating:
Released: 01-10-2009 Last Update: 02-04-2009 Installs: 172
Template Edits
Re-useable Code Code Changes Translations  
No support by the author.

Description:
This template edit displays quick and easy links to your navigation.

Installation Time: Less than 1 minute

I got the inspiration from "yoyoyoyo" who made a similar mod for 3.6.8. Although his might work fine for this also, I decided to alter it a bit and cleaned up some code.

I did PM yoyoyoyo to use a variation of his hack but, since he has not been online since September 2008, I can't get a response.

Since yoyoyoyo came up with this type of template edit, all the credit goes to him.

Here is the mod from yoyoyoyo for version 3.6.8:

https://vborg.vbsupport.ru/showthread.php?t=160642

Template Edit:

Styles and Templates > Style Manager > Your Style > Navigation / Breadcrumb Templates > Navbar:

In the Navbar find:

Code:
<!-- breadcrumb, login, pm info -->
Above it add:

Code:
<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
</tr>
</table>
</div>
<!-- / Navbar Links -->
Then click Save and Reload!

Done!


OPTIONAL:

If you want to show a link only to members use this:

Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://url.com">Link Title Goes Here</a></td>
</if>
If you want to show a link only to members, and a different link to guests use this:

Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://url.com">Member Link Title Goes Here</a></td>
<else />
<td class="vbmenu_control"><a href="http://url.com">Guest Link Title Goes Here</a></td>
</if>
To make the link open in a new window use this URL instead:

Code:
<td class="vbmenu_control"><a href="http://url.com" target="_blank">Link Title Goes Here</a></td>
To make the link(s) only visible to certain usergroups use this:

Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)">
<td class="vbmenu_control"><a href="http://url.com">Link Title Goes Here</a></td>
</if>
Substitute X, Y, Z with the ID numbers of the groups that you want to allow to see the link. If you only want one usergroup to be able to see the link then use: $bbuserinfo, X and substitute X with the ID number of the group that you want to allow to see the link.

Of Course you want to change the URL's to your site URL and direct the link to any site or feature you want for your site.

Any problems, let me know.

Make sure if you use this template edit to CLICK INSTALL.

Download Now

File Type: txt navbar.txt (2.8 KB, 474 views)

Screenshots

File Type: jpg navbar.jpg (18.9 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Perrier Sophie

Comments
  #102  
Old 04-15-2011, 03:36 PM
thep3300 thep3300 is offline
 
Join Date: Jan 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

goood
Reply With Quote
  #103  
Old 07-05-2011, 07:41 AM
Scyther's Avatar
Scyther Scyther is offline
 
Join Date: Jul 2009
Location: Planet Earth
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged for now...
Reply With Quote
  #104  
Old 07-09-2011, 02:20 PM
Scyther's Avatar
Scyther Scyther is offline
 
Join Date: Jul 2009
Location: Planet Earth
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed..and marked too..
Thanks
Reply With Quote
  #105  
Old 04-26-2012, 03:01 PM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome.
Reply With Quote
  #106  
Old 10-09-2012, 11:49 AM
www.nofal www.nofal is offline
 
Join Date: Jan 2010
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Work
Reply With Quote
  #107  
Old 03-26-2013, 04:08 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by www.nofal View Post
Good Work
Thanks.
Reply With Quote
  #108  
Old 04-15-2014, 05:31 AM
ged's Avatar
ged ged is offline
 
Join Date: Feb 2005
Location: Istanbul, Turkey
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A simple question. Is it possible to position the second navbar links bar adjacent to the original?
Reply With Quote
  #109  
Old 06-17-2014, 10:06 PM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ged View Post
A simple question. Is it possible to position the second navbar links bar adjacent to the original?
Sorry for the delay. I have been busy with many things.
I don't understand what you are trying to say. Do you mean having the links similar to brick stacking?
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 07:58 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.04123 seconds
  • Memory Usage 2,326KB
  • 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
  • (2)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
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (1)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (2)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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