FAP CUSTOMIZATION - User Personal Galleries Page Customization


Subject: FAP CUSTOMIZATION - User Personal Galleries Page Customization
Hi, Thanks for a superb MOD.

I have seen many forums have customized their users personal galleries page to show thumbnail, latest comment, number of times viewed etc.
The format looks like
User Thumbnail posting date latest comment number of times viewed etc.
I have seen such an album here -http://www.lefty74.com/forum/album.php

Also, I downloaded this MOD from phpbbhacks, so I just wanted to check if my files are ok. My album page doesnt show latest pics, random pics etc. I currently do not have any Public category or pictures, but have few personal user galleries.
Can someone kindly check if it is fine here http://www.newindianmodels.com/forum/album.php

Subject: Re: User Personal Galleries Page Customization
looks fine to me, all it needs is a few pictures now
:D

Profile PM  
Subject: Re: User Personal Galleries Page Customization
Hi lefty

Actually I have removed that MOD now since it did not do anything.
What I want is my users personal galleries page to appear like yours at http://www.lefty74.com/forum/album_personal_index.php

Subject: Re: User Personal Galleries Page Customization
I will post my files later if anyone else wants to have them, however, you need to be aware that there may be some code edits that are referring to other mods. I don't have time to go through it to see which ones they are so you will need to check yourself.

Profile PM  
Subject: Re: User Personal Galleries Page Customization
Will check that, can u be kind enough to point me in the right direction. Which all files do I need to edit and where are the thumbnails being generated (the code) that I can put in the layout.

Also, if u can guide me to put latest thumbnail picture (if the user has created an album and uploaded any pic) in-place of avatar in posts.

Subject: Re: User Personal Galleries Page Customization
here it is
I think i cleaned out the code from other mods,
the album_personal_index.php goes into the root folder, the language file in the language folder and the album_personal_index.tpl file in your template folder

I strongly recommend to make a back up of your board and files before doing any changes.

Last edited by lefty74 on Sun 15 Jul, 2007 20:50; edited 1 time in total

org.zip
Description: updated files,
includes the modified album_upload file, every file uploaded is automatically set as new avatar 

Download
Filename: org.zip
Filesize: 15.59 KB
Downloaded: 217 Time(s)

Profile PM  
Subject: Re: User Personal Galleries Page Customization
Thanks lefty,

I will manage the rest.

Just one more favor ... what if I need to use the thumbnail of the last uploaded picture as avatar or may be I completely remove the avatar option and instead show the thumbnail of recently uploaded picture below the username in the posts on left side. I already have a MOD to put a link to user's personal album below avatar, I just want to replace it with latest thumbnail. Can you guide me a bit which files need to be edited and where is the code for thumbnail.

Subject: Re: User Personal Galleries Page Customization
Its not working. I guess I need to have a closer look to rectify the problems.

Subject: Re: User Personal Galleries Page Customization
I am getting this error
Code: [Download] [Hide] [Select]
SQL error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND p.pic_id = AND ct.cat_view_level IN ('-1','0','1','2','3') ORDER BY p' at line 5

SELECT ct.cat_id, ct.cat_view_level, p.pic_id, p.pic_title, p.pic_desc, p.pic_time FROM phpbb_album AS p LEFT JOIN phpbb_album_cat AS ct ON p.pic_cat_id = ct.cat_id WHERE p.pic_user_id = AND p.pic_id = AND ct.cat_view_level IN ('-1','0','1','2','3') ORDER BY p.pic_id desc LIMIT 1

in file album_personal_index.php

for this query
Code: [Download] [Hide] [Select]
$sql = "SELECT ct.cat_id, ct.cat_view_level, p.pic_id, p.pic_title, p.pic_desc, p.pic_time
FROM ". ALBUM_TABLE ." AS p
LEFT JOIN ". ALBUM_CAT_TABLE ." AS ct ON p.pic_cat_id = ct.cat_id
WHERE p.pic_user_id = " . $user_id ."
AND p.pic_id = " . $memberrow[$i]['last_pic'] . "
AND ct.cat_view_level IN ($cat_view_level)
ORDER BY p.pic_id desc
LIMIT 1
";

Can you help.

Subject: Re: User Personal Galleries Page Customization
strange, if i am not mistaken, it looks like there are no pictures to be found in the personal galleries...

could this be?

Profile PM  
Subject: Re: User Personal Galleries Page Customization
updated the attachments. now also includes modified album_upload.php file that sets the uploaded file as your avatar by default.

only tested briefly so backup files before trying.!!!

Profile PM  
Subject: Re: User Personal Galleries Page Customization
Thanks for the files.
I am posting the working files here.


album_personal_index_body.zip
Description:  
Download
Filename: album_personal_index_body.zip
Filesize: 5.19 KB
Downloaded: 205 Time(s)

Subject: Re: User Personal Galleries Page Customization
Thanks Lefty and nims. I like the layout. 8)

Profile PM  
Subject: Re: User Personal Galleries Page Customization
This is my personal gallery list

http://www.500forum.it/member-galleries.html

Why thumb not appaer?

Subject: Re: User Personal Galleries Page Customization
I haven't had time to look at the files but Lefty this mod doesn't work with latest version of ICY.

Any ideas?

Profile PM  

Page 1 of 2


  
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.155s (PHP: 13% SQL: 87%)
SQL queries: 12 - Debug Off - GZIP Enabled