Chuyển đến phần nội dung
WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • Tin tức
    • Tài liệu hướng dẫn
    • Diễn đàn
  • Giới thiệu
  • Facebook #WPVN
  • Tải WordPress
Tải WordPress
WordPress.org

Plugin Directory

Disable User Login

  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập
  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập

Disable User Login

Bởi Saint Systems
Tải về
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Nhà phát triển
Hỗ trợ

Mô tả

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.

Cài đặt

  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.

Hỏi đáp

Can I change the message a disabled user sees?

Yes! You can customize the disabled user message in two ways:

  1. Admin Panel (Easy): Go to Settings > Disable User Login in your WordPress admin to customize the message via a user-friendly interface.
  2. Filter Hook (Advanced): Use the disable_user_login.disabled_message filter in your theme or plugin code for programmatic customization.

Đánh giá

Excellent!

Michael Milette 9 Tháng 3, 2024
Works well. No issues.

Works as expected!

Doru 11 Tháng mười một, 2021
Nice plugin, clean and light weight code.

Works very well!

angrywarrior 2 Tháng 6, 2021
Works perfectly as described and is very light weight.

Works as advertised

Adam Anderly 15 Tháng 8, 2019
Easy to use plugin that allows you to disable user accounts to prevent them from logging in.
Đọc tất cả 4 đánh giá

Người đóng góp & Lập trình viên

“Disable User Login” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • Saint Systems
  • Adam Anderly

“Disable User Login” đã được dịch qua 2 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Disable User Login” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.3.12

  • Fix inconsistent user meta retrieval #15
  • Bump tested up to WP 6.8.2

1.3.11

  • Add custom message settings page – users can now customize the disabled account message via the WordPress admin panel (Settings > Disable User Login).
  • Maintain backward compatibility with existing filter hooks.

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.

Meta

  • Phiên bản 1.3.12
  • Cập nhật lần cuối 5 tháng trước
  • Số lượt cài đặt 5.000+
  • Phiên bản WordPress 4.7.0 hoặc cao hơn
  • Đã kiểm tra lên đến 6.8.3
  • Phiên bản PHP 5.6 hoặc cao hơn
  • Ngôn ngữ

    English (US), Italian, và Swedish.

    Dịch sang ngôn ngữ của bạn

  • Thẻ
    accountdisableloginuserusers
  • Nâng cao

Đánh giá

5 trên 5 sao.
  • 4 5-star reviews 5 sao 4
  • 0 4-star reviews 4 sao 0
  • 0 3-star reviews 3 sao 0
  • 0 2-star reviews 2 sao 0
  • 0 1-star reviews 1 sao 0

Thêm đánh giá của bạn

Xem tất cả đánh giá

Những người đóng góp

  • Saint Systems
  • Adam Anderly

Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

Xem diễn đàn hỗ trợ

Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

Ủng hộ plugin này

  • Giới thiệu
  • Tin tức
  • Lưu trữ
  • Quyền riêng tư
  • Trưng bày
  • Giao diện
  • Plugin
  • Mẫu khối
  • Học hỏi
  • Hỗ trợ
  • Nhà phát triển
  • WordPress.tv ↗
  • Tham gia
  • Sự kiện
  • Quyên góp ↗
  • Năm cho Tương lai
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

tiếng Việt

  • Truy cập tài khoản X (trước đây là Twitter) của chúng tôi
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Xem trang Facebook của chúng tôi
  • Truy cập tài khoản Instagram của chúng tôi
  • Truy cập tài khoản LinkedIn của chúng tôi
  • Visit our TikTok account
  • Truy cập kênh YouTube của chúng tôi
  • Visit our Tumblr account
Viết code như làm thơ.