Remove the date Remove the date
 

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]

Main Menu

Remove the date

Started by duckytn, March 12, 2005, 11:02:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

duckytn

 ;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

Casper

try this,

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

$caption = $user_link.'<span class="thumb_caption">'.localised_date($row['ctime'], $lastup_date_fmt).'</span>';

Change it to;

$caption = $user_link.'<span class="thumb_caption">' ';

There are 2 places in the file to make this change.
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

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

Casper

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

$caption = $user_link.'';
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