PDA

View Full Version : Limit 1 Image per member


glennnphp
November 7th, 2006, 03:01 AM
can anyone tell me how i can limit photos to 1 per member completely vice 1 per day?

really appreciate it.

g

Tonje
November 7th, 2006, 04:30 AM
Inside Gallery Admin..
Below Administration, click Edit Usergroups
Find the Registered Users group and you see Daily Upload Limit (# of files) set this to 1 and save.

glennnphp
November 7th, 2006, 07:39 AM
right - that's only limiting 1 PER DAY - i'd like to (hard code, if necessary) to limit it to 1 overall.

how might this be done?

thanks

Chuck S
November 7th, 2006, 09:14 AM
Remove this from uploadphoto.php


AND date > UNIX_TIMESTAMP( DATE_SUB(NOW(), INTERVAL 24 HOUR) )

glennnphp
November 7th, 2006, 09:28 AM
good deal, thanks.