AndyB Block country 1.1

XF 2.3 AndyB Block country 1.1

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
AndyB Block country 1.1

XF 2.3 AndyB Block country 1.1

Catégorie Catégorie Add-ons Premium
Titre du sujet Titre du sujet AndyB Block country 1.1
Auteur de la discussion Auteur de la discussion laurent68
Date de début Date de début
Réponses Réponses 0
Affichages Affichages 11
Réaction Réaction 0
Dernier message par Dernier message par laurent68

laurent68

Fondateur

Staff
fondateur
Réputation: 100%
Discussions
4 649
Messages
12 075
Solutions
81
J'aime
7 621
Points
198
Description :

Blocks access to specified countries.

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

(Example of Options page) :

pic001.webp


(Example of error message) :

pic002.webp


(Example of Block country link) :

pic003.webp


(Example of Block country page) :

pic004.webp


Features :

  • All phrases start with blockcountry_ for your convenience.
Setup :

This add-on requires 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. Add your GeoIp2 paths.

Viewing which countries were blocked :

Click the Block country link in the visitor menu. Must be an admin to see this link.

Database changes :

A table called andy_block_country is created in your database.

Block country v1.1 changes : Fixed null condition error.

Télécharger V1.1 :
 
Sujets similaires Les plus vues Voir plus
Retour
Haut Bas