Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Topic started by: coolindark on March 08, 2019, 05:20:49 PM

Title: Need Help - Geo Location Block at Registration?
Post by: coolindark on March 08, 2019, 05:20:49 PM
Hello everyone,

Do you know any mode can block registrations from targeted counties or just allow targeted countries?

I'm creating a forum just with my native language and i don't want registrations from other counties. This can also be a great spam preventation.

Thanks!
Title: Re: Need Help - Geo Location Block at Registration?
Post by: vbgamer45 on March 08, 2019, 05:22:18 PM
Yup download at
https://github.com/Spuds/SMF-GeoIP
Title: Re: Need Help - Geo Location Block at Registration?
Post by: coolindark on March 11, 2019, 03:10:04 AM
Quote from: vbgamer45 on March 08, 2019, 05:22:18 PM
Yup download at
https://github.com/Spuds/SMF-GeoIP

Thanks for the info. However, can you explain a little for installation?
Also i see that this MOD needs good resources and it logs every IP information. I just need a lighter mode. This can be a problem to implement in a shared hosting right?
Title: Re: Need Help - Geo Location Block at Registration?
Post by: coolindark on March 11, 2019, 10:42:53 AM
Sorry, my bad...
It looks like the mod is not effective anymore since MaxMind do not give active free CSV files.

Thanks anyway, i think i'm going to setup a localized anti-spam in registration instead of using Geo Location.
Title: Re: Need Help - Geo Location Block at Registration?
Post by: vbgamer45 on March 11, 2019, 11:28:51 AM
I use the binary database on my sites for geoip I think it is still free at https://dev.maxmind.com/geoip/geoip2/geolite2/