Tutón tykač njeje so z najnowšimi 3 hłownymi wersijemi WordPress testował. Snano so hižo njewothladuje abo njepodpěruje a ma problemy z kompatibelnosću, hdyž so z nowšimi wersijemi WordPress wužiwa.

Role Based Storage Limiter

Wopisanje

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.

Fota wobrazowki

  • 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.
  • An example of the plugin in action on the a theme’s front-end.

Instalacija

From your WordPress dashboard:

  1. Visit ‚Plugins > Add New‘
  2. Search for ‚Role Based Storage Limiter‘
  3. Activate Role Based Storage Limiter from your Plugins page.

From WordPress.org:

  1. Download Role Based Storage Limiter.
  2. Upload the ‚role-based-storage-limiter‘ directory to your ‚/wp-content/plugins/‘ directory, using your favorite method (ftp, sftp, scp, etc…)
  3. Activate Role Based Storage Limiter from your Plugins page.

After plugin activation, go to Settings > Storage Limiter.

Pohódnoćenja

8. junija 2024
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!
Čitajće 1 pohódnoćenje

Sobuskutkowarjo a wuwiwarjo

„Role Based Storage Limiter“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej přinošowali.

Sobuskutkowarjo