• Webmaster forum we offer you the best experience with our webmaster site and freelancer forum categories where you can share information on topics such as web development and digital marketing!
    Participation and use are completely free!
  • Leeching is not allowed. Multiple accounts are not allowed, if you are caught you will be permanently banned.

    All registrations are manually approved by the administrator.

AndyB Country access check

AndyB Country access check 1.5

valaiVerified member

Administrator

Staff member
Reputation: 92%
Joined
Dec 27, 2024
Messages
855
Description :

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

(Example of options page) :

AndyB Country access check-1.webp


(Example of error message) :

AndyB Country access check-2.webp


(Example of Country access check page) :

AndyB Country access check-3.webp


Features :
  • Uses ipapi.co for accurate country locations.
  • All phrases start with countryaccesscheck_ for your convenience.
Setup :

Enter country codes into options page.

View countries registration check page :

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

Database changes :

A table called andy_country_access_check is created in your database.

Country access check v1.1 changes : Fixed typo in results page.

Country access check v1.2 changes : Added Country access check link to account menu.

Country access check v1.3 changes : Added countryaccesscheck_error phrase.

Country access check v1.4 changes : Now properly extending class.

Country access check v1.5 changes : Prevent server error if ipapi.com site is not accessible.
 
XF 2.0 / 2.1 / 2.2 / 2.3  AndyB User upgrade expired reminder  1.3
XF 2.0 / 2.1 / 2.2  AndyB Country log in check  1.0

Attachments

Similar threads Most view View more
Back
Top Bottom