PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Fixing Navbar links? Gallery to vBulletin (http://www.photopost.com/forum/photopost-pro-how-do-i/137529-fixing-navbar-links-gallery-vbulletin.html)

JKatz August 10th, 2008 12:34 PM

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.

Chuck S 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.

JKatz 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


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.

Chuck S August 10th, 2008 10:34 PM

Yes thats it full url will work ;)

Tom50354 December 2nd, 2012 09:00 AM

Quote:

Originally Posted by JKatz (Post 1230126)
blog_navbar_link

Hello,

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

Chuck S 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.

Tom50354 December 2nd, 2012 09:58 AM

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

Chuck S 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.


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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97