Helpful Information
 
 
Category: Programming Articles
[TIP] NAVBAR, Forum is not home

I am not sure if anyone else has thought about this. I am sure someone has done it.

But the forum home is not the home of my domain. Since I use vbindex I prefer to return users to the top most level.

So I changed the navbar template from

< img src="vbtpank/vb_bullet.gif" border="0" align="middle" alt="$bbtitle : Powered by vBulletin version $templateversion" >

to

<a href="../index.php">Home</a> | <a href="index.php?s=$session%5Bsessionhash%5D">Forums</a> | $navbits

Plus I killed off that stupid icon and replaced the oversized " > " or " >> " with a nice and neat " | " Looks better in my opinion.

Just thought I'd share, enjoy have a nice week :cool:

___________________________

Eamples:

BEFORE
[v] vBulletinTemplates (http://www.vbulletintemplates.com/mods/index.php?s=) > vBulletin Template Mods (http://www.vbulletintemplates.com/mods/forumdisplay.php?s=&forumid=3) > Template Modifications (http://www.vbulletintemplates.com/mods/forumdisplay.php?s=&forumid=4)

AFTER
vBulletinTemplates (http://www.vbulletintemplates.com/) | Forums (http://www.vbulletintemplates.com/mods/index.php?s=) | vBulletin Template Mods (http://www.vbulletintemplates.com/mods/forumdisplay.php?s=&forumid=3) | Template Modifications (http://www.vbulletintemplates.com/mods/forumdisplay.php?s=&forumid=4)

// changed unloading image to text --filburt1

excellent - though i have altered it a little, I had been wondering how you did this... thnx - would click install but can't find it anywhere

It's nice but the pipes should still be greater-than-signs. Pipes indicate multiple unrelated options, greater-than-signs indicate the flow of nodes on a tree.

I'd usually create a new button. Home for the HomePage and Forum or ForumHome for the forum index of course. ;)

that looks terrible...
i do this for mine:
<a href="./index.php">$bbtitle</a>
<br/>- <a href="./forumdisplay.php?VARS">FORUM</a>
<br/>- <a href="./showthread.php?VARS">THREAD</a>

looks a lot better;)

I guess it doesn't matter, just as long as you have the two links. :)










privacy (GDPR)