Country registration check

Country registration check 1.7

No permission to download
Note
Compatible XF 2.x versions: 2.1, 2.2
Description:

Blocks registration to specified countries.

(Example of options page)

pic001.jpg


(Example of error message)

pic002.jpg


(Example of Country registration check page)

pic003.jpg


Features:
  • Uses ipstack.com for accurate country locations.
  • Uses internal table for recent IP locations.
  • All phrases start with countryregistrationcheck_ for your convenience.
Setup:
  1. Navigate to https://ipstack.com/signup/free and sign up for their free plan.
  2. Enter access key into options page.
  3. Enter country codes into options page.
View countries registration check page:

You view a list of blocked countries, add 'countryregistrationcheck' to your forum URL. Must be an admin to view this page.

Database changes:

A table called andy_country_registration_check is created in your database.

Questions and Answers:

Q: I want to block a few countries.
A: Enter those country codes into the Blocked country codes field. Leave the Allowed country codes field empty.

Q: I want to allow only a few countries.
A: Enter those country codes into the Allowed country codes field. Leave the Blocked country codes field empty.

Q: How far back in time does the country registration page show?
A: The last 24 hours.
Author
Andy
Downloads
110
Views
1,639
First release
Last update
Rating
5.00 star(s) 3 ratings

Latest updates

  1. See description

    Country registration check v1.7 changes: Added error handling code if ipstack.com returns...
  2. See description

    Country registration check v1.6 changes: Added additional code to prevent null condition server...
  3. See description

    Country registration check v1.5 changes: Fixed issue where ipstack.com is over limit and...

Latest reviews

Simple, and it works for the most part, except for some India IP addresses tat slip through. That's more of an issue with the database, and not the plugin itself.
Simple to install, effective and a real time saver.
Awesome add-on, just what our site was needing.

Similar resources

Country flag Andy
Shows a country flag in the message user info block.
0.00 star(s) 0 ratings
Downloads
109
Updated
Country flag select Andy
Allows members to select their country flag.
0.00 star(s) 0 ratings
Downloads
38
Updated
Country restricted page Andy
Allows page access only to countries specified in options page.
5.00 star(s) 1 ratings
Downloads
15
Updated
Auto registration approval Andy
Automatically approves registration based on custom user field keywords.
0.00 star(s) 0 ratings
Downloads
3
Updated
Registration code Andy
Adds a registration code field to the register page.
0.00 star(s) 0 ratings
Downloads
96
Updated
Top