Thanks for the tweak. Makes more sense to black list than to white list. Easier to manage.
Combine this hack with Human Verification and
Forbid Users from Posting Links or Images if They Have Fewer than xx Posts, and every board should be SPAM free and confirmed registrations should be SPAMmer free. At least, that's what I'm hoping.
Quote:
Originally Posted by Jafo232
If you want to do that you could treat the valid country codes section as an EXCLUDE list, then just change this line in whois.php:
Code:
if (!in_array($country, $valid_countries)) { $userdata->set('usergroupid', 4); }
To this:
Code:
if (in_array($country, $valid_countries)) { $userdata->set('usergroupid', 4); }
|