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 date below last upload thumbnails  (Read 3742 times)

0 Members and 1 Guest are viewing this topic.

mr.bena

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Remove date below last upload thumbnails
« on: March 13, 2012, 01:41:22 pm »

Hi, I would like to know how to remove the upload dates which display below the thumbnails of "Last Uploads". I set the upload dates not to appear below the thumbnails through config. The upload dates do not appear below other categories except the "Last Uploads" files.

Help will be appreciated..

Benjamin. 
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remove date below last upload thumbnails
« Reply #1 on: March 13, 2012, 05:16:27 pm »

Open include/functions.inc.php, find
Code: [Select]
        if ($set_caption) {
            build_caption($rowset, array('ctime'));
        }

        $rowset = CPGPluginAPI::filter('thumb_caption_lastup', $rowset);
and replace with
Code: [Select]
        if ($set_caption) {
            build_caption($rowset);
        }

        $rowset = CPGPluginAPI::filter('thumb_caption_lastup', $rowset);
Logged

mr.bena

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Re: Remove date below last upload thumbnails
« Reply #2 on: March 13, 2012, 07:05:15 pm »

It works! Thank you so much for your help.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.