Hi, I was wondering if there is any way to add the uploaders name under the pics uploaded on the rectent uploads. Right now it's the date, can I add the name or exchange that date for the name? That way we know who did it quick by looking? Thanks :)
Anyone know this?? ???
I'm trying to find out how I can have the uploaders name under the photos on the C.B. right now it displays the date it was uploaded (only random images and recent uploads) but I would rather have their names, does coppermine offer this as a hack or is there a way to fix this? Amy ;D
Don't double post. >:( I merged your identical topic into your original. Starting another thread doesn't get help any quicker.
The second post I was trying to put under the hack boards >:( no reason to get mad >:( So do you know if this is even possible?
There's a config option to add uploader name under all thumbs, for specifically last uploads just force the switch
functions.inc.php, look for 'lastup', then find:
$user_link = ($CONFIG['display_uploader'] && $row['owner_id'] && $row['owner_name']) ? '<span class="thumb_title"><a href ="profile.php?uid='.$row['owner_id'].'">'.$row['owner_name'].'</a></span>' : '';
chang it to:
$user_link = ($row['owner_id'] && $row['owner_name']) ? '<span class="thumb_title"><a href ="profile.php?uid='.$row['owner_id'].'">'.$row['owner_name'].'</a></span>' : '';
To kill the date, chnage the next 2 lines
$caption = $user_link.'<span class="thumb_caption">'.localised_date($row['ctime'], $lastup_date_fmt).'</span>';
$rowset[$key]['caption_text'] = $caption;
to
$rowset[$key]['caption_text'] = $user_link;