Who posted this photo? Who posted this photo?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Who posted this photo?

Started by digit-all.ru, June 05, 2004, 08:58:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

digit-all.ru

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

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

digit-all.ru

#2
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.

Casper

1.  Open profile.php, and find;
$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;
$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;
$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;
$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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

digit-all.ru

Thanks! Still, do take a look at that gallery. :)