View Full Version : Fixing Navbar links? Gallery to vBulletin
August 10th, 2008, 12:34 PM
I know this is probably a lame question but ... I've got some bad links in my navbar from the Gallery to vBulletin specifically:
Correct vBulletin link to blogs // xxxxxxxxxxxx /vb/blog.php
From Gallery the link is // xxxxxxxxxxx /photopost/blog.php
Correct vBulletin link to Flashchat // xxxxxxxxxxxx /vb/chat/flashchat.php
From Gallery the link is // xxxxxxxxxxx /photopost/flashchat.php
Where/how do I fix this?:o
Thanks in advance.
August 10th, 2008, 01:03 PM
In your navbar you would correct any relative links to the files to full url.
Now your blog link would be in the blog_navbar_link template I beleive.
If you correct those relative links to full url your issue will be gone.
August 10th, 2008, 03:58 PM
Can you tell me how to do that? :o Here's the code "as is" for the navbar & the blog_navabar_link. The links work fine in the vbulletin side.
:D The good news is that I fixed the flashchat link. B=0
<td class="vbmenu_control"><a href="http://www.photopost.com/forum/photopost-pro-how-do-i/blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></td>
:confused: "<a href="http://xxxxxxxxxxxxxxx.net/vb/blog.php$session[sessionurl_q]">$vbphrase[blogs]
EDIT: Thanks! Got it! Appreciate your help.
August 10th, 2008, 10:34 PM
Yes thats it full url will work ;)
December 2nd, 2012, 09:00 AM
sorry for my bad english!
Canīt find a template called blog_navbar_link.
The same Problem by glossary, activity and Home.
Using VB 4.2.0 and PhotoPost PHP Pro v8.23
December 2nd, 2012, 09:10 AM
Different product that you are referencing since your talking a 4 year old thread where as vb 4.2 series did not exist. ;)
My suggestion would be in vb 4.2 series go to the vb navigation mananger and make sure any links you have in there are full urls. If you want to use relative urls then in your vb settings you definately want to make sure under the url section you turn on base url setting to yes.
December 2nd, 2012, 09:58 AM
yes I know this post was older, but I found no better. At least with my limited linguistic possibilities.
I can not use this solution, because I have multiple domain names for the forum.
The solution I found -> vbulletin settings -> Navigationbar settings
December 2nd, 2012, 12:44 PM
Well definately an interesting setup indeed but the issue is pretty simple in that if you use relative urls in links what that tells the browser is try to search for the link in the actual directory your in which causes the issue which is why any tutorial you will see will revolve about use full urls or set in the page a base_url meta tag which vbulletin does allow to use a base url for any relative links.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.