admin's name showing in file info admin's name showing in file info
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

admin's name showing in file info

Started by isajade, December 11, 2004, 03:41:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

isajade

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

Joachim Müller

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

isajade

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  :)

kegobeer

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?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

isajade

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

kegobeer

You can leave the $ipinfo variable in there - only the admin can see it, but it's ok if you remove it.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots