coppermine-gallery.com/forum

Support => Older/other versions => cpg1.1.X Support (standalone) => Topic started by: explorer on November 17, 2003, 03:02:00 AM

Title: Username not showing on thumbnails.
Post by: explorer 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
Title: Username not showing on thumbnails.
Post by: Tarique Sani on November 17, 2003, 04:50:54 AM
This is deliberate. Insert line

$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
Title: Username not showing on thumbnails.
Post by: explorer 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?
Title: Username not showing on thumbnails.
Post by: Tarique Sani 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....
Title: Username not showing on thumbnails.
Post by: explorer 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
Title: Username not showing on thumbnails.
Post by: Tarique Sani 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