[WordPress] 外掛分享: Disable User Login

首頁外掛目錄 › Disable User Login
WordPress 外掛 Disable User Login 的封面圖片
5,000+
安裝啟用
★★★★★
5/5 分(4 則評價)
191 天前
最後更新
問題解決
WordPress 4.7.0+ PHP 5.6+ v1.3.12 上架:2019-08-12

內容簡介

這個外掛可以讓你透過個人資料的設定來停用特定的使用者帳戶。

安裝並啟用之後,將會在使用者個人資料的設定頁面加入一個核取方塊(僅限於管理員)。當勾選此方塊時,該使用者的帳戶將被停用,他們將無法使用帳戶登入。如果他們嘗試登入,他們將會立即被登出,並被重新導向到登入頁面,顯示一個訊息通知他們的帳戶已被停用。

這可以在以下幾個情況下很有用:

你希望自由撰稿人仍然顯示在作者區塊中,但不希望他們能夠登入。
你有曾經撰寫文章的前員工,你不想刪除他們的帳戶或重新指定他們的文章給其他使用者,但仍需要他們顯示在「作者區塊」中。
你正在為一個客戶建立網站,但不希望他在開發期間登入或更改任何內容。
你有一個未付款發票的客戶。

該外掛在 GitHub 上! 歡迎提交拉取請求。如有可能,請透過 Github 報告問題。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.12) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Disable User Login」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon