Hi,
I´d like to remove my usename from the file information under Album name.. Since upgrading to CPG.1.3, this is shown. I know enough to modify the php to remove it but cannot seem to find the appropriate file to modify... a Pointer in the right direction would be appreciated..
Thanks in Advance
George
Go into config, and you can turn it off there.
Quote from: Casper on June 21, 2004, 01:26:03 PM
Go into config, and you can turn it off there.
Hi casper,
I don´t want to turn off the file info completely, just remove my username from being shown - if you could point me at the file I have to modify, I can take it from there ;)
Cheers
George
PS... unless I am missing something blindingly obvious in the config that is...
No, I misread your first post, thought you were asking about the name under the thumb. Will get back to you.
OK George,
open displayimage.php, and find;
if ($CURRENT_PIC_DATA['owner_id'] && $CURRENT_PIC_DATA['owner_name']) {
$owner_link = '<a href ="profile.php?uid=' . $CURRENT_PIC_DATA['owner_id'] . '">' . $CURRENT_PIC_DATA['owner_name'] . '</a> ';
} else {
$owner_link = '';
}
Comment it all out, like this;
// if ($CURRENT_PIC_DATA['owner_id'] && $CURRENT_PIC_DATA['owner_name']) {
// $owner_link = '<a href ="profile.php?uid=' . $CURRENT_PIC_DATA['owner_id'] . '">' . $CURRENT_PIC_DATA['owner_name'] . '</a> ';
// } else {
// $owner_link = '';
// }
When in admin mode, you (admin) will still see the ip address of the uploader, but users will not, just the album name.
Casper,
Works perfectly... manymany thanks ;D
George