No More Spam Bots....


Subject: No More Spam Bots....
Blocks registrations from timezone GMT-12 that is used by almost all spambots.


#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------
#
Code: [Download] [Hide] [Select]
if ( !($row = $db->sql_fetchrow($result)) )
{
message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql);
}
$user_id = $row['total'] + 1;

#
#----[ AFTER, ADD ]------------------------------------------
#
Code: [Download] [Hide] [Select]

if( $user_timezone == '-12')
{
redirect(append_sid('forum.'.$phpEx));
die();
}

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM




This for sure blocks the registration of all the spammers :v: as most of the spammers use this Time Zone atleast on my site they did.
I am wondering how to turn of email notifications and Visual Confirmations etc

Profile PM  
Subject: Re: No More Spam Bots....
If there are spambots, they wouldn´t be able to register if something in the form is changed.
I think if you put a chekbox with a ramdom setting, default disabled, and check obligated, the spambots wouldn´t be able to register anymore.

Profile PM  
Subject: Re: No More Spam Bots....
novice programmer wrote: [View Post]
If there are spambots, they wouldn´t be able to register if something in the form is changed.
I think if you put a chekbox with a ramdom setting, default disabled, and check obligated, the spambots wouldn´t be able to register anymore.

Yes, it is a good method.

Anyway with latest Icy Phoenix I don't have spambots registration anymore... have you?

Subject: Re: No More Spam Bots....
Mighty Gorgon wrote: [View Post]
novice programmer wrote: [View Post]
If there are spambots, they wouldn´t be able to register if something in the form is changed.
I think if you put a chekbox with a ramdom setting, default disabled, and check obligated, the spambots wouldn´t be able to register anymore.

Yes, it is a good method.

Anyway with latest Icy Phoenix I don't have spambots registration anymore... have you?


My website has got the register closed 'case the SMTP needs autentification....

I´m finishing the Better SMTP. i´ll relase it when i´ve got time.... the high school doesn´t leaves time for doing anything.

Profile PM  
Subject: Re: No More Spam Bots....
No hurry, take your time.

Thank you for your contribution. We really appreciate. :D


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.3463s (PHP: 45% SQL: 55%)
SQL queries: 29 - Debug Off - GZIP Enabled