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: Modification of center random block  (Read 4552 times)

0 Members and 1 Guest are viewing this topic.

mohalam

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Modification of center random block
« on: October 19, 2003, 02:39:34 am »

Hi,
is there any way that I can change the center random block so the just display the image without the picture name.?
please help
Logged

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
Center Block Mod
« Reply #1 on: October 19, 2003, 02:47:49 am »

change line 63 from
Code: [Select]
$content .= "<td><a href=\"modules.php?name=coppermine&file=displayimage&album=random&cat=&pos=-{$picture['pid']}\">$img<br>" . truncate_string444c($picture['filename']) . "</a></td>";

to
Code: [Select]
$content .= "<td><a href=\"modules.php?name=coppermine&file=displayimage&album=random&cat=&pos=-{$picture['pid']}\">$img</a></td>";

mohalam

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Modification of center random block
« Reply #2 on: October 19, 2003, 01:12:16 pm »

Thank you very much,
it worked!!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 14 queries.