WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Disable User Login

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Disable User Login

由Saint Systems
下載
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

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 user’s 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 want freelance writers to still show up in the authors box, but you don’t want them to be able to login.
  • You have former employees who have authored posts and you don’t want to delete them or reassign their posts to other users, but still need them to show up in the “Authors box.”
  • 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.

安裝

  1. Upload or extract the disable-user-login folder to your site’s /wp-content/plugins/ directory. You can also use the Add new option found in the Plugins menu in WordPress.
  2. Enable the plugin from the Plugins menu in WordPress.

Usage

  1. Edit any user and then look for the “Disable User Account” checkbox.
  2. Bulk Disable/Enable user accounts by selecting one or more user accounts and then choosing Enable or Disable from the bulk actions menu.

常見問題

Can I change the message a disabled user sees?

Yes, there is a filter in place for that, disable_user_login.disabled_message.

評價

Excellent!

Michael Milette 2024年3月9日
Works well. No issues.

Works as expected!

Doru 2021年11月11日
Nice plugin, clean and light weight code.

Works very well!

angrywarrior 2021年6月2日
Works perfectly as described and is very light weight.

Works as advertised

Adam Anderly 2019年8月15日
Easy to use plugin that allows you to disable user accounts to prevent them from logging in.
閱讀全部4個評價

貢獻者及開發者

“Disable User Login” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • Saint Systems
  • Adam Anderly

Disable User Login 外掛目前已有 2 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Disable User Login 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

修改日誌

1.3.10

  • Bump tested WP version.

1.3.9

  • Fix bulk action nonce verification.

1.3.8

  • Improved user-specific nonce validation.

1.3.7

  • Add hooks for multisite.

1.3.6

  • Permission fix on quick links.
  • Translation updates.

1.3.5

  • Fix to disable application passwords (fixes #7).

1.3.4

  • Add user enable/disable quick links.

1.3.3

  • Bump WP tested version.

1.3.2

  • Static method to return user meta key
  • Fix some comments

1.3.1

  • Update to prevent disabling super admins on bulk disable.
  • Update to check user edit permission on bulk disable.
  • Updated to prevent current user from disabling his/her own account on bulk disable.

1.3.0

  • Force disabled users to logout.
  • Tested up to WP 5.7

1.2.1

  • Tested up to WP 5.6

1.2.0

  • Add action hooks when user accounts are enabled/disabled and when disabled user attempts to login.

1.1.0

  • Switch to authenticate filter for user login.
  • Multisite support.

1.0.1

  • Version bump.

1.0.0

  • Initial version.

其它

  • Version 1.3.10
  • Last updated 10 個月之前
  • Active installations 4,000+
  • WordPress version 4.7.0 or higher
  • Tested up to 6.6.2
  • PHP version 5.6 or higher
  • Languages

    English (US)、Italian、及 Swedish.

    翻譯成你的語言

  • Tags
    accountdisableloginuserusers
  • 進階顯示

評分

5 out of 5 stars.
  • 4 5-star reviews 5 stars 4
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Add my review

See all reviews

貢獻者

  • Saint Systems
  • Adam Anderly

支援

有話想說?需要協助?

檢視支援論壇

捐贈

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 寄存
  • 隱私權
  • 展示網站
  • 佈景主題
  • 外掛
  • 區塊版面配置
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Hong Kong 香港中文

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 訪問我們的 Facebook 專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
代碼就是詩歌。