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
  #22  
Old 01-25-2009, 12:51 PM
CPOWA's Avatar
CPOWA CPOWA is offline
 
Join Date: Nov 2007
Location: Pensacola, FL
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed: Excellent hack! Thank you so much, Warren

Nita
Reply With Quote
  #23  
Old 01-26-2009, 01:35 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. Make sure you mark as installed if you want any support.
Reply With Quote
  #24  
Old 01-26-2009, 01:39 PM
Freddy.k's Avatar
Freddy.k Freddy.k is offline
 
Join Date: Mar 2008
Location: Fran?e
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent thankyou very much
Reply With Quote
  #25  
Old 01-29-2009, 10:45 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
  #26  
Old 01-29-2009, 11:00 PM
aircool52 aircool52 is offline
 
Join Date: Jun 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed , but is any way to separate the two bars , instead one on top of the other?
Attached Images
File Type: jpg nav bar.jpg (25.9 KB, 0 views)
Reply With Quote
  #27  
Old 01-30-2009, 04:12 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aircool52 View Post
I have installed , but is any way to separate the two bars , instead one on top of the other?
Go to your "navbar" template and find this code:

Code:
<!-- breadcrumb, login, pm info -->
ABOVE IT ADD THIS:
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 -->
Reply With Quote
  #28  
Old 02-10-2009, 01:01 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated.
Reply With Quote
  #29  
Old 02-10-2009, 01:15 AM
luan7749's Avatar
luan7749 luan7749 is offline
 
Join Date: Apr 2008
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool ! Thank partner
Reply With Quote
  #30  
Old 02-10-2009, 01:22 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now if only this was a product, so we wouldn't have to edit every time we updated.
Reply With Quote
  #31  
Old 02-13-2009, 01:06 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
Now if only this was a product, so we wouldn't have to edit every time we updated.
I am not that good. lol But, if you use the TMS system, you would not need the product. Just update your default style and the TMS system will do the rest. Did for me.
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 08:42 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.06243 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
  • (8)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • 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