removing updated date under thumbnail removing updated date under thumbnail
 

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

removing updated date under thumbnail

Started by KOREntertainment, December 01, 2010, 09:21:28 PM

Previous topic - Next topic

0 Members and 5 Guests are viewing this topic.

KOREntertainment

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

http://korentertainment.net/gallery2/

Αndré

Quote from: KOREntertainment on December 01, 2010, 09:21:28 PM
Is there a way to remove the date the album was last updated
Yes, but what do you mean with
Quote from: KOREntertainment on December 01, 2010, 09:21:28 PM
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.

KOREntertainment

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.

Αndré

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

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

and replace with
        if ($set_caption) {
            build_caption($rowset);
        }

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

hanzon2010

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

KOREntertainment

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

Αndré

Quote from: KOREntertainment on December 03, 2010, 07:02:57 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.

KOREntertainment

This is what is in line 1509-1513

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

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

Αndré


KOREntertainment

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

Αndré

Read my instructions! Of course you still have to apply:
Quote from: Αndré on December 02, 2010, 12:39:57 PM
Open include/functions.inc.php, find
        if ($set_caption) {
            build_caption($rowset, array('ctime'));
        }

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

and replace with
        if ($set_caption) {
            build_caption($rowset);
        }

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


hanzon2010


nasiri

i couldn't delete it too ...

i have 1.5.10

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

http://www.nasiri.com