外掛說明
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.
螢幕擷圖
安裝方式
From your WordPress dashboard:
- Visit ‘Plugins > Add New’
- Search for ‘Role Based Storage Limiter’
- Activate Role Based Storage Limiter from your Plugins page.
From WordPress.org:
- Download Role Based Storage Limiter.
- Upload the ‘role-based-storage-limiter’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
- Activate Role Based Storage Limiter from your Plugins page.
After plugin activation, go to Settings > Storage Limiter.
使用者評論
2024 年 6 月 8 日
Works perfectly for me, one of its kind, I hope this never gets taken down. I’ve downloaded a copy in case it does. You need to use a role editor like Members to grant a user role the ability to upload media for the plugin to work. Thank you to the creators!