Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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
 



 
McManusSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: "Back To Profile" Link For Personal Gallery 
 
Is it not enough to use the Back button or click on the poster's name?
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
McManusSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: "Back To Profile" Link For Personal Gallery 
 
that'd be spot on!
 



 
McManusSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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}

 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: "Back To Profile" Link For Personal Gallery 
 

Thanks so much! Works a charm!
 



 
McManusSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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>';

 



 
McManusSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: "Back To Profile" Link For Personal Gallery 
 
According to my footer, I'm using 1.4.1
 



 
McManusSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: "Back To Profile" Link For Personal Gallery 
 
Me too  

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



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: "Back To Profile" Link For Personal Gallery 
 
thanks for your help!  
 



 
McManusSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron