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
  #62  
Old 05-09-2009, 04:22 PM
Drago13's Avatar
Drago13 Drago13 is offline
 
Join Date: Mar 2009
Location: Fernandina Bch Fla.
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome.. this is what i was looking for.. thanks
Reply With Quote
  #63  
Old 05-26-2009, 08:13 AM
shinng's Avatar
shinng shinng is offline
 
Join Date: May 2009
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

incredibly easy to install. i hope all mods are this easy. this is exactly what i needed in order to put a separate paid subscription info page. installed.
Reply With Quote
  #64  
Old 05-27-2009, 08:55 PM
aakhan136 aakhan136 is offline
 
Join Date: Nov 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanksssssss to good
Reply With Quote
  #65  
Old 05-27-2009, 09:33 PM
israfiel israfiel is offline
 
Join Date: Mar 2009
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!!!!
Reply With Quote
  #66  
Old 05-28-2009, 07:57 AM
nnStaff nnStaff is offline
 
Join Date: May 2009
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you change

Code:
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
to

Code:
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-bottom-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
you'll get rid of that nasty little border issue you've got on the top navbar
Reply With Quote
  #67  
Old 06-11-2009, 07:43 AM
yossie3660's Avatar
yossie3660 yossie3660 is offline
 
Join Date: Feb 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Warden-B- View Post
Any luck, yossie3660?
Quote:
Originally Posted by Warden-B- View Post
I will try to make you the code to have drop-downs. I have been working a lot of hours and my time is limited. But, for now, try this mod out:

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

It may help you out.
Your mod is great....but...1 things for sure...i need the links button scroll down, so for this examples...

Link1 | Links2 | Links3 | Link4 | Links5 | Links6

Thats ur links, but my links have about 20 links....so if i put in the navbar, can make too many links that can cunfuse for the people, so i want to make the simple for example :

LinkA v| LinksB | LinksC

And want i klik LinksA that will show :
Links1 --> go to links1 and open the new tab when user click
Links2
Links3
Links4
Links5
Links6

Like i said before, that the button on the link like USER CP links that have some down arrow, so thats make the simple links for my forum, do you have any mod for this? i will installed if you have, so sorry if my english is not so good and i hope my explanation can understand for who read my post.

Cause i had tried so many times but the down arrow button not correctly show up, just the links and not got what i want. And the condition is simple...just add that links and dont have make different about the user is login or soem guest, cause that links for connect to other website, so simple static links.

thanks alot

regards
yossie3660
Reply With Quote
  #68  
Old 06-11-2009, 03:57 PM
DNG DNG is offline
 
Join Date: Jun 2009
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Glad you all like it. I will try to be on here more. Work seemed to settle and now I have some spare time. lol
Reply With Quote
  #70  
Old 06-25-2009, 04:18 PM
s-p0k's Avatar
s-p0k s-p0k is offline
 
Join Date: Jun 2009
Location: S1n C1ty
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed
but i got this



how to fix it?

and where do i put this code at?

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>
Reply With Quote
  #71  
Old 07-02-2009, 05:06 AM
yossie3660's Avatar
yossie3660 yossie3660 is offline
 
Join Date: Feb 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Warden-B- View Post
Glad you all like it. I will try to be on here more. Work seemed to settle and now I have some spare time. lol
can u help me about this?

Quote:
Originally Posted by yossie3660 View Post
Your mod is great....but...1 things for sure...i need the links button scroll down, so for this examples...

Link1 | Links2 | Links3 | Link4 | Links5 | Links6

Thats ur links, but my links have about 20 links....so if i put in the navbar, can make too many links that can cunfuse for the people, so i want to make the simple for example :

LinkA v| LinksB | LinksC

And want i klik LinksA that will show :
Links1 --> go to links1 and open the new tab when user click
Links2
Links3
Links4
Links5
Links6

Like i said before, that the button on the link like USER CP links that have some down arrow, so thats make the simple links for my forum, do you have any mod for this? i will installed if you have, so sorry if my english is not so good and i hope my explanation can understand for who read my post.

Cause i had tried so many times but the down arrow button not correctly show up, just the links and not got what i want. And the condition is simple...just add that links and dont have make different about the user is login or soem guest, cause that links for connect to other website, so simple static links.

thanks alot

regards
yossie3660
thanks alot
yossie3660
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:00 PM.


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.05605 seconds
  • Memory Usage 2,355KB
  • 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
  • (4)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
  • (2)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