View Single Post
Old May 8th, 2006, 10:13 AM   #3 (permalink)
Zinc
Junior Member
Verified Customer
 
Join Date: Apr 2006
Location: Llandudno
Posts: 3
Link problem fixed

Quote:
Originally Posted by Zachariah
Hello,
I think your looking for a template.

AdminCP => Styles & Templates => adv_gallery_navbar
Hi, thanks for your reply. I don't actually have that template and as menubar.tmpl has nothing in it to edit I had to fix my broken profile link on the main PP navbar by editing the file 'pp-inc.php' (line numbers 2137 - 2170 if anyone else has this problem)

Find: "member.php?uid=" and change to: "member.php/uid/" if you're getting a 404 error.

- (Edit English.php to alter the text displayed on the PhotoPost navbar)

My link was broken due to either my recent vBSEO installation, or my server not liking the spider friendly urls setting in PhotoPost. However, I wanted to fix this problem without turning it off

Also while i'm on the subject, if anyone also has a broken link (as I did) when clicking the 'username' which is displayed at the top of 'photo details' (the box you see directly underneath while viewing a picture, "Poster:") the file you need to fix the url in resides in the template called 'showphoto.tmpl' - the link is in the middle of the block below:

<td class="{$Style['tddetails']}" align="center" valign="top">
<span class="{$Style['small']}"><b>{$Globals['pp_lang']['poster']}:</b> <a href="{$Globals['maindir']}/member.php?uid=$iuserid">$photouser</a>&nbsp;
(<a href="{$Globals['maindir']}/showgallery.php?cat=500&amp;ppuser=$iuserid">{$Globals['pp_lang']['seeall']}</a>)$userip<br /><br />

Remove the ? and the = and replace with /
/member.php/uid/
Zinc is offline   Reply With Quote