Can I add names under the pics? Can I add names under the pics?
 

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

Can I add names under the pics?

Started by amy0603, May 22, 2005, 03:10:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

amy0603

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 :)

amy0603


amy0603

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

kegobeer

Don't double post.   >:(  I merged your identical topic into your original.  Starting another thread doesn't get help any quicker.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

amy0603

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? 

Nibbler

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;