Advanced search  

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]

Pages: [1]   Go Down

Author Topic: admin's name showing in file info  (Read 3306 times)

0 Members and 1 Guest are viewing this topic.

isajade

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 67
admin's name showing in file info
« 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 :
Quote
File 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: admin's name showing in file info
« Reply #1 on: December 11, 2004, 09:49:30 am »

edit displayimage.php, modify
Code: [Select]
    $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
Logged

isajade

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 67
Re: admin's name showing in file info
« Reply #2 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  :)
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: admin's name showing in file info
« Reply #3 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?
Logged
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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 67
Re: admin's name showing in file info
« Reply #4 on: December 12, 2004, 01:39:06 am »

I'd like all the owner names to be removed.

So I've removed
Code: [Select]
$owner_link . $ipinfo .
so the line is :

Code: [Select]
$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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: admin's name showing in file info
« Reply #5 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.
Logged
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
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.