How to add "Uploaded by" before user How to add "Uploaded by" before user
 

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

How to add "Uploaded by" before user

Started by fangweile, December 07, 2007, 05:22:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fangweile

What file that I must modified to add "Uploaded by" before the user name. It is displayed in thumbnails view.  ??? The current setting display only uploader name below the thumbnail. I already try to edit the displayimaget.php but seems doesn't work. Hope you could help.

Thanks in advance.
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

Joachim Müller

Is your question by chance related to images fetched by cpmFetch?

fangweile

No. I mean the thumbnails displayed at main page.
Attached here the Screen shot
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

fangweile

Alright, I already figured it out. I edited the file functions.inc.php
and find this code
$caption .= ($row['owner_id'] && $row['owner_name']) ? '<span class="thumb_title"><a href ="profile.php?uid='.$row['owner_id'].'">'.$row['owner_name'].'</a></span>' : '';

and replace it with this

$caption .= ($row['owner_id'] && $row['owner_name']) ? '<span class="thumb_title">Uploaded by: <a href ="profile.php?uid='.$row['owner_id'].'">'.$row['owner_name'].'</a></span>' : '';

Please mark this topic as SOLVED.

Thank you. ;)
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희