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 the date  (Read 2762 times)

0 Members and 1 Guest are viewing this topic.

duckytn

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Remove the date
« on: March 12, 2005, 11:02:59 pm »

 ;D Good Afternoon,

I am skinning coppermine for my site. I would like to remove the date from beneath the Last Additions thumbnails as a number of the pics I am adding are many years old and some folks might not grasp that with a date being displayed. I have looked through the forums and can't seem to find anything specific for this. I am using the latest stable release.

Cheers!

ducky
« Last Edit: March 13, 2005, 08:24:31 pm by TranzNDance »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Remove the date
« Reply #1 on: March 13, 2005, 11:42:09 am »

try this,

open include/functions.inc.php, and find;

Code: [Select]
$caption = $user_link.'<span class="thumb_caption">'.localised_date($row['ctime'], $lastup_date_fmt).'</span>';
Change it to;

Code: [Select]
$caption = $user_link.'<span class="thumb_caption">' ';
There are 2 places in the file to make this change.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

duckytn

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Remove the date
« Reply #2 on: March 13, 2005, 04:16:27 pm »

Had to make one small modifcation to what you posted. It would appear that the </span> is required in the altered code for it to work. After I made that change it worked like a charm!!

 ;D ;D

I really apprecaite your help!!

Cheers!

ducky
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Remove the date
« Reply #3 on: March 13, 2005, 04:39:48 pm »

Yes, just realised I made a mistake with the post.  I meant to change it to this;

Code: [Select]
$caption = $user_link.'';
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.