BACK TO DIRECTORY

Role Based Storage Limiter

by Marc Luther Capulong

5.0
(1 ratings)

This plugin allows the admin to set a storage limit (in MB) for each users based on their role. If the user attempts to upload a file, the plugin will check if the user meets the maximum amount of storage space and will throw an error.

Error messages can be customized by using the ‘rbsl_sl_error_message’ filter.

Initially, values are set as unlimited. Which means that all users will have unlimited storage space.

Screenshots

Plugin settings Page. Example of setting a 10MB limit to the Administrator Role

Plugin settings Page. Example of setting a 10MB limit to the Administrator Role

Adding new media in WordPress' admin page with an error thrown based on the set limit.

Adding new media in WordPress' admin page with an error thrown based on the set limit.

An example of the plugin in action on the a theme's front-end.

An example of the plugin in action on the a theme's front-end.

Plugin Details

Active Installs
20
Total Downloads
1,516
Version
1.0.0
Requires WP
3.0.1
Requires PHP
Tested Up To
4.7.35
Added
2017-02-27
Last Updated
2017-02-27 5:38am GMT

Ratings

5
1
4
0
3
0
2
0
1
0