vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Double navigation bar

Dream
06-16-2007, 11:42 PM
This was the best solution to have more navbar links I saw so far.
This places a second navbar above the breadcrumb.

Open your navbar template, find:


Code:
<!-- breadcrumb, login, pm info -->


and add the following before that line


Code:

<!-- top nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr align="center">
<td class="vbmenu_control"><a href="index.php?$session[sessionurl]">Home</a></td>
<td class="vbmenu_control"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td>
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&searchuser=$bbuserinfo[username]">My Threads</a> / <a href="search.php?$session[sessionurl]do=process&showposts=0&exactname=1&searchuser=$bbuserinfo[username]">Replies</a></td>
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars =yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
<td class="vbmenu_control"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td>
</if>
<if condition="$bbuserinfo[usergroupid] == 6">
<td class="vbmenu_control"><a href="$admincpdir/index.php$session[sessionurl_q]">AdminCP</a></td>
</if>
</tr>
</table>
</div>
<!-- / top nav buttons bar -->


and change the links as you like :p

Peggy
06-17-2007, 12:16 AM
ugh the screenshot is way too small. But I can say that I've used this hack and my members (well, ex-members) love it.

Joeychgo
06-17-2007, 12:27 AM
all fixed --

Peggy
06-17-2007, 12:29 AM
ahh mucho betta...

Peggy
06-20-2007, 11:07 PM
Glad you posted this here Dream. Looks like I'm going to need it for my designs site.
I'm running out of links space :rolleyes:

La Grange
06-20-2007, 11:32 PM
This is a great little mod, I use it on my site for sure.:)

Angels
06-22-2007, 12:26 PM
Thanks! Works great :)

Helloooooo6
07-23-2007, 05:39 AM
ٌReally powerful and easy to use mod
Thanx a lot

mattd
08-12-2007, 08:59 PM
I love the hack here but is there a way to make the links link to outside HTML/php pages or pages on other websites? I've been trying for about an hour now and cant come up with it.

Peggy
08-12-2007, 09:38 PM
Sure you can matt. Take this link code
<td class="vbmenu_control"><a href="index.php?$session[sessionurl]">Home</a></td>

and make the link you want.

<td><a href="http://www.whateverurl.com">Their Site</a></td>

If it doesn't work without the vbmenu_control, then add that in there, but for an outside link, you shouldn't need it.

chillingcafe
08-13-2007, 04:29 PM
woofooo thats a great mod i did that and now my navbar looks great thanks dream :D

mattd
08-17-2007, 10:04 AM
@ Peggy Thanks a lot for the help knew it was going to be something easy like that.

One more question I wasn't sure where to put it but i figure other people might have this problem, and like me do not know how to fix it, See attached picture.

How do i get the font colour to black, or any other colour that will show up and not be such a sore on the eyes?

sabiano
07-08-2008, 02:11 AM
thank şekerim

ewolf
10-05-2008, 03:17 PM
Hello!

i am using this hack and wanted to know how do i make the links open in a new window/tab
i've put links to sites outside my forum.

Thanks,

Erez.

Peggy
10-05-2008, 05:01 PM
at the end of the address of the site you're linking to, before the >, add target="_blank"

in other words the link to the other site should look something like
<a href="www.othersitelink.com" target="_blank">

ewolf
10-06-2008, 12:12 AM
at the end of the address of the site you're linking to, before the >, add target="_blank"

in other words the link to the other site should look something like

Thank you!

The navbar works like a charm, really happy about the ease of use of this,

Thanks again Peggy.

Erez.

Peggy
10-06-2008, 12:14 AM
You're welcome. I've used this on a few clients' sites, and it does work very well.


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum