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
-
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/)
-
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.
-
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.
-
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);
-
Thanks ! Always wanted not to show the date ... it would be nice if it can be set in the Admin Config too ...
-
I found the file but that coding is not in the file.
-
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.
-
This is what is in line 1509-1513
case 'lastupby': // Latest (most recent) uploads by a specific user
if (isset($USER['uid'])) {
$uid = (int) $USER['uid'];
} else {
-
Upgrade to cpg1.5.10.
-
Ok I did as U asked and nothing has changed, the date is still there.
-
Read my instructions! Of course you still have to apply:
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);
-
Mine is 1.5.10, and its ok after following Andre's solution ...
http://www.soundscapehifi.com/used-hifi/index.php
-
i couldn't delete it too ...
i have 1.5.10
mhm ???
is there maybe any other solution ?