Stop Spambot Registration

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
65
71%
Very Good
12
13%
Good
5
5%
Fair
4
4%
Poor
5
5%
 
Total votes: 91

fusecon
Registered User
Posts: 5
Joined: Fri Mar 18, 2005 4:31 am
Location: Oregon
Contact:

something missing or conflict

Post by fusecon »

I tried this mod and either something is missing or it is conflicting with my huminizer and/or other spambot mods.

I ended up changing the mod a bit (moving your messages to the L_ area in the usercp file) and then discovered the error in the profile_add_body.tpl page:

<!-- BEGIN switch_register -->
<tr bgcolor="#FF0000">
<td colspan="2">
<span class="h1" style="color: white">{SPAMBOT_MESSAGE}</span><br /><br />
<span class="gen" style="color: white">{SPAMBOT_MESSAGE_EXPLAIN}</span>
</td>
</tr>
<!-- END switch_register -->


Eventually I just re copy and pasted it and got it to work. Strange. There must have been a bad character in there or something.

-dan
senzacionale
Registered User
Posts: 65
Joined: Sun Sep 05, 2004 5:26 pm

Post by senzacionale »

is it possible to ban this spam and is it posible that all mods will get email?
joenorris
Registered User
Posts: 13
Joined: Thu Dec 11, 2003 6:50 am

Post by joenorris »

6 attempts this week, all rejected.
No more advertising cheap meds on my site!

:D

I'm quite happy with this mod.
Oosterberg
Registered User
Posts: 7
Joined: Tue Oct 03, 2006 6:58 am

Post by Oosterberg »

Is it possible to combine this mod with this one : http://www.phpbb.com/phpBB/viewtopic.php?t=375262

?
fusecon
Registered User
Posts: 5
Joined: Fri Mar 18, 2005 4:31 am
Location: Oregon
Contact:

great mod

Post by fusecon »

I have about 3-4 mods installed. After I installed this one (1 week ago) I've only gotten 1 sign up which I'm not sure is real or not. Before I was getting 3-4 a day.

So, I have this one, humanizer (not very useful), a SPAMBot one and a generic 2 line one that should stop bots from skipping a sign on page.

Perhaps, this is the only mod you need. I'd give it the thumbs up. I took out the e-mail feature...

-dan
reenmachine
Registered User
Posts: 15
Joined: Tue Jan 25, 2005 10:12 pm

Post by reenmachine »

This is my first mod! Installation was a snap and the instructions are great.

I get 6-10 spambot registrations every day, so I will very shortly know if this is working for me or not. I'll post with the results!
reenmachine
Registered User
Posts: 15
Joined: Tue Jan 25, 2005 10:12 pm

Post by reenmachine »

Thwarted my first one! Awesome!
User avatar
matt1206
Registered User
Posts: 213
Joined: Wed Mar 08, 2006 3:04 pm
Location: Sheffield, UK
Name: Matt Worthington

Post by matt1206 »

Just installed the mod eith EasyMod, went on fine. Tested by trying to sign up and adding a url to profile information.....registration not gone through :D

Very good mod
Martian
Registered User
Posts: 63
Joined: Fri May 13, 2005 11:16 am
Location: Olympus Mons
Contact:

Post by Martian »

Thanks for the compliments, I am glad this MOD is being useful! :)
senzacionale wrote: is it possible to ban this spam and is it posible that all mods will get email?

I don't know how to send e-mails to all the moderators with this MOD.

About auto-banning the IP of the spammers: this is not a good idea. If a human (or a curious forum member) accidentally enters Profile Information, then (s)he would be banned and not get a second chance to register. There is also the risk of banning shared IP addresses.
Oosterberg wrote: Is it possible to combine this mod with this one : http://www.phpbb.com/phpBB/viewtopic.php?t=375262

No, you can't combine it with the MOD Easy BotStopper or similar MODs. Like I said in a previous message, these MODs remove certain fields during registration. When spambots provide information for these fields, the registration will fail. In contrary, this MOD does NOT hide Profile Information fields. See here for more explanation.
layke
Registered User
Posts: 12
Joined: Sun Jun 25, 2006 7:33 pm
Location: Dublin

Post by layke »

Excellent Mod.

Not one spammer since installed, were 6 per day signing up :D

Nice work and thanks a lot.
reenmachine
Registered User
Posts: 15
Joined: Tue Jan 25, 2005 10:12 pm

Post by reenmachine »

