Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Different MaxFileSize per role

edited April 2011 in Vanilla 2.0 - 2.8
How would I go about having a different MaxFileSize for different user roles?

I'm using the file upload plugin and would like to have a role or two that bumps up the size the user is allowed to upload. For example, a normal member can upload files up to 1meg, somebody in group B could upload 5 megs, and group C could upload 10. Admins would have a pretty high limit. Although somebody could be a normal member and also in group C so it should pick the highest number.

Still at the "playing around" stage with Vanilla, I'm not really sure where to start on this. The PHP isn't a problem, I just don't know how everything in Vanilla interacts.
Sign In or Register to comment.