Title: Role Based Storage Limiter
Author: Marc Luther Capulong
Published: <strong>2017 年 2 月 27 日</strong>
Last modified: 2017 年 2 月 27 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/role-based-storage-limiter/assets/icon-256x256.jpg?rev=1604208)

# Role Based Storage Limiter

 作者：[Marc Luther Capulong](https://profiles.wordpress.org/mlcapulong/)

[下载](https://downloads.wordpress.org/plugin/role-based-storage-limiter.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/role-based-storage-limiter/#description)
 * [评价](https://cn.wordpress.org/plugins/role-based-storage-limiter/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/role-based-storage-limiter/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/role-based-storage-limiter/#developers)

 [支持](https://wordpress.org/support/plugin/role-based-storage-limiter/)

## 描述

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.

## 屏幕截图

 * [[
 * 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.

## 安装

#### 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.

## 评价

![](https://secure.gravatar.com/avatar/1e9e69c89d39ca4336420da9abde7d043110a0da5d777ba338126245a918ff6e?
s=60&d=retro&r=g)

### 󠀁[Works perfectly for me](https://wordpress.org/support/topic/works-perfectly-for-me-34/)󠁿

 [stephunique](https://profiles.wordpress.org/stephunique/) 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!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/role-based-storage-limiter/reviews/)

## 贡献者及开发者

「Role Based Storage Limiter」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Marc Luther Capulong ](https://profiles.wordpress.org/mlcapulong/)

[帮助将「Role Based Storage Limiter」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/role-based-storage-limiter)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/role-based-storage-limiter/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/role-based-storage-limiter/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/role-based-storage-limiter/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/role-based-storage-limiter/)。

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**9 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/role-based-storage-limiter/)
 * 标签
 * [limit](https://cn.wordpress.org/plugins/tags/limit/)[role](https://cn.wordpress.org/plugins/tags/role/)
   [storage](https://cn.wordpress.org/plugins/tags/storage/)[upload](https://cn.wordpress.org/plugins/tags/upload/)
 *  [高级视图](https://cn.wordpress.org/plugins/role-based-storage-limiter/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/role-based-storage-limiter/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/role-based-storage-limiter/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/role-based-storage-limiter/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/role-based-storage-limiter/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/role-based-storage-limiter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/role-based-storage-limiter/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/role-based-storage-limiter/reviews/)

## 贡献者

 *   [ Marc Luther Capulong ](https://profiles.wordpress.org/mlcapulong/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/role-based-storage-limiter/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mlccapulong%40gmail%2ecom&lc=PH&item_name=Role%20Based%20Storage%20Limiter&item_number=rbsl&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)