Any chance you could add something like this to lib-common.php:
Text Formatted Code
function COM_isEmail( $email )
{
if (function_exists('custom_emailblacklist'))
{
if (custom_emailblacklist($email))
{
return FALSE;
}
}
// rest of COM_isEmail continues here.
}
In lib-custom.php a sample custom_emailblacklist would look something like:
Text Formatted Code
// custom_emailblacklist returns TRUE if the $email address matches a pattern on the blacklist
function custom_emailblacklist( $email )
{
if (strpos($email, 'somebad.address') !== FALSE or
strpos($email, 'someother.address') !== FALSE or
strpos($email, 'athird.address') !== FALSE)
{
return TRUE;
}
return FALSE;
}
That's may off the cuff hack anyway. Move this thread to hacks if you like.