MyBB Documentation

Config Banning

The 1.6 Documentation is no longer maintained and some information may be outdated.

The MyBB 1.6 series reached end of life on October 1, 2015.

This means there will be no more security or maintenance releases for these series and forums running these versions of MyBB may be at risk of unfixed security issues. All administrators are strongly encouraged to upgrade their forums to the latest release of MyBB as soon as possible.

The MyBB Admin CP Banning page, found under the "Configuration" tab, offers the ability to ban IP Addresses and disallow usernames and email addresses. Wildcard support is included for IP addresses, usernames, and email addresses, and for all you can view the date banned and the last attempted use. More information for each sub-page is found below.

Contents

Configuration: Banned IPs

Banned IP addresses disallow access for anyone accessing your MyBB forum from the IP addresses banned. Also supported is banning ranges of IP addresses, using * to represent the wildcard. You can view when each IP address was banned, and when the IP address last attempted to access the forum.

To ban an IP address, just enter the IP address, or range of IP addresses using an asterisk (*) to represent the wildcard, into the form at the bottom of the page and select "Ban IP Address."

You can later delete any banned IP address by simply selecting the delete icon on the right hand side of the page for the corresponding IP address.

Clicking on this link at the top of this page will take you to the appropriate page under the Users & Groups tab, allowing you to ban any accounts. See User Banning.

Configuration: Disallowed Usernames

Disallowing usernames allows you to prevent usernames from being registered by users. From the Admin CP, you can view the date the username was disallowed as well as its last attempted use. It is important to note that disallowing a username does not affect already registered users, and does not remove any access for existing users; it only disallows the username for new registrations.

To ban a username, simply fill in the desired username to be banned in the form at the bottom of the page and select "Disallow Username." Be aware that partial matches are disallowed, so any username containing the disallowed username will not be able to be registered.

You can later delete any disallowed usernames by simply selecting the delete icon on the right hand side of the page for the corresponding username.

Configuration: Disallowed Email Addresses

Disallowing email addresses allows you to prevent specific email addresses, or email address domains to be used by users. You can view the date the email address was disallowed and the last attempted use, as well. You can simply ban entire domains without using the wildcard feature; simply enter the domain when disallowing the email address rather than a full email address. It is not necessary to enter *@bannedomain.com - you can enter just bannedomain.com

If you would like to have any email addresses that you disallow through the Admin CP to no longer be used by existing users, you must set "Users Keep Email" under "User Registration and Profile Options" to No.

To ban an email address or email address domain, simply fill in the desired email address or domain to be banned in the form at the bottom of the page and select "Disallow Email Address."

You can later delete any disallowed email addresses by simply selecting the delete icon on the right hand side of the page for the corresponding email address.

Admin CP
Home Dashboard - Preferences - Version Check - MyBB Credits
Configuration Settings - Banning - Custom Profile Fields - Smilies - Word Filters - MyCode - Languages - Post Icons - Help Documents - Plugins - Attachment Types - Moderator Tools - Spiders/Bots - Calendars - Warning System - Thread Prefixes
Forums & Posts Forum Management - Forum Announcements - Moderation Queue - Attachments
Users & Groups Users - Groups - User Titles - Banning - Admin Permissions - Mass Mail - Group Promotions
Templates & Style Themes - Templates
Tools & Maintenance System Health - Cache Manager - Task Manager - Recount and Rebuild - PHP Info - Database Backups - Optimize Database - File Verification - Administrator Log - Moderator Log - User Email Log - System Mail Log - User Warning Log - Statistics

Edit this page on GitHub