forum.coppermine-gallery.net
Support => Older/other versions => cpg1.3.x Support => Topic started by: ornic on July 04, 2004, 10:40:50 pm
-
Hello all!
When I ban a user and choose "5 hours" is became "03:33:20 01 Jan 1970 MSK". Is there problem with Coppermine or OS setup?
"Timezone difference relative to GMT" is set to 3.
-
you can't use relative time settings like "5 hours", you have to use an absolute time in Unix format.
GauGau
-
It will be very useful for such field to count relative time from now(). May this topic be moved to "Feature requests"?
-
moved to feature requests. Will need some looking into...
GauGau
-
The problem solved in CVS. Thanx a lot! Calendar is great!
But there is still some small issure:
\include\init.inc.php
=================
$now = time();
db_query("DELETE FROM {$CONFIG['TABLE_BANNED']} WHERE expiry < $now");
=================
should be (in our variant: PHP Version 4.3.7, Linux 2.6.6-1.435.2.3 Fedore Core)
=================
$now = date("Y-m-d H:i:s");
db_query("DELETE FROM {$CONFIG['TABLE_BANNED']} WHERE expiry < '$now'");
=================
to proper deleting old bans from base
-
The calendar is only in the devel branch of the cvs so far - you mustn't use devel files unless you really, really know what you're doing. Additionally, there's no support for devel versions at all.
GauGau
-
The devel branch is the only version for now where the banning system working. So we had no choice. And i decided to to help people who in the same situation.
Just for information: is there the place for user to post such information (possible issures on devel branch)?
IMHO this request may be marked as [solved].
-
there is only one place where issues on the devel branch of the cvs will be discussed: the closed developer board. Devel simply isn't meant for "regular" users, unless you can live with bugs and fix them for yourself.
I have just committed fixes to the stable branch as well, they should show up in webcvs in a short while.
GauGau