Jesepi
Well-known member
I would like to have support in xenforo to block visitors from specific countries from registering on my forum. Supplying a list of country codes to block at the time of registration would be wonderful.
http://www.php.net/manual/en/function.geoip-country-code-by-name.php
Blocking only at the time of registration would be much more lightweight on my server then adding massive blocks of addresses to my iptables configuration. I don't care if they browse my site, just the ones registering to spam need to be stopped in their tracks. Obviously proxies and whatnot can bypass this, but the bulk of the spammers hitting my site are not hiding where they are coming from.
This would require the geoip module to be installed, but I believe it is a pretty common thing to have already installed due to things like awstats using it.
http://www.php.net/manual/en/function.geoip-country-code-by-name.php
Blocking only at the time of registration would be much more lightweight on my server then adding massive blocks of addresses to my iptables configuration. I don't care if they browse my site, just the ones registering to spam need to be stopped in their tracks. Obviously proxies and whatnot can bypass this, but the bulk of the spammers hitting my site are not hiding where they are coming from.
This would require the geoip module to be installed, but I believe it is a pretty common thing to have already installed due to things like awstats using it.
Upvote
1