![]() |
Fixing Navbar links? Gallery to vBulletin 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. |
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. |
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 blog_navbar_link Code: Content visible to verified customers only.:confused: "<a href="http://xxxxxxxxxxxxxxx.net/vb/blog.php$session[sessionurl_q]">$vbphrase[blogs] EDIT: Thanks! Got it! Appreciate your help. |
Yes thats it full url will work ;) |
Quote:
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 -- Tom |
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. |
Hello, 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 Thanks -- Tom |
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. |
| All times are GMT -5. The time now is 01:27 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0