Welcome Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community. This website is private and your must REGISTER or LOGIN to access any of this website.

SignUp Now!
Jammin

[AndyB]-Country access check 1.6

No permission to download
Compatible XF Versions
XenForo 2.3
Updates duration
This will get updated, when we get the updated version.
Requires Payment
No
Payment Processing
Payments can be made by PayPal Invoice, Stripe or Crypto.
Description:

Blocks access to Contact us, Log in and Register pages from specified countries.

When a user from a blocked country clicks the Contact us, Log in or Register link, they are shown an error message.

(Example of options page)

pic001.jpg



(Example of error message)

pic002.jpg



(Example of Country access check link)

pic003.jpg



(Example of Country access check page)

pic004.jpg



Features:
  • All phrases start with countryaccesscheck_ for your convenience.
Setup:

By default this add-on will use the ipapi.com to get the location from the users IP address. However using the API is not as reliable as using the GeoIp2 library. Here is a link which explains how to install the GeoIp2 library.

https://www.xf2addons.com/threads/how-to-install-the-geoip2-library.1132/

Go to options page and enter the country codes you want to block. Or if you prefer you can enter the country codes which you allow.

Viewing which countries were blocked:

Click the Country access check link in the visitor menu. Must be an admin to see this link.

Database changes:

A table called andy_country_access_check is created in your database.
  • Like
Reactions: sahaar
Author
Jammin
Downloads
1
Views
34
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Jammin

Back
Top
xfstore.net