Remove the date Remove the date
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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