Status: offline

koalasoft

Forum User
Full Member
Registered: 03/09/05
Posts: 242
Install the bad-behavior, and you use east code in my lib-custom.php..
Text Formatted Code

function custom_usercheck ($username, $email)
{

// fight the porn spammers
$domain = substr(strrchr($email, "@"), 1);
$baned_domains = array('dro4ers.net',
                                  'koziavok.net',
                                  'pornoscop.com',
                                  '4watcher.com',
                                  'strokersclub.net',
                                  'sweetsnet.com',
                                  '1stflirt.org',
                                  'yamy.net',
                                  'lovesnake.net',
                                  '126.com');
if (in_array($domain, $baned_domains))
{
        $msg = 'Your email address is hosted on a banned domain. Please resubmit with alternate address.';
}


    $msg = '';

    // Example, check that the full name has been entered
    // and complain if it's missing
    if (empty ($_POST['fullname'])) {
        $msg = 'Please enter your full name!';
    }

    return $msg;

}
 

activates the option in my config.php...
Text Formatted Code
$_CONF['usersubmission']  = 1; // 1 = new users must be approved
 

but he is incomodo to be erasing in each short while to this type of users. But it continues appearing usuary with the dominions...
4watcher dot com
koziavok dot net
pornoscop dot com
dro4ers dot net
1stflirt dot org
sweetsnet dot com
yamy dot net
strokersclub dot net
lovesnake dot net

in my GL, how I can do so that they cannot registered users with these dominions.

Greetings !!
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
You may want to review the previous discussion for some tips.

bye, Dirk