News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

User upload limit per day

Started by botakedan, August 04, 2009, 08:46:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

botakedan

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!

Hein Traag


botakedan

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 ?