forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: digit-all.ru on June 05, 2004, 08:58:06 am

Title: Who posted this photo?
Post by: digit-all.ru on June 05, 2004, 08:58:06 am
I'm not an advanced user of CPG, but I did not find the possibility of grouping photos by author.
For example, different people add photos to various albums in various categories. Then someone sees a picture and wants to see more pictures by the same author. As far as I understand, this is not possible now. Is it? It's not even possible to see who added the picture to a general album or even into a personal album.
Comments can be added, but if the person who leaves a comment, also has pictures in the gallery, you cannot click on his name to pics he posted.
That's about it for now.

Digit-all.ru
Title: Re: Who posted this photo?
Post by: Casper on June 05, 2004, 12:16:22 pm
You can do this from the user profile.
If you look at the pic info (click on the i icon if info not displayed by default), you will see the name of the uploader next to the album name.
Clicking on the name takes you to the users profile, where you will see 2 thumbnails.
Clicking on the left thumb takes you to a meta album containing all the pics uploaded by this user. The right thumb shows all comments made by this user.

If the user name is displayed under the thumb, then clicking on that also takes you to the profile.
Title: Re: Who posted this photo?
Post by: digit-all.ru on June 05, 2004, 03:54:13 pm
Ok, got it.
1. In which file do I add a phrase "see other photos by this author" near the left thumbnail and "read comments by the author" near the right thumbnail.
2. Why is it that some photos do not have the author link in the file info? example - http://photogallery.digit-all.ru/displayimage.php?album=19&pos=1  Is it because they were uploaded by an administrator?
3. Do you plan to add a possibility of putting a photo of the author in the profile?
4. If a user put an image into a wrong album, he cannot fix it himself? Or delete any of the pictures he added to public albums?
5. This is not a specific feature recommendation, but I suppose, one could get interesting ideas from this gallery: http://www.photosight.ru   For instance, the users have different status levels like beginner, master, guru, and visitors vote for an upgrade or downgrade of the author's status. The visitors can select specific parts of the photos to show something and comment on it. And so on.

Thanks for your explanation.
Title: Re: Who posted this photo?
Post by: Casper on June 05, 2004, 05:35:17 pm
1.  Open profile.php, and find;
Code: [Select]
$user_thumb = "<td width=\"50%\" valign=\"top\" align=\"center\"><a href=\"thumbnails.php?album=lastupby&uid=" . $uid . "\"><img src=\"" . get_pic_url($picture, 'thumb') . "\" {$image_size['geom']} alt=\"\" border=\"0\" class=\"image\" /></a></td>";
Change it to;
Code: [Select]
$user_thumb = "<td width=\"50%\" valign=\"top\" align=\"center\"><a href=\"thumbnails.php?album=lastupby&uid=" . $uid . "\"><img src=\"" . get_pic_url($picture, 'thumb') . "\" {$image_size['geom']} alt=\"\" border=\"0\" class=\"image\" /></a><br>Click to see members pictures</td>";
Now find;
Code: [Select]
$lastcom .= "<span class=\"thumb_caption\"><b>" . $row['msg_author'] . '</b></span>' . "<span class=\"thumb_caption\">" . localised_date($row['msg_date'], $lastcom_date_fmt) . '</span>' . "<span class=\"thumb_caption\">" . $row['msg_body'] . '</span> ';
and change it to;
Code: [Select]
$lastcom .= "<span class=\"thumb_caption\"><b>" . $row['msg_author'] . '</b></span>' . "<span class=\"thumb_caption\">" . localised_date($row['msg_date'], $lastcom_date_fmt) . '</span>' . "<span class=\"thumb_caption\">" . $row['msg_body'] . '</span><br>Click to see members Comments</td>';

2.  In version 1.2 and earlier, the name of admin is not shown, unless uploaded in 'user mode'.  This is changed in version 1.3, but will not apply to pics already in the database.

3. Not afaik, but there may be a mod available.

Please only 1 subject/question per thread.
Title: Re: Who posted this photo?
Post by: digit-all.ru on June 06, 2004, 07:43:40 pm
Thanks! Still, do take a look at that gallery. :)