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..
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...
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::
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 approvedbut 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::
7
8
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