Geoblock Registration 1.2.2

XF 2.1 / 2.2 / 2.3 Geoblock Registration 1.2.2

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
Geoblock Registration 1.2.2

XF 2.1 / 2.2 / 2.3 Geoblock Registration 1.2.2

Catégorie Catégorie Add-Ons
Titre du sujet Titre du sujet Geoblock Registration 1.2.2
Auteur de la discussion Auteur de la discussion laurent68
Date de début Date de début
Réponses Réponses 5
Affichages Affichages 467
Réaction Réaction 1
Dernier message par Dernier message par laurent68

laurent68

Fondateur

Staff
fondateur
Réputation: 100%
Discussions
4 844
Messages
12 567
Solutions
85
J'aime
7 864
Points
198
This XenForo 2.1 addon provides Geoblocking capabilities for user registration.

You can set allowed and denied lists for countries based on the IP address a user registers from - and optionally force users from non-approved countries into the moderation queue when registering.

The addon uses the free Maxmind GeoLite2 downloadable IP database to identify the country associated with the IP address of a registering user.

As an example, a typical use-case for this addon might be for an Australian website to allow users from Australia and New Zealand to be approved automatically, while users from, say, Russia, Nigeria and other common sources of spammers are blocked from registering. Users from all other countries can be placed into the moderation queue for manual approved by moderators.

GDPR block

A "Reject EU Registrations" option can be enabled to automatically block registrations from any countries within the European Union, which may help minimise risk for sites which are not serving EU members and do not intend to implement full GDPR support. Note that existing registered users will be unaffected by this setting - it only applies at registration.

This option will be over-ridden by Approved and Denied lists, which can be useful for cases such as the UK, where they are technically still part of the EU until Brexit occurs, so by adding "GB" to the Approved list, you can avoid blocking people from the UK while blocking everyone else in Europe.

Of course, users can always use a proxy server to get around these blocks - but at least you've made a concerted effort to block EU members - which is all you can do.

The message a user will receive when their registration is rejected because of the EU block is "Your registration has been rejected because we do not allow people from the European Union to use our site. Please contact the administrator for further information or assistance."

Installation

1. Install the addon using the standard installation mechanisms. The addon will create a single database table for caching of IP address lookup data.
2. Be sure to add some approved and denied countries to the configuration options - see below.

3. Download the GeoLite2 database using the "Update Maxmind Database" function, which can be found under the Tools menu in the admin area. The database is updated by Maxmind weekly and will be automatically downloaded every week using a cron task.

You must have the Phar extension enabled on your server for database download and extraction to function.

Configuration options :

1513
1514
1515


Database update :

The GeoLite2 database is updated automatically once per week using a cron task to download it from Maxmind's servers. To manually update the database, you can use the update tool in the Admin area :

1516


Lookup test
Perform a database lookup and show the country code for the IP address :

1517


Configuration tester

Test an ISO code against your configuration options to determine what action would be taken for a user from that country. Optionally simulate a user from the EU to test EU block configuration.

1518


See also
Télécharger V1.0.0 :

Version 1.1.1 : bugfix - was using hard coded URL components rather than class properties.

Télécharger V1.1.1 :

Version 1.1.2 : No new functionality included in this release - just some code cleanup and unit testing. No need to upgrade from v1.1.1
  • check that vendor folder exists to prevent breaking forum if we somehow didn't run composer install
  • latest vendor dependencies
  • use mock mmdb database for unit testing testing
  • make subcontainer more testable by allowing paths to be replaced at runtime
  • verified compatibility with XF 2.2
Version 1.2.0 :
  • bugfix: don't try to uppercase a null iso_code
  • php 8 compatibility fix: don't set a default parameter before non-default subsequent parameters
  • slight re-arrange to order of code logic for EU checking - no point checking anything related to EU blocking if we don't have EU blocking enabled
  • rename table to xf_geoblock_cache to adhere to resource standards
  • addon now requires php 7+
  • explicitly check for phar extension on install
  • add legacy upgrade from XF 1.5 to Setup
  • bugfix: wrong link to database update tool in test tool error message
Télécharger V1.2.0 :

Version 1.2.1 - latest composer dependencies - no changes to addon :
- This update only contains the latest composer dependencies, there has been no change to the addon code. Upgrading is optional.

Télécharger V1.2.1 :

Version 1.2.2 bugfix - assert admin permission :
  • Minor bugfix to explicitly enforce admin permissions on admincp tools
  • updated icon
  • latest composer dependencies
Télécharger V1.2.2 :
 
XF 2.0 / 2.1 / 2.2  AndyB Cover photo 2.1
XF 2.1 / 2.2 / 2.3  Redis Cache By Xon 2.18.8
Dernière édition:
Ajout de la version 1.1.1 :)
 
Ajout de la version 1.2.0 :)
 
Ajout de la version 1.2.1 :)
 
Ajout de la version 1.2.2 :)
 
Contenu similaire Les plus vues Voir plus
Retour
Haut Bas