Mynd i'r cynnwys
  • Mewngofnodi
  • Cofrestru
WordPress.org

Cymraeg

  • Themâu
  • Ategion
  • Newyddion
  • Ynghylch
  • Diolchiadau
  • Cysylltu
  • Cael WordPress
Cael WordPress

Ategion

  • Fy Ffefrynnau
  • Profi'r Beta
  • Datblygwyr
Llwytho i lawr

Disable User Login

Gan Saint Systems
  • Details
  • Reviews
  • Installation
  • Development
Cefnogaeth

Disgrifiad

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.

Gosod

  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.

Cwestiynau Cyffredin

Can I change the message a disabled user sees?

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

Adolygiadau

Works as expected!

Doru Tachwedd 11, 2021
Nice plugin, clean and light weight code.

Works very well!

angrywarrior Mehefin 2, 2021
Works perfectly as described and is very light weight.

Works as advertised

Adam Anderly Awst 15, 2019
Easy to use plugin that allows you to disable user accounts to prevent them from logging in.
Read all 3 reviews

Contributors & Developers

“Disable User Login” is open source software. The following people have contributed to this plugin.

Cyfranwyr
  • Saint Systems
  • Adam Anderly

“Disable User Login” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Disable User Login” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

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

  • Fersiwn: 1.3.3
  • Diweddarwyd diwethaf: 7 mis yn ôl
  • Active installations: 3,000+
  • WordPress Version: 4.7.0 neu uwch
  • Tested up to: 6.1.3
  • PHP Version: 5.6 neu uwch
  • Languages:

    English (US), Italian, a Swedish.

    Translate into your language

  • Tags:
    accountdisableloginuserusers
  • Advanced View

Graddau

See all
  • 5 seren 3
  • 4 seren 0
  • 3 seren 0
  • 2 seren 0
  • 1 seren 0
Log in to submit a review.

Cyfranwyr

  • Saint Systems
  • Adam Anderly

Cefnogaeth

Issues resolved in last two months:

0 out of 1

Gweld y fforwm cefnogi

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Lletya
  • Rhoi
  • Swag
  • Support
  • Datblygwyr
  • Get Involved
  • Learn
  • Arddangos
  • Ategion
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Preifatrwydd
  • Cod Cyhoeddus
WordPress.org
WordPress.org

Cymraeg

  • Ewch i'n tudalen Facebook
  • Ewch i'n cyfrif Twitter
  • Ewch i'n cyfrif Instagram
  • Ewch i'n cyfrif LinkedIn
Cynghanedd yw Cod