Advanced search  

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

Pages: [1]   Go Down

Author Topic: removing updated date under thumbnail  (Read 5096 times)

0 Members and 1 Guest are viewing this topic.

KOREntertainment

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
removing updated date under thumbnail
« on: December 01, 2010, 09:21:28 pm »

Is there a way to remove the date the album was last updated under the thumbnail view?

http://korentertainment.net/gallery2/
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: removing updated date under thumbnail
« Reply #1 on: December 02, 2010, 12:11:56 pm »

Is there a way to remove the date the album was last updated
Yes, but what do you mean with
under the thumbnail view?
? Please post a link of the page you refer to.


Additionally, please start your threads in the appropriate sub-board. Moving from misc to themes.
Logged

KOREntertainment

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
Re: removing updated date under thumbnail
« Reply #2 on: December 02, 2010, 12:19:51 pm »

Click the link I posted, scroll down till U see "Last updated albums" and U will see thumbnail views, below each picture there is a date that I did not put there, it's the date that album was updated, I would like it removed.

Trust me, if I knew witch section to post it I would have posted it there.  Thanks U.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: removing updated date under thumbnail
« Reply #3 on: December 02, 2010, 12:39:57 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

hanzon2010

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: removing updated date under thumbnail
« Reply #4 on: December 03, 2010, 06:43:49 pm »

Thanks !  Always wanted not to show the date ... it would be nice if it can be set in the Admin Config too ...
Logged

KOREntertainment

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
Re: removing updated date under thumbnail
« Reply #5 on: December 03, 2010, 07:02:57 pm »

I found the file but that coding is not in the file.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: removing updated date under thumbnail
« Reply #6 on: December 03, 2010, 07:05:11 pm »

I found the file but that coding is not in the file.
It's definitely in that file. It's line 1509-1513 in cpg1.5.10.
Logged

KOREntertainment

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
Re: removing updated date under thumbnail
« Reply #7 on: December 03, 2010, 07:08:17 pm »

This is what is in line 1509-1513

Quote
    case 'lastupby': // Latest (most recent) uploads by a specific user

        if (isset($USER['uid'])) {
            $uid = (int) $USER['uid'];
        } else {
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: removing updated date under thumbnail
« Reply #8 on: December 03, 2010, 07:29:32 pm »

Upgrade to cpg1.5.10.
Logged

KOREntertainment

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 72
Re: removing updated date under thumbnail
« Reply #9 on: December 04, 2010, 02:32:43 am »

Ok I did as U asked and nothing has changed, the date is still there.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: removing updated date under thumbnail
« Reply #10 on: December 04, 2010, 10:02:12 am »

Read my instructions! Of course you still have to apply:
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

hanzon2010

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: removing updated date under thumbnail
« Reply #11 on: December 04, 2010, 10:34:53 am »

Mine is 1.5.10, and its ok after following Andre's solution ...

http://www.soundscapehifi.com/used-hifi/index.php




Logged

nasiri

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
    • Nasiri Web Media Development
Re: removing updated date under thumbnail
« Reply #12 on: January 13, 2011, 12:20:40 am »

i couldn't delete it too ...

i have 1.5.10

mhm ???
is there maybe any other solution ?
Logged
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.