Skip to content
  • Log In
  • Register
WordPress.org

Sardu

  • Themes
  • Plugins
  • News
  • About
  • Get WordPress
Get WordPress

Plugins

  • My Favorites
  • Beta Testing
  • Developers

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Download

BAN Users

By WEBxMedia LTD. (Matt Whiteman)
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

WP Plugin for truly banning users!

The BAN Users WordPress Plugin has been developed to enable administrators to quickly BAN (aka disable, suspend…) users from logging into their WordPress user account, as well as the option to change the status of all their posts. For instance setting them to draft to hide them from public viewing. A user can be BANed from the admin users table or via their profile. There are several configurable options that allow the administrator to control how the BAN will be implemented such as redirecting them to a custom holding page, or sending them a custom email notification. Once BANned they will be unable to login until an administrator reinstates their account.

Recent Reviews

  • The best plugin I’ve ever used for banning accounts!
  • At last I found plugin that truly bans…
  • OUTSTANDING plugin / support / developer

Plugin Features & Options

  • Quickly ban a user for a day, week, month or forever!
  • Send WARNING emails to users, including custom messages.
  • Scramble banned users’ password
  • Change banned users’ role
  • Set spammer status for banned users
  • Disable password reset for banned users
  • Automatically change user’s Posts status (i.e. to pending) when BANned.
  • Table listing banned users, with search feature and quick links
  • Enhanced security to restrict Ban User privilage access
  • Flat icons as alternatives to text based links
  • Modal popup for sending custom messages, with textarea instead of text field
  • Supports Ultimate Member Plugin
  • Force logout when user BANned.
  • Set custom logout URL when BANned.
  • Set message to display when a BANned user attempts to login.
  • If already logged in, display message to user when BANned.
  • Send custom email notification to user when banned/unbanned.
  • Capture unique reason for banning each user.
  • Set duration of BAN using date picker.
  • BANned users highlighted in users table with icon/coloured background row.
  • Users table shows reason user banned.
  • Users table shows date user banned.
  • Users table shows date user reinstated.
  • Support for Accessibility / Screen Readers.
  • Support for BuddyPress
  • Support for CPT (Custom Post Types)
  • Plugin Shortcodes
  • Template values / custom default messages

Premium Plugin Features:

Buy Premium Version

  • Capture users’ IP/Geodata during login
  • Display IP/Geodata in users table
  • BAN users by date and TIME!
  • Send notifications to specified email addresses when user publishes first post
  • Prevent users with banned email address from registering
  • Prevent users with banned email address from logging in
  • Prevent users with banned ip address from registering
  • Prevent users with banned ip address from logging in
  • Easily manage add/remove/search banned email/ip addresses
  • Include custom CSS/JS in header/footer
  • SPAM prevention
  • Account security – notification for logins when accessed from a new IP

How is it Useful?

There are multiple reasons why an administrator of a WordPress website may need to block users. One of the most popular reasons is the security of the site. Indeed, most blogs face security issues. Once your site is online and growing in popularity, it can become the target of individuals whose only goal is to destroy your work and to discredit your blog. The BAN Users Plugin enables administrators to deny access to unwanted individuals, and inform those users of the actions taken against them.

  • You want to ban malicious users from logging in.
  • You want to ban users who have breached terms of use or another policy.
  • You want to temporarily control access to admin.
  • You want to restrict a registered user from making any changes during development.
  • You have a client/user who has an unpaid invoice.
  • Ideal solution for moderators who monitor wordpress forums/posts.

Screenshots

  • screenshot-1.jpg
  • screenshot-2.jpg
  • screenshot-3.png
  • screenshot-4.png
  • screenshot-5.png
  • screenshot-6.png
  • screenshot-7.png
  • screenshot-8.png
  • screenshot-9.png
  • screenshot-10.png
  • screenshot-11.png
  • screenshot-12.png
  • screenshot-13.png

Installation

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Go to Users->All Users to view the list of users.

4a. Click on a username to access their profile page, or hover over the user and select ‘Edit’.
5a. Scroll down to the ‘Account Management’ Section of the profile page.
6a. Click on the checkbox which says ‘Ban this User’ beside it to either ban or unban the user.
7a. Scroll to the bottom of the page and select ‘Update User’ to confirm the changes made to the user.

4b. Hover over a user to display a list of possible modifications.
5b. Press the ‘Ban’ / ‘Unban’ button in order to change the users current state.

FAQ

Can all users be banned, regardless of role?

Yes, anyone can be banned by an administrator. Administrators are not able to ban themselves however.

