forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: botakedan on August 04, 2009, 08:46:16 am
-
Hello!
I was wondering if it would be possible to make limit number of picture can upload by each member per day ?
Any help would be greatly appreciated, thank you!
-
Searching for "upload limit" woudl have led you here:
http://forum.coppermine-gallery.net/index.php?topic=38053.0 (http://forum.coppermine-gallery.net/index.php?topic=38053.0)
http://forum.coppermine-gallery.net/index.php?topic=32016.20 (http://forum.coppermine-gallery.net/index.php?topic=32016.20)
-
i thing this is the way...
$result = cpg_db_query("SELECT pid FROM {$CONFIG['TABLE_PICTURES']} WHERE owner_id = " . USER_ID . " AND ctime > UNIX_TIMESTAMP() - 86400");
but... where is this code location ?