=== Simple User Ban === Contributors: Dansperfect Tags: user ban, user management, access control, admin tools Requires at least: 5.0 Tested up to: 6.7 Stable tag: 1.0.1 License: AGPLv3 License URI: https://www.gnu.org/licenses/agpl-3.0.html Ban users from logging in by marking a checkbox in the user’s account settings. == Description == The Simple User Ban plugin allows administrators to prevent specific users from logging into their accounts by marking a “Ban User” checkbox on their profile. Once banned, users attempting to log in will receive a message indicating they have been blocked from accessing their account. This tool is ideal for administrators looking to manage user access without deleting accounts, helping maintain control over who can log in while preserving the user data. ### Features - Adds a “Ban User” checkbox to user profiles. - Prevents banned users from logging in. - Displays a custom message upon login attempts for banned users. == Installation == 1. Upload the plugin files to the `/wp-content/plugins/simple-user-ban` 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, edit a user, and check the "Ban User" checkbox to ban them from logging in. == Frequently Asked Questions == = How does this plugin work? = An administrator can go to a user’s profile and check the "Ban User" checkbox. When banned users attempt to log in, they’ll see a message stating they have been banned. = Can I customize the ban message? = The ban message is currently fixed in the plugin’s code. You can edit it in the code or add a translation. == Changelog == = 1.0.1 = * Tested with the latest version of WordPress. * Minor bug fixes and improvements. = 1.0 = * Initial release with user ban functionality. == Upgrade Notice == = 1.0.1 = Tested with the latest WordPress version and includes minor bug fixes for better performance. * Minor bug fixes and improvements. = 1.0 = First release. Allows administrators to ban users from logging in. == License == This plugin is licensed under the AGPLv3. Full license text can be found at [https://www.gnu.org/licenses/agpl-3.0.html](https://www.gnu.org/licenses/agpl-3.0.html).