跳至主要內容
WordPress.org

Hong Kong 香港中文

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

Plugin Directory

Disable Users

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

這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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

其它

  • Version 1.0.5
  • Last updated 8 年之前
  • Active installations 2,000+
  • WordPress version 4.0.0 or higher
  • Tested up to 4.3.34
  • Language
    English (US)
  • Tags
    disableloginusers
  • 進階顯示

評分

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

Add my review

See all reviews

貢獻者

  • Jared Atchison

支援

有話想說?需要協助?

檢視支援論壇

捐贈

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

贊助這個外掛

  • 關於我們
  • 最新消息
  • 寄存
  • 隱私權
  • 展示網站
  • 佈景主題
  • 外掛
  • 區塊版面配置
  • 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
代碼就是詩歌。