Title: Disable Users
Author: Jared Atchison
Published: <strong>21 augusti 2013</strong>
Last modified: 11 november 2015

---

Sök tillägg

![](https://ps.w.org/disable-users/assets/banner-772x250.png?rev=1181236)

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://ps.w.org/disable-users/assets/icon-256x256.png?rev=1181236)

# Disable Users

 Av [Jared Atchison](https://profiles.wordpress.org/jaredatch/)

[Ladda ner](https://downloads.wordpress.org/plugin/disable-users.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/disable-users/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/disable-users/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/disable-users/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/disable-users/#developers)

 [Support](https://wordpress.org/support/plugin/disable-users/)

## Beskrivning

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!](https://github.com/jaredatch/Disable-Users/)** Pull
requests are welcome. If possible please report issues through Github.

## Skärmdumpar

 * [[
 * User profile setting available to administrators.
 * [[
 * Message when a disabled user tries to login.

## Installation

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

## Vanliga frågor

  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`.

## Recensioner

![](https://secure.gravatar.com/avatar/2e19d3fe4d8fbc5a20a3b0e6bc3aa5cdaebdd6c79b91cbbd6d0ab63af13b1021?
s=60&d=retro&r=g)

### 󠀁[good and simple](https://wordpress.org/support/topic/good-and-simple-56/)󠁿

 [Jakob Helmer](https://profiles.wordpress.org/jakobuz/) 22 maj 2020

Despite not updated for a while (which might not be needed, because it’s only just
a few lines of code), it just works.

![](https://secure.gravatar.com/avatar/d48d7f71677b7abebd264df50634fb3e5d89b55df66cb92ddcc9dce05d54fc71?
s=60&d=retro&r=g)

### 󠀁[Works perfectly](https://wordpress.org/support/topic/works-perfectly-1275/)󠁿

 [lobogc](https://profiles.wordpress.org/lobogc/) 20 oktober 2017

Works perfectly with WP 4.8.2

![](https://secure.gravatar.com/avatar/a811bfa657a6e6b9b98caf258fd5e51c603169b9a7342596832a2230ebcbc84a?
s=60&d=retro&r=g)

### 󠀁[Does exactly what it says on the tin](https://wordpress.org/support/topic/does-exactly-what-it-says-on-the-tin-66/)󠁿

 [Rufus McDufus](https://profiles.wordpress.org/rufus-mcdufus/) 3 september 2016

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.

![](https://secure.gravatar.com/avatar/c4705f84657a8c417fc344c8d7c88e37ae661929d038ad7fdfb13844d578138d?
s=60&d=retro&r=g)

### 󠀁[Does what it says it will do](https://wordpress.org/support/topic/does-what-it-says-it-will-do-10/)󠁿

 [jesselperry](https://profiles.wordpress.org/jesselperry/) 3 september 2016

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.

![](https://secure.gravatar.com/avatar/40ae246ca6b323dfc9a9235543053dbac2d254c8450b11eaf02b78608b98d3c7?
s=60&d=retro&r=g)

### 󠀁[nice little feature](https://wordpress.org/support/topic/nice-little-feature/)󠁿

 [skater4life80](https://profiles.wordpress.org/skater4life80/) 3 september 2016

Great idea for limiting access to others (admins or other users) while doing updates
or maintenance on the backend.

![](https://secure.gravatar.com/avatar/c4e36ba4429feed0624210974dc5b34bfcc752abfc706111882abed5d251972f?
s=60&d=retro&r=g)

### 󠀁[Brazilian Portuguese translation.](https://wordpress.org/support/topic/brazilian-portuguese-translation-6/)󠁿

 [dbiagi](https://profiles.wordpress.org/dbiagi/) 3 september 2016

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.

 [ Läs alla 18 betyg ](https://wordpress.org/support/plugin/disable-users/reviews/)

## Bidragsgivare och utvecklare

”Disable Users” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

 *   [ Jared Atchison ](https://profiles.wordpress.org/jaredatch/)

[Översätt ”Disable Users” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/disable-users)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/disable-users/), kika
på [SVN-filförvaret](https://plugins.svn.wordpress.org/disable-users/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/disable-users/) via 
[RSS](https://plugins.trac.wordpress.org/log/disable-users/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 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)](https://www.flexponsive.net).
 * 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

## Meta

 *  Version **1.0.5**
 *  Senast uppdaterat **8 år sedan**
 *  Aktiva installationer **2 000+**
 *  WordPress-version ** 4.0.0 eller senare **
 *  Testat upp till **4.3.34**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/disable-users/)
 * Etiketter
 * [disable](https://sv.wordpress.org/plugins/tags/disable/)[login](https://sv.wordpress.org/plugins/tags/login/)
   [users](https://sv.wordpress.org/plugins/tags/users/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/disable-users/advanced/)

## Betyg

 4.7 av 5 stjärnor.

 *  [  16 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/disable-users/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/disable-users/reviews/?filter=4)
 *  [  1 3-stjärnig recension     ](https://wordpress.org/support/plugin/disable-users/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/disable-users/reviews/?filter=2)
 *  [  1 1-stjärnig recension     ](https://wordpress.org/support/plugin/disable-users/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/disable-users/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/disable-users/reviews/)

## Bidragande personer

 *   [ Jared Atchison ](https://profiles.wordpress.org/jaredatch/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/disable-users/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AD8KTWTTDX9JL)