forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: KOREntertainment on December 01, 2010, 09:21:28 pm

Title: removing updated date under thumbnail
Post by: KOREntertainment 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/ (http://korentertainment.net/gallery2/)
Title: Re: removing updated date under thumbnail
Post by: Αndré 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.
Title: Re: removing updated date under thumbnail
Post by: KOREntertainment 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.
Title: Re: removing updated date under thumbnail
Post by: Αndré 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);
Title: Re: removing updated date under thumbnail
Post by: hanzon2010 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 ...
Title: Re: removing updated date under thumbnail
Post by: KOREntertainment on December 03, 2010, 07:02:57 pm
I found the file but that coding is not in the file.
Title: Re: removing updated date under thumbnail
Post by: Αndré 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.
Title: Re: removing updated date under thumbnail
Post by: KOREntertainment 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 {
Title: Re: removing updated date under thumbnail
Post by: Αndré on December 03, 2010, 07:29:32 pm
Upgrade to cpg1.5.10.
Title: Re: removing updated date under thumbnail
Post by: KOREntertainment on December 04, 2010, 02:32:43 am
Ok I did as U asked and nothing has changed, the date is still there.
Title: Re: removing updated date under thumbnail
Post by: Αndré 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);
Title: Re: removing updated date under thumbnail
Post by: hanzon2010 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




Title: Re: removing updated date under thumbnail
Post by: nasiri 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 ?