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 Dates  (Read 2652 times)

0 Members and 1 Guest are viewing this topic.

Forgottenmem

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Remove Dates
« Reply #1 on: March 17, 2011, 01:35:28 pm »

I looked at the thread, but I'm unable to figure out what more I need to delete.

http://forum.coppermine-gallery.net/index.php/topic,70498.0.html
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remove Dates
« Reply #2 on: March 17, 2011, 01:53:21 pm »

If you want to remove the date from the lastup album, 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);
twice.


How you can remove that data from the album info has already been answered in that thread.
Logged

Forgottenmem

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Remove Dates
« Reply #3 on: March 17, 2011, 02:26:36 pm »

Thank you. Αndré.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.