Remove Album Owner from file info? Remove Album Owner from file info?
 

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

Remove Album Owner from file info?

Started by Walkinman, October 26, 2012, 03:47:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Walkinman

Hello

I'm wondering how I can remove the album owner from being displayed in the File Info section of the display.

On this page

http://www.skolaiimages.com/stock/displayimage-122-6123-Polar-bears-at-play-Alaska.html

at the bottom you'll see File Information .. under Album Name, I see both the user name and the Album name

Album Name: sk**** / Polar Bear Photos

I would like this to only show "Polar Bear Photos" rather than the username as well. This seems to have happened since I last upgraded, and I'm not sure what to edit to remove it.

Thanks so much for your help.

Cheers

Carl

Jeff Bailey

<!--Coppermine Photo Gallery 1.5.18 (stable)-->
Please upgrade.
http://forum.coppermine-gallery.net/index.php/topic,74682.0.html

In displayimage.php
Find

$owner_link = '<a href="profile.php?uid=' . $CURRENT_PIC_DATA['owner_id'] . '">' . $cpg_udb->get_user_name($CURRENT_PIC_DATA['owner_id']) . '</a> ';

Replace with

$owner_link = '';

Untested
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Walkinman

Hey Jeff,

Awesome, thanks .. seems to be working for me .. I wasn't aware of the newer version of cpg, I'll work on upgrading soon. Thanks for the head's up.

Cheers

Carl

Jeff Bailey

No problem. Thanks for resolving your thread.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford