Addons XF - Country access check | .:: AE Community™ ::.
Country access check

Addons XF Country access check 1.6

Phiên bản XF tương thích
2.2; 2.3
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)

Country access check-1.webp


(Example of error message)

Country access check-2.webp


(Example of Country access check link)

Country access check-3.webp



(Example of Country access check page)

Country access check-4.webp


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.

AEtot24h

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.
Meta
ADMINISTRATIVE
Joined
Your content
1,005
Reaction score
297
Trophy points
83
1.6 Version
0 Downloads
16 Views
First release
Last update
0.00 star(s) 0 ratings
Author
Meta
Downloads
0
Views
16
First release
Last update

Ratings

More resources from Meta

Similar resources Most view View more
Back
Top