coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: isajade on December 11, 2004, 03:41:52 AM

Title: admin's name showing in file info
Post by: isajade on December 11, 2004, 03:41:52 AM
hi,
thanks for viewing my post.

my admin's name is showing in the pic info. how can I delete it?
exemple :
QuoteFile information
Filename: aly_08.jpg
Album name: **** my admin's name / Alyson Hannigan
File Size: 161 KB
Dimensions: 780 x 1155 pixels
Displayed: 1 times
URL: http://......
Favorites: Add to Favorites

thanks for your help
Title: Re: admin's name showing in file info
Post by: Joachim Müller on December 11, 2004, 09:49:30 AM
edit displayimage.php, modify    $info[$lang_picinfo['Album name']] = '<span class="alblink">' . $owner_link . $ipinfo . '<a href="thumbnails.php?album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'] . '</a></span>';as you want.

Joachim
Title: Re: admin's name showing in file info
Post by: isajade on December 12, 2004, 01:24:02 AM
thanks a lot, I've found the file and line.

I'm very new at this, what do I remove exactly to remove only the admin's name (and leave only the album's name)

thanks a lot  :)
Title: Re: admin's name showing in file info
Post by: kegobeer on December 12, 2004, 01:29:22 AM
The change Joachim suggests will remove all owner names from pic info, not just the admin's.  Is this what you want, or do you just not want your admin name listed?
Title: Re: admin's name showing in file info
Post by: isajade on December 12, 2004, 01:39:06 AM
I'd like all the owner names to be removed.

So I've removed $owner_link . $ipinfo .

so the line is :

$info[$lang_picinfo['Album name']] = '<span class="alblink">' . '<a href="thumbnails.php?album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'] . '</a></span>';

Is it ok?  :)

thanks for your help
Title: Re: admin's name showing in file info
Post by: kegobeer on December 12, 2004, 02:01:42 AM
You can leave the $ipinfo variable in there - only the admin can see it, but it's ok if you remove it.