[AndyB] Country registration check

[AndyB] Country registration check 1.9

No permission to download
XF Compatibility
  1. 2.2.x
Short Description
Blocks registration for specified countries using ipstack.com and internal table. Setup involves signing up for ipstack's free plan, entering access key and country codes. View blocked countries via custom URL. Database includes andycountryregistration_check table. For blocking, enter codes in Blocked field; allow only by leaving Allowed field empty. Last 24 hours of registration history shown.
08202108_57.jpg

Description:

Blocks registration to specified countries.

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 Sign Up - ipstack 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
anne
Views
694
Extension type
zip
File size
26 KB
First release
Last update
Ratings 0.00 star(s) 0 ratings
Link was Broken? Send message to the Website Team and we will assist you quickly!
Support Developer If you are satisfied with the test or your project has earned you money, Click the More Information button to support the developer by purchasing.

Latest updates

  1. 1.9 - 1.9
    The table andy_county_registration_check table is now being pruned by cron entry. The Country...
  2. V1.8 - V1.8
    Now using ipapi.co for country lookup.
  3. 1.7 - Country registration check v1.7 changes:
    Added error handling code if ipstack.com returns invalid json.

More resources from anne

Rhye – AJAX Portfolio WordPress Theme A
Rhye is focused to amaze your visitors with sophisticated look and feel.
Extra Product Options & Add-Ons for WooCommerce A
lets you add extra product fields to your WooCommerce Product pages.

Similar resources

[AndyB] Country access check A
Blocks access to Contact us, Log in and Register pages from specified countries.
[AndyB] Region registration check A
Blocks registration from specified regions.
[AndyB] Attach count check A
Checks for proper value in attach_count field in xf_post table.
Top