photopost 2.3.4 relative links in the navbar not working!!

networker007

New Member
Code:
In your vbgallery admin section under header replacements you must put
the filenames in there like they are in navbar replacements as your style you
have links in the header which are not usually in a normal vb.

ok, i have do that - doesnt cean my problem. then i found this:

Code:
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.

but HOW i can Do that?? Anyone help me with detail instructions??

many thanks!!
 
Moved to how to section. This is NOT a mod release... Stop posting in the wrong section.

On a lighter note, have you ever thought you installed your Vbulletin wrong since your having all of this nav issue stuff?

I have a funny feeling either you installed something improperly or you simply installed your VB wrong...
 
you need to add any extra links in the header replacement section on the settings.

its pretty straight forward

just put filename.php

filename being whatever link is not working.
 
I'm seeing a ton of these threads having to do with fixing the issue with relative links in templates. This is the bug which occurs in an integrated PP and vB setup in which the navbar links and the login form change to that of the photopost installation, thus becoming invalid.

What you need to go to first is either the 'navbar' or 'header' template. My eXtremepixels skin had navbar links in the 'header' template.

'header':
Styles & Templates --> Style Manager --> All Style Options --> Edit Templates --> header

'navbar':
Styles & Templates --> Style Manager --> All Style Options --> Edit Templates --> Navigation / Breadcrumb templates --> navbar

Note: These links may not be EXACT in your skin, but they will be SIMILAR.

Fixing the navbar:
Find:
Code:

$vboptions[forumhome].php?$session[sessionurl]

Replace with:
Code:

http://yourdomain.com/yourforum/$vboptions[forumhome].php?$session[sessionurl]

Where http://yourdomian.com corresponds to your domain and yourforum corresponds to your vB installation.


Just copy and paste http://yourdomain.com/yourforum/ in front of the rest of the following links. You will have to find each one of these links in your template.:

Code:

usercp.php$session[sessionurl_q]
register.php$session[sessionurl_q]
blog.php$session[sessionurl_q]
faq.php$session[sessionurl_q]
memberlist.php$session[sessionurl_q]
calendar.php$session[sessionurl_q]
search.php?$session[sessionurl]do=getnew
search.php?$session[sessionurl]do=getdaily
search.php$session[sessionurl_q]
$show[nojs_link]#usercptools
search.php$session[sessionurl_q]
search.php?$session[sessionurl]do=getnew
search.php?$session[sessionurl]do=getdaily
forumdisplay.php?$session[sessionurl]do=markread
# (NOTE: This refers to the '#' in <a href='#' )
login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]

The end result should be like this after you've gone through and edited all of the links:

Code:

http://yourdomain.com/yourforum/usercp.php$session[sessionurl_q]
http://yourdomain.com/yourforum/register.php$session[sessionurl_q]
http://yourdomain.com/yourforum/blog.php$session[sessionurl_q]
http://yourdomain.com/yourforum/faq.php$session[sessionurl_q]
http://yourdomain.com/yourforum/memberlist.php$session[sessionurl_q]
http://yourdomain.com/yourforum/calendar.php$session[sessionurl_q]
http://yourdomain.com/yourforum/search.php?$session[sessionurl]do=getnew
http://yourdomain.com/yourforum/search.php?$session[sessionurl]do=getdaily
http://yourdomain.com/yourforum/search.php$session[sessionurl_q]
http://yourdomain.com/yourforum/$show[nojs_link]#usercptools
http://yourdomain.com/yourforum/search.php$session[sessionurl_q]
http://yourdomain.com/yourforum/search.php?$session[sessionurl]do=getnew
http://yourdomain.com/yourforum/search.php?$session[sessionurl]do=getdaily
http://yourdomain.com/yourforum/forumdisplay.php?$session[sessionurl]do=markread
http://yourdomain.com/yourforum/#
http://yourdomain.com/yourforum/login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]

Then click "Save and Reload"


Fixing the login form:
My login form was in 'navbar', but yours may be different. To find it go to:

Styles & Templates --> Search in Templates --> In "Search for Text", enter:
<!-- login form -->

In "Search in Style", select your style. Then click "Find". Then double-click on the template name found after the search.

Find <!-- login form --> and look for:
Code:

<form action="login.php?do=login"

Change it to:
Code:

<form action="http://yourdomain.com/yourforum/login.php?do=login"

Then click "Save and Reload"


That should fix (MOST) of the navbar links, and will fix the login form. This is not a complete guide. Hopefully someone else can add some more links which were not covered. A couple of these are "Social Groups" and "Pictures & Albums" under Networking under Quick Links.
 
Back
Top