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

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

How to add "Uploaded by" before user

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

Previous topic - Next topic

0 Members and 2 Guests 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 김태희