Display "upload-date" in thumbnail gallery Display "upload-date" in thumbnail gallery
 

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

Display "upload-date" in thumbnail gallery

Started by BOO3, January 28, 2005, 01:01:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BOO3

For a small fee I'd like a "upload date stamp" to display in the thumbnail gallery.

After countless hours of searching most user requests are different than mine: sort/display pictures by EXIF, modifying calendars.php, etc...none of which I want. CPG by default automatically displays upload-date with a mouse-over inside the thumbnail gallery
(Pls. see linke for example: http://coppermine.sourceforge.net/demo/thumbnails.php?album=1).

I need the date to be displayed WITHOUT a mouse over: similar to the section called "last additions."   

At this point I don't know if its possible. Maybe a freelancer is required for this particular hack. Pls. verify. Thank you.


foulu

#1
Okey, open file function.inc.php in include folder

find:

$caption .= "</span>";

and replace with:

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


BOO3

FoulU,

wow!  :o

it works. Thank you.

</Pls. close>