You need to specify array list of all forbidden domains... for example, in bb_specials.php like
$forbidden_domains=array(
'.dk',
'.mail.ru',
'.gmail.com'
);
then the condition will be
then in bb_func_checkusr.php right before the starting
if (!preg_match paste:
$disallowedDomain=FALSE;
foreach($forbidden_domains as $f) {
if (substr_count(strtolower(${$dbUserSheme['user_email'][1]}), $f)>0) {
$disallowedDomain=TRUE;
break;
}
}
then instead of the condition supplied above it should be
OR $disallowedDomaini.e.
elseif(!eregi("^[0-9a-z]+([._-][0-9a-z_]+)*_?@[0-9a-z]+([._-][0-9a-z]+ )*[.][0-9a-z]{2}[0-9A-Z]?[0-9A-Z]?$", ${$dbUserSheme['user_email'][1]}) OR $disallowedDomain ) $correct=4;