[AndyB] Country registration check

XF2 Addons [AndyB] Country registration check 1.9
Blocks registration to specified countries.

Compatible versions
2.1, 2.2

Blocks registration to specified countries.

(Example of options page)


(Example of error message)


(Example of Country registration check page)


  • Uses ipapi.co for accurate country locations.
  • Uses internal table for recent IP locations.
  • All phrases start with countryregistrationcheck_ for your convenience.
  1. 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.

Q: Where can I get a list of country codes?
A: Here's a link to the Alpha-2 country codes:

  • Like (+1)
Reactions: deanon
Author FateKid
5,910 pts
1.9 Version
0.00 star(s) 0 ratings Average Rating (0)

More files from FateKid

Customize Your XenForo 2 Community

[AndyB] Country registration check provides ultimate customization to your XenForo 2 community website! Enjoy powerful features that make your site stand out. Combine this add-on with XenForo 2 styles from our site and kickstart your online community now.

Why Download Our XenForo 2 Add-ons?

  • Easily enhance the quality of your XenForo online community.
  • Expand your XenForo 2 functionality with thousands of unique options.
  • Create unbelieveable user-experiences with advanced features.

Explore Other Resources

Are you looking for something different? Explore our thousands of unique and special XenForo 2 add-ons, available to download right now. FateKid shared this wonderful resource to you for free, so remember to share your appreciation by liking the resource and reviewing it.

Get started today and make your next project truly unique.

Top Bottom