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: Remove uploader from picture info  (Read 2497 times)

0 Members and 1 Guest are viewing this topic.

darkpollo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 73
Remove uploader from picture info
« on: December 11, 2007, 07:16:57 pm »

I am sure that the question must be on the forum, but i have searched a lot of words and i didnt find anything.
It is a easy question, sure.

I want to edit the pic info (not find how to do that) and remove
the "Album name" text.
It shows the uploader name with a link to the profile and a link to the album. I want to remove the uploader, or if it is not possible, remove the line.

   Album name:  username / album  -> Album name:  album

Thanks!
Logged

Marius

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
    • Desktop Wallpapers RO
Re: Remove uploader from picture info
« Reply #1 on: March 07, 2008, 09:39:33 pm »

In root/displayimage.php search this, around line 110 (v. 1.4.16):
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>';and replace with:
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>';
This works for me.
Remember to always make backups if something goes wrong
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Remove uploader from picture info
« Reply #2 on: March 08, 2008, 12:37:42 pm »

Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.