Descriptions for Last Uploaded Descriptions for Last Uploaded
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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!