Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 02:12 pm EST

Geeklog Forums

Users Spammer in my GL


Status: offline

koalasoft

Forum User
Full Member
Registered: 03/09/05
Posts: 242
Location:Mexico
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. Can someone help me Can someone help me

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

Status: offline

Dirk

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

bye, Dirk
 Quote

All times are EST. The time is now 02:12 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content