WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Disable Users

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

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

Disable Users

作者:Jared Atchison
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

This plugin gives you the ability to disable specific user accounts via a profile setting.

Once installed and activated, a checkbox appears on the user profile settings (only for admins). When checked, the users account will be disabled and they will be unable to login with the account. If they try to login, they are instantly logged out and redirected to the login page with a message that notifies them their account is disabled.

This can be useful in a few situations.

  • You are working on a site for a client who has an account, but do not want him to login and/or make changes during development.
  • You have a client who has an unpaid invoice.

This plugin is on GitHub! Pull requests are welcome. If possible please report issues through Github.

屏幕截图

  • User profile setting available to administrators.
  • Message when a disabled user tries to login.

安装

  1. Upload disable-users to your /wp-content/plugins/ directory.
  2. Edit any user and then look for the “Disable User Account” checkbox.

常见问题

Installation Instructions
  1. Upload disable-users to your /wp-content/plugins/ directory.
  2. Edit any user and then look for the “Disable User Account” checkbox.
Can I change the message a disabled user sees?

Yes, there is a filter in place for that, ja_disable_users_notice.

评价

good and simple

Jakob Helmer 2020 年 5 月 22 日
Despite not updated for a while (which might not be needed, because it’s only just a few lines of code), it just works.

Works perfectly

lobogc 2017 年 10 月 20 日
Works perfectly with WP 4.8.2

Does exactly what it says on the tin

Rufus McDufus 2016 年 9 月 3 日
Perfect. Is there a way of listing disabled accounts afterwards? The ‘Disabled’ column isn’t sortable and I can’t figure a way of listing them.

Does what it says it will do

jesselperry 2016 年 9 月 3 日
Seems like a simple request, right? Disable a specific user account without deleting the user. Surprisingly this isn’t a feature built into Wordpress, and even more surprising there isn’t another plugin out there that does this. There are other simple plugins that say they do this — but they don’t work. There are other plugins that do things based on user role — but those are too complicated to set up user roles just to disable an account. This does exactly what I needed — a simple plugin that lets me disable a user with just a checkbox. Simple.

nice little feature

skater4life80 2016 年 9 月 3 日
Great idea for limiting access to others (admins or other users) while doing updates or maintenance on the backend.

Brazilian Portuguese translation.

dbiagi 2016 年 9 月 3 日
I just created a .mo file for this plugin in pt_BR. Here is the files: https://drive.google.com/open?id=0B45nMNzIYUITenh1RWhDVzBHbmc. PS: Thanks for the plugin. Works fine.
阅读所有18条评价

贡献者及开发者

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

贡献者
  • Jared Atchison

帮助将「Disable Users」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0.5 (11/11/2015)

  • Added pl_PL transnation – Props Dominik Kocuj

1.0.4 (6/21/2015)

  • Bug fix for Disabled column to manage user screen

1.0.3 (6/15/2015)

  • Added Disabled column to manage user screen. Props @basteln3rk (flexponsive).
  • Cleaned up code slightly and updated README information

1.0.2

  • Removed accidental PHP short form

1.0.1

  • Fixed notice that would show if WP_DEBUG was on. Props @vegasgeek.

1.0.0

  • Initial launch

额外信息

  • 版本 1.0.5
  • 最后更新:8 年前
  • 活跃安装数量 3,000+
  • WordPress 版本 4.0.0 或更高版本
  • 已测试的最高版本为 4.3.34
  • 语言
    English (US)
  • 标签
    disableloginusers
  • 高级视图

评级

4.7 星(最高 5 星)。
  • 16 条 5 星评价 5 星 16
  • 0 条 4 星评价 4 星 0
  • 1 条 3 星评价 3 星 1
  • 0 条 2 星评价 2 星 0
  • 1 条 1 星评价 1 星 1

添加我的评价

查看全部评论

贡献者

  • Jared Atchison

支持

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

查看支持论坛

捐助

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

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • Visit our TikTok account
  • 访问我们的 YouTube 频道
  • Visit our Tumblr account
代码如诗