Who can ban / unban another user?

Only Administrators are allowed to ban / unban other users by default.

How will I know if another user is banned?

In the user edit page, the user will be marked in a checkbox in the row called ‘Ban User’. If you also hover over the user on the ‘All Users’ page, the user will be the opposite of the stated ‘ban’ / ‘unban’ button.

How can I get unbanned?

You will need to contact a website administrator and asked to be unbanned. Each website may have their own policy for banning / unbanning users. If all administrators are banned, remove the plugin manually. Make sure an administrator is logged in on the website. Reinstall the plugin but with ‘force_logout’ set to false (0) and ‘custom message’ also set to false (0) in the settings file. The administrator can then unban people as usual.

Reviews

Does not work. No support even after paying.

KingDingbat August 20, 2019 1 reply
All users are recorded as the same ip address which makes banning them impossible, and this plugin rather useless. There is no support for this plugin, even for paid users. I've had an unanswered question collecting dust for months. The plugin is rather broken in the admin panel, but still usable.

Good

dfmcvn May 9, 2018
Work well on my site

Best user management plug-in

doogis December 11, 2017 1 reply
Quick updates and quick developer feedback This is the biggest advantage. The developer also responds with a quick and friendly answer.

I don’t know – Well, now I know!

Dan Nita August 11, 2017 8 replies
UPDATE Rated 5 stars as the plugin proves to be reliable and functional. My personal favorite feature of this plugin is the possibility of sending/displaying the notification to the user who was warned or banned. ____________________ Tho I don't want to diminish the efforts of the developer in coding and developing this plugin by rating 1 star I will rate 3 stars. Because, the plugin doesn't seam to work properly as the provided shortcodes are not functional. The idea and the concept of the plugin are awesome as far as functionality (in theory) but in "practice" they don't work. Maybe next time, when the developer will make a plugin which actually works I will rate 5 stars. Thank you. Great functionality, to bad it doesn't work for me

Strange Happenings in the admin dashboard

manni65929 April 30, 2017 1 reply
I've just updated to the latest version of this plugin, and after that it has become unsuable. The dasboard doesn't react anymore and statistcal graphics are messed up. Bring back the old version that worked.

All-round great plugin and support

brandon321 January 18, 2017 1 reply
Simply just great plugin with great support.
Read all 12 reviews

Contributors & Developers

“BAN Users” is open source software. The following people have contributed to this plugin.

Contributors
  • webxmedia

Translate “BAN Users” into your language.

Interested in development?

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

Changelog

1.5.3

  • Thanks to @davsev for suggesting this feature
  • [Added] Support for CPT (Custom Post Types) when changing posts status
  • [Fixed] Minor PHP code refactoring

1.5.2

  • Massive thanks to Richard Foley for his support in beta testing/feedback
  • [Added] Option to hide banned users comments on frontend
  • [Added] Change banned users’ role upon banning
  • [Added] Change banned users’ role when unbanned
  • [Added] Option to scramble banned users’ passwords
  • [Added] Option to set spammer status for banned users
  • [Added] Option to remove spammer status when unbanning users
  • [Added] Option to disable password reset for banned users
  • [Added] Quick links when clicked to scroll to section and reveal content
  • [Added] Option to collapse all plugin setting sections by default
  • [Fixed] Minor CSS amends

1.5.1

  • [Added] Ability to define multiple moderator roles with ban privilage access
  • [Added] Ability to define multiple roles that can be moderated (i.e. can be banned)

1.5.0

  • [Fixed] Unexpected string appearing above user table
  • [Fixed] Logic errors in security restriction settings
  • [Added] Ability to override ban/unban access restrictions for super admins/admins

1.4.9

  • [Added] Restrict ban user administrative access to users based on role hierarchy
  • [Added] User insights column which displays banned history data
  • [Updated] Plugin libs
  • [Fixed] Removed unncessary lib files/folders to reduce plugin size

1.4.8

  • [Added] Table listing banned users, with search feature & quick unban function
  • [Added] Updated plugin dependencies
  • [Added] Updated quick links on settings page (animation & labels)
  • [Added] Save settings confirmation message

1.4.7

  • [Updated] Minor UI changes to plugins settings page

1.4.6

  • [Added] Email templates now support additional TAGS
  • [Added] Updated depenancy libraries
  • [Added] Plugin now supports localisation for translations

1.4.5

  • [Fixed] Invalid markup causing php warning

1.4.4

  • [Added] Updated plugin dependencies
  • [Fixed] Fixed plugin settings collapse accordions
  • [Fixed] Misc CSS

