coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: dke on February 04, 2008, 02:42:54 PM

Title: Add "Uploaded by Username" in "File information" in image view section
Post by: dke on February 04, 2008, 02:42:54 PM
Hi,

I'm running the latests coppermine gallery with mac osx skin. Id like to add some information to "file information".

Right above "Album Name" i would like to have something like "Uploaded by: Username"

Is this possible?
Title: Re: Add "Uploaded by Username" in "File information" in image view section
Post by: Nibbler on February 04, 2008, 02:58:19 PM
Yes. Search the board.
Title: Re: Add "Uploaded by Username" in "File information" in image view section
Post by: dke on February 04, 2008, 03:15:42 PM
I've searched and found a plugin but it does not offer to add buttons only to remove them?

http://forum.coppermine-gallery.net/index.php?topic=27407.0

Could you point me in the right direction?

Thanks for the quick reply!
Title: Re: Add "Uploaded by Username" in "File information" in image view section
Post by: Nibbler on February 04, 2008, 03:44:33 PM
http://forum.coppermine-gallery.net/index.php?topic=45671.0 should give you all the info you need.
Title: Re: Add "Uploaded by Username" in "File information" in image view section
Post by: dke on February 04, 2008, 03:59:55 PM
Thank you Nibbler, that worked perfectly.

This is what i did to achive this:

$info['Uploaded by'] = '<a href="profile.php?uid=' . $CURRENT_PIC_DATA['owner_id'] . '">' . $CURRENT_PIC_DATA['owner_name'] . '</a>';

Thanks again.