Skip to content

schrauger/Disable-Users

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Disable Users

Contributors: jaredatch, schrauger
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AD8KTWTTDX9JL
Tags: users, login, disable
Requires at least: 4.0.0
Tested up to: 4.3
Stable tag: trunk
License: GPLv2

Provides the ability to disable specific user accounts.

Description

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.

Disabled users can also be hidden from the All Users listing, either by default (via the plugin settings page) or manually (by clicking on the link in the Disabled column). A new menu item is added as well, letting you view only disabled users.

This plugin is on GitHub! Pull requests are welcome. If possible please report issues through Github.

Installation

  1. Upload disable-users to your /wp-content/plugins/ directory.
  2. Edit any user and then look for the "Disable User Account" checkbox.

Frequently Asked Questions

Can I change the message a disabled user sees?

Yes, there is a filter in place for that, ja_disable_users_notice.

Screenshots##

  1. User profile setting available to administrators.
  2. Message when a disabled user tries to login.

Changelog

1.1.2 (04/27/2016)

  • Fixed network admin pages for multisite installations

1.1.1 (03/08/2016)

  • Added menu item to show only disabled users

1.1.0 (03/08/2016)

  • Added plugin setting page ** Preference to hide disabled users by default when viewing All Users

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

About

WordPress plugin that provides the ability to disable specific user accounts.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%