What's funny is that I'm not even getting any attempts now...either it's a random lull or they can sniff it out and have just decided to skip it. Either way I'm happy!
ITwizard
Registered User
Posts: 7
Joined: Tue Jul 25, 2006 8:03 am

parse error, hoping for help

Post by ITwizard »

matt1206 wrote: Just installed the mod eith EasyMod, went on fine. Tested by trying to sign up and adding a url to profile information.....registration not gone through :D

Very good mod


I have a question.. how did you do this with Easy Mod? I thought you have to go through and do it all manually. If it can be done with the Easy Mod then it would make things so much easier for me. Right now I'm showing an error and not quite sure if it's an easy fix or if I should just go through and redo it all over again. :?:

Parse error: syntax error, unexpected '}' in /home/ravv22/public_html/msgforum/includes/usercp_register.php on line 795

Could I cut and paste something in order for someone to help me see what may be wrong?
Do not follow where the path may lead. Go, instead, where there is no path and leave a trail. ~Ralph Waldo Emerson
ITwizard
Registered User
Posts: 7
Joined: Tue Jul 25, 2006 8:03 am

Re: parse error, hoping for help

Post by ITwizard »

ITwizard wrote: I have a question.. how did you do this with Easy Mod?


I got it.. never mind *shakes head* this is a first for me using this Easy Mod, something that I still have to get used to. :D Haven't had anyone try to get into the bb yet to see if it works or not but will find out soon enough I suppose.
Do not follow where the path may lead. Go, instead, where there is no path and leave a trail. ~Ralph Waldo Emerson
breadtop
Registered User
Posts: 3
Joined: Thu Oct 05, 2006 2:13 pm

Post by breadtop »

Don't know if I've done this right, couldn't find

Code: Select all

 $template->assign_block_vars('switch_edit_profile', array());
	}

only the

$template->assign_block_vars('switch_edit_profile', array());

without the closing curly brace
so I put the code in like this:

Code: Select all

 $template->assign_block_vars('switch_edit_profile', array());
	  
	  //----BEGIN Stop Spambot Registration MOD
	if ( $mode == 'register' )
	{
		$template->assign_block_vars('switch_register', array());
		$template->assign_vars(array(
			'SPAMBOT_MESSAGE' => $lang['Spambot_message'],
			'SPAMBOT_MESSAGE_EXPLAIN' => $lang['Spambot_message_explain'])
		);
	}
//----END Stop Spambot Registration MOD
	  
      if ($userdata['user_posts'] >= $cut_off) 
      { 
      $template->assign_block_vars('switch_edit_website', array()); 
      }
Have I changed the code correctly? What should I see if I attempt a non-bot registration, and what's the difference to look for (sorry if I'm being a bit dumb here).

Dan
Martian
Registered User
Posts: 63
Joined: Fri May 13, 2005 11:16 am
Location: Olympus Mons
Contact:

Post by Martian »

breadtop wrote: so I put the code in like this:

Code: Select all

 $template->assign_block_vars('switch_edit_profile', array());
	  
	  //----BEGIN Stop Spambot Registration MOD
	if ( $mode == 'register' )
	{
		$template->assign_block_vars('switch_register', array());
		$template->assign_vars(array(
			'SPAMBOT_MESSAGE' => $lang['Spambot_message'],
			'SPAMBOT_MESSAGE_EXPLAIN' => $lang['Spambot_message_explain'])
		);
	}
//----END Stop Spambot Registration MOD
	  
      if ($userdata['user_posts'] >= $cut_off) 
      { 
      $template->assign_block_vars('switch_edit_website', array()); 
      }

The last few lines look like code from another MOD. Is this from "[BETA] Anti-spam bots registration"?
Have I changed the code correctly?

I don't know if these MODs won't interfere, but you should at least put the code for the MOD Stop Spambot Registration AFTER:

Code: Select all

if ( $mode == 'editprofile' ) 
   { 
      $template->assign_block_vars('switch_edit_profile', array()); 
      if ($userdata['user_posts'] >= $cut_off) 
      { 
      $template->assign_block_vars('switch_edit_website', array()); 
      } 
   } 
What should I see if I attempt a non-bot registration, and what's the difference to look for (sorry if I'm being a bit dumb here).

On the registration page you will see a spambot warning message. When Profile Information is entered, the registration will fail and an e-mail notification will be send to the admin. You can check this by registering and entering profile information.
Post Reply

Return to “[2.0.x] MOD Database Releases”