News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

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 김태희