 |
08-25-2006, 05:39 AM
|
#1 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,080
| Clean up your Navbar -and- Add Homepage Links This is a simple way to clean up your navbar.
Why clean it up? Well on most forums, very few members use the FAQ, Members list and Calender. So why clutter up the navbar with all those items.
My suggestion is to move them to the Quick Links drop down menu. This way, they are still available, but not taking up space on the navbar.
All this happens in your navbar template.
What your looking for first is this code: Quote:
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
| Delete that.
Now look for: Quote: |
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
| And place this code below it. Quote:
<tr><td class="vbmenu_option"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td></tr>
<tr><td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></tr>
<tr><td class="vbmenu_option"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td></tr>
| Notice, we didnt only move it but we altered the code a little. We wrapped each link in <tr> </tr> tags and we changed vbmenu_control to vbmenu_option.
Now, lets add a homepage link to the navbar.
If your homepage is forumhome...
Look for this: Quote:
<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
| And below it place this: Quote: |
<td class="vbmenu_control"><a href="http://www.Your-Homepage-URL/">Home</a></td>
| IF you have a homepage and a Forumhome (like this site has)...
Look for this: Quote:
<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
| And below it place this: Quote:
<td class="vbmenu_control"><a href="http://www.Your-Homepage-URL/">Home</a></td>
<td class="vbmenu_control"><a href="http://www.Your-Forum-Home-Url">Forum</a></td>
| Now, You can also add a Dynamic Home / Forums Link (If you use vBadvanced CMPS as your homepage) Quote:
<if condition="THIS_SCRIPT == 'adv_index'">
<a href="$vboptions[bburl]?$session[sessionurl]">
Forums
<else />
<a href="$vboptions[homeurl]?$session[sessionurl]">
Home
</if>
| :1appl:
__________________
Brandon Sheley / vBulletinSetup Staff
Check the To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for the latest deals.
Looking for a place to To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. ? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. and other To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. .
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. / Read the-> To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Are you on Twitter? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. I'm offering a few To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & here is my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. experiment
Last edited by Brandon Sheley; 10-26-2006 at 11:24 AM.
|
| |
09-26-2006, 04:32 PM
|
#2 | | vBulletin Owner
Join Date: Sep 2006
Posts: 79
| Re: Clean up your Navbar -and- Add Homepage Links Great little mod!
I've always hated the default vBulletin nav bar!
Thanks,
Brandon |
| |
09-26-2006, 08:07 PM
|
#3 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,080
| Re: Clean up your Navbar -and- Add Homepage Links your welcome,
btw, there is a thanks button tooo
and great name you have
__________________
Brandon Sheley / vBulletinSetup Staff
Check the To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for the latest deals.
Looking for a place to To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. ? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. and other To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. .
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. / Read the-> To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Are you on Twitter? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. I'm offering a few To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & here is my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. experiment |
| |
09-30-2006, 09:23 PM
|
#4 | | vBulletin Owner
Join Date: Sep 2006 Location: NYC
Posts: 579
| Re: Clean up your Navbar -and- Add Homepage Links I dont know if this is the appropriate thread but since it has to do with me adding a link to the nav bar Im giving it a shot.
I installed an awards mod which is great but I added the list to my navbar but for some reason when you click on the awards link on the nav bar images dont show up. But if you type the url and visit the images show. Any ideas?
For instance Ages of History - Awards you will see...
But if you visit here Ages of History and click on Awards on the navbar (you must choose blackout template to view that navbar) you will not see images.... Help? lol
__________________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Last edited by Greek76; 07-04-2008 at 10:15 AM.
|
| |
09-30-2006, 09:40 PM
|
#5 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,080
| Re: Clean up your Navbar -and- Add Homepage Links I do not see awards link in the navbar on this page Ages of History
__________________
Brandon Sheley / vBulletinSetup Staff
Check the To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for the latest deals.
Looking for a place to To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. ? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. and other To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. .
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. / Read the-> To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Are you on Twitter? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. I'm offering a few To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & here is my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. experiment |
| |
09-30-2006, 09:41 PM
|
#6 | | vBulletin Owner
Join Date: Sep 2006 Location: NYC
Posts: 579
| Re: Clean up your Navbar -and- Add Homepage Links Quote:
Originally Posted by Brandon | Its on the black out template.
__________________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
| |
09-30-2006, 10:17 PM
|
#7 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,080
| Re: Clean up your Navbar -and- Add Homepage Links take off the ///
right now its forum/awards.php/
make it forum/awards.php
__________________
Brandon Sheley / vBulletinSetup Staff
Check the To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for the latest deals.
Looking for a place to To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. ? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. and other To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. .
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. / Read the-> To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Are you on Twitter? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. I'm offering a few To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & here is my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. experiment |
| |
10-01-2006, 03:37 PM
|
#8 | | vBulletin Owner
Join Date: Sep 2006 Location: NYC
Posts: 579
| Re: Clean up your Navbar -and- Add Homepage Links Its funny how one / can make the difference. Its working great Brandon your awesome.
__________________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
| |
10-01-2006, 04:29 PM
|
#9 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,080
| Re: Clean up your Navbar -and- Add Homepage Links yup, the / is so powerful
__________________
Brandon Sheley / vBulletinSetup Staff
Check the To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for the latest deals.
Looking for a place to To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. ? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. and other To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. .
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. / Read the-> To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Are you on Twitter? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. I'm offering a few To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & here is my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. experiment |
| |
11-06-2006, 06:15 PM
|
#10 | | entrepreneur
Join Date: Nov 2006 Location: Errachidia-Morocco
Posts: 31
| Re: Clean up your Navbar -and- Add Homepage Links i can't find this code:
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> |
| |
11-07-2006, 01:47 PM
|
#11 | | vBulletin Owner
Join Date: Nov 2006
Posts: 14
| Re: Clean up your Navbar -and- Add Homepage Links Quote:
Originally Posted by Brandon yup, the / is so powerful  | Especially if it has an "rm -rf" before it!  (unix geek alert)
Great navbar tweaks, I always thought the FAQ kind of sucked since whenever I clicked on one I expected to see more specific info related to the forum I was on. And the calendar kind of sucks..... which sucks.... since I want one to post different music related events, etc, but I'd guess there's a plugin/product/something out there that can hook into vBulletin... but this is navbar talk, so I'll go away now and see what's out there, since now I know how to whip the navbar into shape and make it beg for mercy :1yes:
__________________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
| |
11-14-2006, 11:04 PM
|
#12 | | vBulletin Owner
Join Date: Nov 2006
Posts: 58
| Re: Clean up your Navbar -and- Add Homepage Links I use the vbAdvanced portal, and found that the code you placed at the end regarding the use Dynamic links, didn't work.
Here is a tweak I made to get it working as I think you intended.
Your original: Quote:
<if condition="THIS_SCRIPT == 'adv_index'">
<a href="$vboptions[bburl]?$session[sessionurl]">
Forums
<else />
<a href="$vboptions[homeurl]?$session[sessionurl]">
Home
</if>
| My tweaked code with help from your other code in this thread: Quote:
<if condition="THIS_SCRIPT == 'adv_index'">
<td class="vbmenu_control"><a href="http://www.yourdomain.com/forum">Forum</a></td>
<else />
<td class="vbmenu_control"><a href="http://www.yourdomain.com/">Home</a></td>
</if>
| This is on vB version 3.6.0 and vbAdvanced version 2.2.1 |
| |
11-15-2006, 11:30 AM
|
#13 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,080
| Re: Clean up your Navbar -and- Add Homepage Links ah, the code got removed,, it must have been when I was playing with the hack that allows X group to post HTML.. it messed another thread up I had posted too..
Thanks
oh, I just looked and see you where talking about the last set of code..
thanks for the correction, I don't use vBa so it must have gone overlooked.
__________________
Brandon Sheley / vBulletinSetup Staff
Check the To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for the latest deals.
Looking for a place to To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. ? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. and other To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. .
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. / Read the-> To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Are you on Twitter? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. I'm offering a few To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & here is my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. experiment |
| |
02-25-2008, 09:25 AM
|
#14 | | vBulletin Owner
Join Date: Jan 2008
Posts: 37
| Re: Clean up your Navbar -and- Add Homepage Links great info, just modified mine. is there any way to change the color of certain ones? Such as "Home", change the text color to a different color? |
| |
02-25-2008, 09:46 AM
|
#15 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,080
| Re: Clean up your Navbar -and- Add Homepage Links yup, put something like this around the text
<span style="color: #ff0000;">Home</span>
__________________
Brandon Sheley / vBulletinSetup Staff
Check the To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for the latest deals.
Looking for a place to To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. ? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. and other To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. .
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. / Read the-> To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Are you on Twitter? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. I'm offering a few To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & here is my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. experiment |
| |
02-25-2008, 11:31 AM
|
#16 | | vBulletin Owner
Join Date: Feb 2008 Location: Six Flags Over Stupid
Posts: 37
| Re: Clean up your Navbar -and- Add Homepage Links I need to do this, later, when I can concentrate. YES, I have to concentrate! *laugh* |
| |
02-26-2008, 12:58 PM
|
#17 | | vBulletin Owner
Join Date: Jan 2008
Posts: 37
| Re: Clean up your Navbar -and- Add Homepage Links worked like a champ, thanks! |
| |
06-21-2008, 03:54 PM
|
#18 | | vBulletin Owner
Join Date: Sep 2006 Location: NYC
Posts: 579
| Re: Clean up your Navbar -and- Add Homepage Links Ever since I upgraded to new version of vB which was 3.7 I dont have my quicklinks on my navbar. What code do I look for to find my quicklinks? I know its in my navbar template but thats about it.
__________________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
| |
06-22-2008, 03:10 AM
|
#19 | | vBulletin Owner
Join Date: Jun 2008
Posts: 23
| Re: Clean up your Navbar -and- Add Homepage Links I love the navbar and the breadcrumb area and all of the neat things you can do with it.....
Looks better with 2 navbars (above and below the breadcrumb area. Also the Mood Manager and the User Avatar set it off really well.
__________________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - (Anything & Everything) |
| |
07-05-2008, 06:01 PM
|
#20 | | vBulletin Owner
Join Date: Apr 2008 Location: South Florida
Posts: 2,874
| Re: Clean up your Navbar -and- Add Homepage Links Quote:
Originally Posted by Baldy I love the navbar and the breadcrumb area and all of the neat things you can do with it.....
Looks better with 2 navbars (above and below the breadcrumb area. Also the Mood Manager and the User Avatar set it off really well. | That user avatar up there looks kinda cool. I've never seen that, how did you do that?
__________________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. -- To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. -- To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. -- To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. -- To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
| |
07-05-2008, 06:32 PM
|
#21 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,080
| Re: Clean up your Navbar -and- Add Homepage Links Quote:
Originally Posted by ArnyVee That user avatar up there looks kinda cool. I've never seen that, how did you do that? | it looks like a small screenshot.
I don't really care for the look of the 2 navbar links 
It gets a bit cluttered to me, maybe if you at least limit it to guest, it's okay.
__________________
Brandon Sheley / vBulletinSetup Staff
Check the To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for the latest deals.
Looking for a place to To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. ? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. and other To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. .
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. / Read the-> To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Are you on Twitter? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. I'm offering a few To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. & here is my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. experiment |
| |
11-01-2008, 02:03 PM
|
#22 | | vBulletin Owner
Join Date: Apr 2008 Location: South Florida
Posts: 2,874
| Re: Clean up your Navbar -and- Add Homepage Links I did this to clean up some of my navbar, but now my navbar link for my "donation" mod is sitting in the quicklinks.
Can anyone lend me a hand with what I need to move or change to have this configured correctly?
__________________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. -- To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. -- To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. -- To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. -- To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Last edited by ArnyVee; 11-01-2008 at 02:05 PM.
|
| | |