1.4.3

  • [Added] Option to set a default ban reason that appears in custom email modal/popup
  • [Added] Option to set a default warn reason that appears in custom email modal/popup

1.4.2

  • [Added] Updated Plugin Shortcodes section to support additional arguments

1.4.1

  • [Added] Support for BuddyPress
  • [Added] New Plugin Shortcodes section
  • [Fixed] Conflicting plugin css with Selectric

1.4.0

  • [Added] %%reason%% tag now supported in default messages
  • [Added] %%unban_date%% tag now supported in default messages

1.3.9

  • [Fixed] Missing default values causing warning on Settings page.
  • [Fixed] Problem with Warning email template values not saving.

1.3.8

  • [Added] Enhanced security to restrict Ban User privilage access
  • [Fixed] Optimised code; refactored & bug fixes.

1.3.7

  • [Added] Overhauled settings page. Simplified & organised layout
  • [Added] Option to enable/disable support for 3rd Party plugins
  • [Added] Option to disable plugin’s enqueued files to allow them to be manually included
  • [Fixed] Force Logout bug when on front end
  • [Fixed] Logic mistakes on settings page
  • [Fixed] Optimised code; refactored & bug fixes

1.3.6

  • [Fixed] Optimised code; refactored & bug fixes

1.3.5

  • [Fixed] Improved options page layout, including misc fixes

1.3.4

  • [Added] Ban user by duration (1 day, 1 week etc) using new dropdown select
  • [Added] Improvements to date picker; moved to new modal popup
  • [Fixed] Issue where Unban Cron not executed correctly
  • [Fixed] PHP Compatibility issue (Thank you alfredopacino)

1.3.3

  • [Added] Added accessibility option to choose text links instead of icons
  • [Fixed] Improved accessibility, misc amends

1.3.2

  • [Fixed] Accessibility SR issue fixed affecting fontawesoome icons

1.3.1

  • [Added] Send WARNING emails to users, including custom messages
  • [Added] NEW! Introduced flat icons as alternatives to text based links
  • [Added] Modal popup for sending custom messages, with textarea instead of text field
  • [Fixed] Various minor amends/enhancements to methods

1.3.0

  • [Added] Support for Ulimate Member Plugin
  • [Added] Display banned message on front end of website in a diaglog box

1.2.9

  • [Fixed] Removed http links from enqueue to support SSL

1.2.8

  • [Added] Promoted the Ultimate BAN Users version of the plugin

1.2.7

  • [Added] Option to capture reason for ban without needing to send email notification
  • [Fixed] Default reason for BAN not working in all conditions

1.2.6

  • [Added] Set preferred date format (i.e. dd-mm-yyyy)
  • [Added] New email template tag for including ban lift date
  • [Fixed] Minor amends

1.2.5

  • [Fixed] Email charset switched to UTF8
  • [Fixed] BAN reason function updated to support accented characters

1.2.4

  • [Fixed] Updated options save function to support accented characters
  • [Fixed] Turned display/log PHP error debug off

1.2.3

  • [Fixed] Undefined index error accessing default login message
  • [Fixed] Undefined index error accessing default reason message

1.2.2

  • [Added] Set message to display when a BANned user attempts to login
  • [Added] Users table includes tooltip to show reason user banned
  • [Added] Users table includes tooltip to show date user banned
  • [Added] Users table includes tooltip to show date user reinstated

1.2.1

  • [Added] Toggle BANned column in users table on/off
  • [Added] Toggle BANned highlighted red row in users table
  • [Added] Minor security enhancements

1.2.0

  • [Added] Set duration of BAN using date picker
  • [Fixed] Move PHP functions into class structure
  • [Added] Custom UnBAN email template for user notification
  • [Fixed] Secured plugin files by preventing direct access

1.1.1

  • [Fixed] Fatal error: Can’t use function return value in write context

1.1.0

  • [Added] BAN user email notification
  • [Added] Custom BAN email template for user notification
  • [Fixed] Corrected force logout bug
  • [Added] Ability to capture reason for BANning user
  • [Added] WordPress Uninstall configuration

1.0.1

  • Initial release.

Meta

  • Version: 1.5.3
  • Last updated: 5 years ago
  • Active installations: 800+
  • WordPress Version: 4.2 or higher
  • Tested up to: 4.9.22
  • Language:
    English (US)
  • Tags:
    banblock accountlock accountusers
  • Advanced View

Ratings

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

Contributors

  • webxmedia

Support

Issues resolved in last two months:

0 out of 1

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

Sardu

  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry.