FAP CUSTOMIZATION - "Back To Profile" Link For Personal Gallery


Subject: FAP CUSTOMIZATION - "Back To Profile" Link For Personal Gallery
I really want a "back to profile" link when viewing personal galleries.
Whenever I edit an album tpl, it's not changing a thing. I've emptied my cache, but still, the same.
So a quick cry for help, pleeeease, any done this?
Thanks

Subject: Re: "Back To Profile" Link For Personal Gallery
Is it not enough to use the Back button or click on the poster's name?

Profile PM  
Subject: Re: "Back To Profile" Link For Personal Gallery
although that makes sense, no not really.
the aim is to make things idiot-frendly.
I've got links to personal galleries from user profiles, and it'd be nice to have links back again.
There's a whole world of people who can only navigate themselves round myspace and just breakdown on other sites, LOL.

Subject: Re: "Back To Profile" Link For Personal Gallery
How about just a link to the user profile....Back To would not be appropriate as you don't always get to the user's personal gallery by way of their profile.

Profile PM  
Subject: Re: "Back To Profile" Link For Personal Gallery
that'd be spot on!

Subject: Re: "Back To Profile" Link For Personal Gallery
Give this a try...

OPEN album_mod/album_personal.php

FIND
Code: [Download] [Hide] [Select]
$download_full_link = '<a href="' . $download_link . '"><img src="' . $download_img . '" border="0" alt="' . $lang['Download_page'] . '" title="' . $lang['Download_page'] . '" align="middle" /></a>';

AFTER ADD
Code: [Download] [Hide] [Select]
$poster_profile_link = '<a href="'. append_sid(PROFILE_MG . '?mode=viewprofile&amp;' . POST_USERS_URL .'='. $album_user_id) .'">'. $username .''s Profile</a>';


FIND
Code: [Download] [Hide] [Select]
'UPLOAD_FULL_LINK' => $upload_full_link,

AFTER ADD
Code: [Download] [Hide] [Select]
'POSTER_PROFILE' => $poster_profile_link,


OPEN templates/YOUR TEMPLATE/album_cat_body.tpl

FIND
Code: [Download] [Hide] [Select]
<span class="gensmall"><b>{SLIDESHOW}&nbsp;</b></span>

IN-LINE, BEFORE ADD
Code: [Download] [Hide] [Select]
{POSTER_PROFILE}

Profile PM  
Subject: Re: "Back To Profile" Link For Personal Gallery
:mricy:
Thanks so much! Works a charm!

Subject: Re: "Back To Profile" Link For Personal Gallery
McManus wrote: [View Post]
Works a charm!

I should've tested the link first.

I had to change a little bit to get it working.
in album_mod/album_personal.php
instead of
Code: [Download] [Hide] [Select]
$poster_profile_link = '<a href="'. append_sid(PROFILE_MG . '?mode=viewprofile&amp;' . POST_USERS_URL .'='. $album_user_id) .'">'. $username .''s Profile</a>';

i added this to get it working
Code: [Download] [Hide] [Select]
$poster_profile_link = '<a href="'. append_sid('profile.' . $phpEx . '?mode=viewprofile&amp;' . POST_USERS_URL .'='. $album_user_id) .'">'. $username .''s Profile</a>';

Subject: Re: "Back To Profile" Link For Personal Gallery
You must not be using the lastest release of FAP.
It should work as is for FAP version 1.4.1

Profile PM  
Subject: Re: "Back To Profile" Link For Personal Gallery
According to my footer, I'm using 1.4.1

Subject: Re: "Back To Profile" Link For Personal Gallery
Me too :mricy:

Oh well, as long as you got it to work that's all that really matters.

Profile PM  
Subject: Re: "Back To Profile" Link For Personal Gallery
thanks for your help! :up:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0895s (PHP: 21% SQL: 79%)
SQL queries: 10 - Debug Off - GZIP Enabled