Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Who posted this photo?  (Read 4304 times)

0 Members and 1 Guest are viewing this topic.

digit-all.ru

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Who posted this photo?
« 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Who posted this photo?
« Reply #1 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Who posted this photo?
« Reply #2 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.
« Last Edit: June 05, 2004, 04:51:24 pm by digit-all.ru »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Who posted this photo?
« Reply #3 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Who posted this photo?
« Reply #4 on: June 06, 2004, 07:43:40 pm »

Thanks! Still, do take a look at that gallery. :)
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.