vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v3.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 07-08-2009, 02:50 PM
AbadiRed AbadiRed is offline
Helicopter Addict
 
Join Date: Dec 2005
Posts: 51
Default navbar question

Hi,

I have these codes on my navbar template:

Code:
<if condition="THIS_SCRIPT != 'adv_index'">
<td class="vbmenu_control"><a href="$vboptions[homeurl]?$session[sessionurl]">Home</a></td>
</if>
<if condition="THIS_SCRIPT != 'index'">
   <td class="vbmenu_control"><a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]">Forums</a></td>
</if>  
<if condition="THIS_SCRIPT != 'gallery'">
<td class="vbmenu_control"><a href="$vboptions[homeurl]/gallery/?$session[sessionurl]">Photo Gallery</a></td>
</if>
<if condition="THIS_SCRIPT != 'chat'">
<td class="vbmenu_control"><a href="$vboptions[bburl]/misc.php?do=flashchat&room=3">Chatbox</a></td>
</if>
They are all works fine in each session except when I'm in "Links Directory" session. I just can't click "Forum" right. It will points me to:

http://www.mysite.com/forums/http://www.mysite.com/links/index.php? instead of http://www.mysite.com/forums/?

How can I fix this issue? thanks
Attached Images
File Type: jpg navbar.jpg (26.3 KB, 9 views)
Reply With Quote
  #2  
Old 07-09-2009, 09:47 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Try linking to "/forums/$vboptions[forumhome].php$session[sessionurl_q]" instead.
Reply With Quote
  #3  
Old 07-09-2009, 12:39 PM
AbadiRed AbadiRed is offline
Helicopter Addict
 
Join Date: Dec 2005
Posts: 51
Default

No luck, it keeps pointing to:

http://www.mysite.com/forums/http://www.mysite.com/links/index.php?

I'm curious why repeating address twice...
Reply With Quote
  #4  
Old 07-10-2009, 11:16 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

I'm sorry, I must not have been thinking... It's the $vboptions[forumhome] variable that's likely causing the issue. Assuming you haven't renamed your vBulletin index.php file, either of these links should work (if you have renamed the file, of curse just replace 'index' in the link).

/forums/index.php$session[sessionurl_q]
$vboptions[bburl]/index.php$session[sessionurl_q]
Reply With Quote
  #5  
Old 07-12-2009, 11:21 AM
AbadiRed AbadiRed is offline
Helicopter Addict
 
Join Date: Dec 2005
Posts: 51
Default

Once again, Thanks Brian!
I love vBadvanced
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
navbar question Lionel Troubleshooting / "How do I..." Questions 4 06-26-2006 05:41 PM
Navbar Question azntfl "How Do I..." Questions 2 05-02-2006 02:07 AM
Navbar question alex4473 Troubleshooting / "How do I..." Questions 7 02-01-2005 12:36 PM
Navbar question wirewolf Troubleshooting & Problems 5 12-28-2004 12:28 PM


All times are GMT -4. The time now is 10:46 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.