PDA

View Full Version : Home/Forums in Nav Bar?


Mr.Domains
04-02-2006, 07:30 AM
I notice on your site (vbadvanced.com) you have "Forums" at the start of the nav bar on the home page, and "Home" on all forum pages. How can I do the same thing on my vB/vBa site?

Thanks! :)

DMH
04-02-2006, 12:05 PM
I think this might be what your looking for:

http://www.vbadvanced.com/forum/showthread.php?t=9689&highlight=nav+menu

Our Sponsors
 

capebretoner
04-03-2006, 04:07 PM
Do people not know about search?
When I went to do this I think that I found a dozen threads on the same topic.

Dr.Viggy
05-21-2006, 12:55 PM
here is all i did

in the navbar template, find:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>

right before, add:
<td class="vbmenu_control"><a href="index2.php$session[sessionurl_q]">$vbphrase[forums]</a></td>

and i recommend going to vbulletin.org and getting the custom WOL hack so you can name the location of the new index file so it won't give "unkown location" and the path.

Our Sponsors
 

KW802
05-22-2006, 03:36 PM
I notice on your site (vbadvanced.com) you have "Forums" at the start of the nav bar on the home page, and "Home" on all forum pages. How can I do the same thing on my vB/vBa site?

Thanks! :)
http://www.vbadvanced.com/forum/showthread.php?t=41

Sierus
05-29-2006, 11:17 AM
So much information for different versions. I am running vB 3.5.4 and vba 2.1, here is what I did to get a home link on the forums page and a forums link on the home page:

1) Edit the current template, double click the "Navigation / Breadcrumb Templates"

2) Double click the "navbar" template

3) Search for the code:

<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>

4) Right above that code I put:


<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="index.php$session[sessionurl_q]">$vbphrase[forums] <else /> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </if></a></td>


NOTE: If your forums index page is different than index.php, you need to change the link in there to where your forums page is at. Just update the part that says index.php to whatever your index page is on your forums. Worked for me.

http://www.imminentguild.com

kaala
05-29-2006, 11:22 PM
Thanks Sireus! Worked perfectly!