We would like to add a function that will only allow users to upload a maximum of 5 images in a 24 hour period.
We have found code in the "uploadphotos.php" file and edited to show below:
Also we only wish to allow our users to have 100 uploads on non-subscribed accounts. Could this code be inserted at this point. We are really pleased with how the software is working and how the site is running, these last two minor changes should make perfectly captured the perfect site for us.
You can set the number of uploads from the admin area under the usergroups. There is no need to edit code.
The 2nd part would need custom coding, but you could set non-subscribers upload limit to 1 per day as an incentive to register?
As simon states there is no need to edit code in any manner only set usergroup permissions in admin per usergroup.
Thank you, that has limited the uploads for us.
Is there any way to incorporate the 100 uploads lockout easily? or is that going to be hard?
Thanks a bunch for solving that first one.
I'm not a coder so this is only a guess as to how it may work
Why the heck are you doing that? There are plenty of places people can upload photos. If you don't want your users using your site, they'll leave.
I beleive he is doing this as it looks like he is trying to entice subscribers. Thats the beauty of the software jdougher you choose which options to use or not to use. ;) Actually the daily upload limit was at the time one of our biggest user suggestions. Most features in this software are user suggestions.
|All times are GMT -5. The time now is 01:15 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0