Site in read-only mode

This site is now read-only following the release of MyBB 1.8 and the new mods site.

If you are looking for MyBB 1.8 mods please click here to visit the new mods site.

You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.

IP2Location IP-Country Blocker

This plugin blocks unwanted visitors by their IP address or origin country.

Version: 1.0.0
Author: hexasoft
Submitted: 27th May 2014
This plugin blocks unwanted visitors from accessing MyBB by their IP address or origin country. You can choose to block them from all pages, or only registration page.

It uses the IP2Location BIN database to locate the country information for blocking.
You may download the BIN database at the following path:

Free LITE BIN database: http://lite.ip2location.com/database-ip-country
Commercial BIN database: http://www.ip2location.com/databases/db1-ip-country


Installation
------------
1. Upload folder and file /inc/plugins to your MyBB installation folder (/inc/plugins).
2. Login to MyBB administrator page and go to Configuration > Plugins.
3. Find "IP2Location IP-Country Blocker" from the list and activate it.
4. Go to Configuration > Settings.
5. Click "IP2Location IP-Country Blocker" to configure your settings.
6. Download the IP2Location database. (Please refer to the above section for the download details)
7. Make sure to configure the database path at the settings page. An absolute path accessible by the MyBB.
Previews:Preview Image 7191