Descriptions for Last Uploaded Descriptions for Last Uploaded
 

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

Descriptions for Last Uploaded

Started by symantix, February 07, 2004, 09:00:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

symantix

Is there a way to make the descriptions for the last uploaded files appear under their thumbnails on the front page?  That doesn't appear to be an option anywhere.  Is there maybe a hack or something...a piece of code I can insert into the functions maybe?

Any help is greatly appreciated.

Nibbler

functions.inc.php changes:

line 553 becomes:


if($select_columns != '*' ) $select_columns .= ', owner_id, owner_name, aid , caption';


line 566 becomes:


$caption = $user_link.'<span class="thumb_caption">'.localised_date($row['ctime'], $lastup_date_fmt).'<br>'.$row['caption'].'</span>';


Not sure by 'description' if you wanted the caption or the title, just change as appropriate.

symantix

HAHA!  I applied that to my toprated function too.  Thank you so much for the help!