=== BAN Users === Contributors: webxmedia Donate link: http://webxmedia.co.uk Tags: users, ban, lock account, block account, deny access, security, account, disable, login, logon, suspend, temporary, user, disable user, wp-admin disable, wp-login disable Requires at least: 4.2 Tested up to: 4.9.4 Stable tag: 1.5.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Ban a user from logging into their wordpress account, suspend posts and send notifications. The perfect solution for managing users and blocking unwanted registrations. == 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

Plugin Features & Options

Premium Plugin Features:

Buy Premium Version

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.

== 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. == Frequently Asked Questions == = 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. == Screenshots == 1. screenshot-1.jpg 2. screenshot-2.jpg 3. screenshot-3.png 4. screenshot-4.png 5. screenshot-5.png 6. screenshot-6.png 7. screenshot-7.png 8. screenshot-8.png 9. screenshot-9.png 10. screenshot-10.png 11. screenshot-11.png 12. screenshot-12.png 13. screenshot-13.png == 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. == Upgrade Notice == = 1.3.7 = If using the 'Ultimate Member Plugin' you will need to tick the checkbox 'Ultimate Member Plugin' under the '3rd Party Plugin Support' section in Ban Users settings page. This is because ver 1.3.7 of the Ban Users plugin now allows you to enable/disable support - as required - for 3rd Party code; but doesn't assume support by default. However, I've included a check so that until the new Ban Users settings are saved, it will continue to automatically support the 'Ultimate Member Plugin' so your sites don't break during this update. = 1.0.1 = Initial release