PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   Upload Limitations (http://www.photopost.com/forum/photopost-pro-bug-reports/138924-upload-limitations.html)

helkoryo January 12th, 2009 03:14 PM

Upload Limitations
 
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:
Code:

Content visible to verified customers only.
This code does not appear to be working. Please advise.

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.

Simons January 12th, 2009 05:02 PM

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?

Chuck S January 12th, 2009 07:19 PM

As simon states there is no need to edit code in any manner only set usergroup permissions in admin per usergroup.

helkoryo January 13th, 2009 05:24 AM

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.

Simons January 13th, 2009 05:58 AM

I'm not a coder so this is only a guess as to how it may work

Code:

Content visible to verified customers only.
But maybe someone could help you better.

jdougher January 13th, 2009 06:06 AM

Quote:

Originally Posted by helkoryo (Post 1239262)
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:
Code:

Content visible to verified customers only.
This code does not appear to be working. Please advise.

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.



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.

Chuck S January 13th, 2009 09:09 AM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97