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: Username not showing on thumbnails.  (Read 6153 times)

0 Members and 1 Guest are viewing this topic.

explorer

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Username not showing on thumbnails.
« on: November 17, 2003, 03:02:00 am »

Is there a known issue with the username only showing in "Last Uploaded" and not in the albums or other areas?

www.abandonedasylums.com/coppermine
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Username not showing on thumbnails.
« Reply #1 on: November 17, 2003, 04:50:54 am »

This is deliberate. Insert line

Code: [Select]
$caption .= '<span class="thumb_title"><a href ="profile.php?uid='.$row['owner_id'].'">'.$row['owner_name'].'</a></span>';
In function get_pic_data located inside functions.inc.php at the appropriate place.

In my stable relase copy it is line  456
Logged
SANIsoft PHP applications for E Biz

explorer

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Username not showing on thumbnails.
« Reply #2 on: November 17, 2003, 05:41:31 am »

Thanks.  Is there any particular reason for me to be wary of doing this, given that you deliberately omitted it?
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Username not showing on thumbnails.
« Reply #3 on: November 17, 2003, 06:23:18 am »

Quote from: "explorer"
Thanks.  Is there any particular reason for me to be wary of doing this, given that you deliberately omitted it?

Deliberate omission was primaraily scratching my own itch ;)

I run a personal gallery where all the pictures are by me - it is rather silly to have my name all over the place. So till the time I dont get around to making this admin settable it was omitted....
Logged
SANIsoft PHP applications for E Biz

explorer

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Username not showing on thumbnails.
« Reply #4 on: November 17, 2003, 06:43:43 am »

I'm having trouble setting this to work successfully.  Could you be a bit more specific as to where this should be inserted?

Thanks
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Username not showing on thumbnails.
« Reply #5 on: November 17, 2003, 07:19:41 am »

Have committed this as an admin settable feature in devel branch of CVS.

Should show up to the general public in a day - take a look at the functions.inc.php file here http://cvs.sourceforge.net/viewcvs.py/coppermine/devel/include/ after a day
Logged
SANIsoft PHP applications for E Biz
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.