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
FAP CUSTOMIZATION - User Personal Galleries Page Customization
Subject: Re: User Personal Galleries Page Customization
looks fine to me, all it needs is a few pictures now
:D
:D
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
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.
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.
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
Last edited by lefty74 on Sun 15 Jul, 2007 20:50; edited 1 time in total
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.
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) | |
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.
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
in file album_personal_index.php
for this query
Can you help.
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
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
$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
";
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?
could this be?
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.!!!
only tested briefly so backup files before trying.!!!
Subject: Re: User Personal Galleries Page Customization
Thanks for the files.
I am posting the working files here.
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)
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?
Any ideas?
Page 1 of 2
You cannot post new topicsYou 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.2896s (PHP: 7% SQL: 93%)
SQL queries: 15 - Debug Off - GZIP Enabled
