Quote:
Originally Posted by Cyburbia
For many of us, a blacklist of countries would work better than a whitelist
|
Easily done.
Edit file /plugins/whois.php
Find at line 11:
Code:
if (!in_array($_SERVER['REMOTE_ADDR'],$excluded_ips)) { $ignore = true; }
Change to:
Code:
if (in_array($_SERVER['REMOTE_ADDR'],$excluded_ips)) { $ignore = true; }
Then just enter the names of the countries you want to block or blacklist (instead of the countries you want to whitelist) in the options for the add-on.