Title: BP Block Users
Author: Brandon Allen
Published: <strong>2015 年 9 月 23 日</strong>
Last modified: 2018 年 1 月 15 日

---

搜索插件

![](https://ps.w.org/bp-block-users/assets/banner-772x250.png?rev=1635751)

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

![](https://ps.w.org/bp-block-users/assets/icon.svg?rev=1635751)

# BP Block Users

 作者：[Brandon Allen](https://profiles.wordpress.org/thebrandonallen/)

[下载](https://downloads.wordpress.org/plugin/bp-block-users.1.0.2.zip)

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

 [支持](https://wordpress.org/support/plugin/bp-block-users/)

## 描述

> This plugin requires BuddyPress 2.4.0+.

Sometimes a user in your community needs a some time to cool off. In BuddyPress,
spamming or deleting the user is a destructive action, leaving little to no trace
that the user existed. BP Block Users allows a capable user (administrators only
by default) to block a user from logging into the site. Users can be blocked for
a specified period of time, or indefinitely, if administrators need more time to
determine the best course of action.

A message will be shown on the login screen when a blocked user attempts, but ultimately
fails, to login, informing them that their account has been blocked. During the 
block period, email notifications are suspended.

For bug reports or to submit patches or translation files, visit https://github.
com/thebrandonallen/bp-block-users/issues.

## 安装

#### From your WordPress dashboard

 1. Visit ‘Plugins > Add New’
 2. Search for ‘BP Block Users’
 3. Activate BP Block Users from your Plugins page.

#### From WordPress.org

 1. Download BP Block Users.
 2. Upload the ‘bp-block-users’ directory to your ‘/wp-content/plugins/’ directory,
    using your favorite method (ftp, sftp, scp, etc…)
 3. Activate BP Block Users from your Plugins page.

## 常见问题

  Installation Instructions

#### From your WordPress dashboard

 1. Visit ‘Plugins > Add New’
 2. Search for ‘BP Block Users’
 3. Activate BP Block Users from your Plugins page.

#### From WordPress.org

 1. Download BP Block Users.
 2. Upload the ‘bp-block-users’ directory to your ‘/wp-content/plugins/’ directory,
    using your favorite method (ftp, sftp, scp, etc…)
 3. Activate BP Block Users from your Plugins page.

  What happened to versions `0.2.0`, `0.3.0`, `0.4.0`, `0.5.0`, `0.6.0`, `0.7.0`,`
0.8.0`, and `0.9.0`?

You blinked, and you missed them.

In reality, the changes made in version `1.0.0` were drastic enough, that the version
change needed to help convey the message. While BP Block Users won’t be following
[semver](http://semver.org/) just yet, the `1.0.0` release needed to be treated 
as such.

## 评价

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

### 󠀁[Not working](https://wordpress.org/support/topic/not-working-2580/)󠁿

 [chetan0412](https://profiles.wordpress.org/chetan0412/) 2018 年 7 月 4 日

No option to block user, Develpoer please have a look on this

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

### 󠀁[Very good plugin](https://wordpress.org/support/topic/very-good-plugin-505/)󠁿

 [Georgio](https://profiles.wordpress.org/georgio-1/) 2016 年 9 月 3 日

A very useful plugin. Thanks.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/bp-block-users/reviews/)

## 贡献者及开发者

「BP Block Users」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Brandon Allen ](https://profiles.wordpress.org/thebrandonallen/)

[帮助将「BP Block Users」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/bp-block-users)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.2

 * Release date: 2018-01-15
 * Update compatability to WordPress 4.9.1
 * Fix incorrect Block User link in WP admin bar.
 * Add PHP 7.2 compatability by removing `create_function` usage.

#### 1.0.1

 * Release date: 2017-06-14
 * Update compatibility to WordPress 4.8

#### 1.0.0

 * Release date: 2017-04-12
 * **TLDR**
    - The plugin has been completely rewritten.
 * **The Fuller House**
 * This plugin was written as a quick solution to an immediate need. It was then
   released on the off-chance others might find it useful. Turns out, it had staying
   power. At the time of this release, there are about 195 more people using it 
   than I expected.
 * That brings us to version `1.0.0`. _All_ functions from version `0.1.0` have 
   been deprecated. The deprecated functions will still perform as they did in `
   0.1.0`, but they will throw a deprecation warning when using `WP_DEBUG`.
 * If you were using the plugin as-is, with no custom functionality built on top,
   then you don’t need to do anything further. If you were using any of the functions/
   filters/hooks from version `0.1.0` for custom functionality, please see the [Upgrading to 1.0.0](https://github.com/thebrandonallen/bp-block-users/wiki/Upgrading-to-1.0.0)
   wiki page.
 * Despite these major changes, the plugin should work the same or better than before!
 * **Minimum Requirements**
    - Bumped minimum required WordPress version to 4.3.0.
    - Bumped minimum required BuddyPress version to 2.4.0.
 * **Enhancements**
    - BP Block Users is now loaded as a BuddyPress component.
    - The `Block User` terminology has been changed to `Block Member` on the front-
      end to be more consistent with BuddyPress terminology. Props joost-abrahams[
      [GH#4](https://github.com/thebrandonallen/bp-block-users/pull/4)].
    - Added a blocked users list table to `Users > All Users` admin screen.
    - Added WP-CLI commands. Enter `wp bp-block-users --help` in your terminal for
      usage details.
 * **Future Updates**
    - The next major version will require PHP 5.3+.
    - Deprecated functions, filters, and actions will be removed in a future release.
      The target right now is version `1.3.0`. Upgrade any code you’ve written against
      version `0.1.0`.

#### 0.1.0

 * Release date: 2015-09-22
 * Initial release.

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**8 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 4.3 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  PHP 版本 ** 5.2.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/bp-block-users/)
 * 标签
 * [block](https://cn.wordpress.org/plugins/tags/block/)[block users](https://cn.wordpress.org/plugins/tags/block-users/)
   [bp](https://cn.wordpress.org/plugins/tags/bp/)[buddypress](https://cn.wordpress.org/plugins/tags/buddypress/)
   [users](https://cn.wordpress.org/plugins/tags/users/)
 *  [高级视图](https://cn.wordpress.org/plugins/bp-block-users/advanced/)

## 评级

 3 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/bp-block-users/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/bp-block-users/reviews/)

## 贡献者

 *   [ Brandon Allen ](https://profiles.wordpress.org/thebrandonallen/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/bp-block-users/)

## 捐助

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

 [ 捐助此插件 ](https://brandonallen.me/donate/)