Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

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
  #32  
Old 02-18-2009, 02:50 AM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic! And so easy

Q. What is this "TMS system" referred to in previous post?
Reply With Quote
  #33  
Old 02-21-2009, 03:02 AM
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Location: Minnesota
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GaryT View Post
Fantastic! And so easy

Q. What is this "TMS system" referred to in previous post?
I do believe they're referring to the Template Modification System if I remember right.
Reply With Quote
  #34  
Old 02-21-2009, 03:18 AM
conheomap conheomap is offline
 
Join Date: Feb 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really great mod. Installed! Thanks
Reply With Quote
  #35  
Old 02-21-2009, 06:19 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GaryT View Post
Fantastic! And so easy

Q. What is this "TMS system" referred to in previous post?
Template Modification System
Reply With Quote
  #36  
Old 02-21-2009, 07:32 PM
93Corvette 93Corvette is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 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?
I just installing this. My question is how do you make it so they are together. Mine is seperated like aircool52 wanted, but I want it the other way.... This is a screen shot of what I have now. I want mine below my original one (the way aircool52 picture looks).
EDIT, (just found out by playing with it): To make them one on top of the orginal NavBar, find the following code and place it above it:
<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">

However, I still need:
Lastly, when I look at the NavBar area, I can't find "Invite Your Friends" or "ChatBox Full". Where else would I find them so I can kill them off the orginal bar, and place them on the new bar, so it doesn't look so cluttered? So, being a noob, how can I do a search on "ChatBox Full" to find out what section it's in?

btw: This is exactly what I needed for my site....
Attached Images
File Type: bmp NavBar1.bmp (315.4 KB, 31 views)
File Type: bmp NavBar2.bmp (316.1 KB, 18 views)
Reply With Quote
  #37  
Old 02-22-2009, 06:10 PM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The "Invite your Friends" area is in the styles and templates > Choose your style > Invitation Template. Find the navbar link and copy it, then delete it.

What chatbox are you using?
Reply With Quote
  #38  
Old 02-22-2009, 11:58 PM
93Corvette 93Corvette is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Warden-B- View Post
The "Invite your Friends" area is in the styles and templates > Choose your style > Invitation Template. Find the navbar link and copy it, then delete it.

What chatbox are you using?

When I search through my files (I have attached them below), I cannot find anything with "Invitation Template". I'm going to ACP>Styles & Templates>Style Manager>Andromeda (my style)>using the pull down "Edit Templates">Expand all Template groups.
I go into all the Navbar files and do a seach for "Invite Your Friends" or "ChatBox Full" and cannot find anything. But, understand too, I am a Noobie, and I know I'm probably doing something wrong...
Is there an easy way of searching for these texts, that will show all instances of all files using them?
Here are my Templates.... Thanks again for your help!
Attached Images
File Type: bmp ~navbar1.bmp (501.6 KB, 12 views)
File Type: bmp ~navbar2.bmp (528.3 KB, 6 views)
File Type: bmp ~navbar3.bmp (499.0 KB, 6 views)
File Type: bmp ~navbar4.bmp (544.3 KB, 6 views)
File Type: bmp ~navbar5.bmp (589.7 KB, 6 views)
File Type: bmp ~navbar6.bmp (504.3 KB, 6 views)
File Type: bmp ~navbar7.bmp (579.0 KB, 6 views)
File Type: bmp ~navbar8.bmp (499.0 KB, 5 views)
File Type: bmp ~navbar9.bmp (499.0 KB, 5 views)
File Type: bmp ~navbar10.bmp (563.0 KB, 6 views)
Reply With Quote
  #39  
Old 02-23-2009, 12:00 AM
93Corvette 93Corvette is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here are the remaining 3 files.... Sorry to have so many....
Attached Images
File Type: bmp ~navbar11.bmp (624.4 KB, 8 views)
File Type: bmp ~navbar12.bmp (528.3 KB, 5 views)
File Type: bmp ~navbar13.bmp (520.3 KB, 5 views)
Reply With Quote
  #40  
Old 02-23-2009, 04:52 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For the CyB Chatbox, go to AdminCP > vB Options > CyB - Chatbox > scroll down to very bottom of that where it says this: "Automatically add link to ChatBox to NavBar". Set it to NO and save. Done.

For the Invitation System go to AdminCP > vB Options > Invitation System Options > "Automatic Link Creation" set to disable and save.

Done!

Then go to your forum homepage and look at the navbar. It will be taken away. For inserting them into the above navbar, I dont know. The Chatbox uses a hook somewhere that I cant find to add it. Invitation system I will have to search for you.
Reply With Quote
  #41  
Old 02-24-2009, 12:58 AM
93Corvette 93Corvette is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Warden-B- View Post
For the CyB Chatbox, go to AdminCP > vB Options > CyB - Chatbox > scroll down to very bottom of that where it says this: "Automatically add link to ChatBox to NavBar". Set it to NO and save. Done.

For the Invitation System go to AdminCP > vB Options > Invitation System Options > "Automatic Link Creation" set to disable and save.

Done!

Then go to your forum homepage and look at the navbar. It will be taken away. For inserting them into the above navbar, I dont know. The Chatbox uses a hook somewhere that I cant find to add it. Invitation system I will have to search for you.

Warden-B-,

THANK-YOU~!!!!!

Dang, I was making it harder than I needed...(Please understand, I'm a noobie)

1. What I did is leave the "ChatBox Full" and the "Invite Your Friends" on, and I right clicked on them to get their properties. Then I added to your program Navbar.

2. Then I went to the Vbulletin Options. For noobs, that's ACP>vbulletin Options>Vbulletin Options>go down to Cyb - Chatbox and click "No" where it says "Automatically add link to ChatBox to NavBar". This will kill it off the orginal Navbar.

3. Do the same thing for the invite. For noobs, that's ACP>vbulletin Options>vbulletin Options>go down to Invitation System Options>"Automatic Link Creation" and select "Disable".

4. Dang it, here I was looking for code somewhere, and all it was was a dang pushbutton for the program.... Anyways, Warden-B-, I just wanted to thank you for getting me on the right track....
Attached Images
File Type: bmp NavbarForProperties.bmp (468.3 KB, 7 views)
File Type: bmp NavbarForChat.bmp (618.9 KB, 6 views)
File Type: bmp NavbarForInvite.bmp (443.9 KB, 6 views)
Reply With Quote
Reply

Thread Tools

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:29 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.07721 seconds
  • Memory Usage 2,383KB
  • 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
  • (5)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
  • (20)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