[BETA] Unique Registration Hash

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
User avatar
drathbun
Former Team Member
Posts: 12204
Joined: Thu Jun 06, 2002 3:51 pm
Location: TOPICS_TABLE
Contact:

Re: [BETA] Unique Registration Hash

Post by drathbun » Fri Apr 06, 2007 3:39 pm

jalaln wrote: I wonder why this MOD is not "popular", since it is more efficient than others. :roll:

Because it doesn't work 100% of the time. :-) I don't mean that the code doesn't work, far from that. It just doesn't stop the latest generation of registration bot very well. I have something somewhat similar to this code on one of my sites and I still get 10-20 spam bots registering a week. They have simply learned to try first the standard register link directly, and if that doesn't work, they go to the register page and find the standard link and click on it. That's my experience, anyway.
I blog about phpBB: phpBBDoctor blog
Still using phpbb2? So am I! Click below for details
Image

pacmany
Registered User
Posts: 20
Joined: Sat Aug 26, 2006 7:54 pm

Re: [BETA] Unique Registration Hash

Post by pacmany » Sat Apr 07, 2007 6:11 am

phpBB2.0.21
I get this maseges:
Parse error: syntax error, unexpected ',' in /home/******/public_html/forum/includes/usercp_register.php on line 59

User avatar
pentapenguin
Former Team Member
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Re: [BETA] Unique Registration Hash

Post by pentapenguin » Sat Apr 07, 2007 6:12 am

Carefully check your edits in includes/usercp_register.php
Support Resources: Support Request Template
If you need professional assistance with your board, please contact me for my reasonable rates.

barcelona2
Registered User
Posts: 26
Joined: Sat Jan 13, 2007 8:57 pm
Location: Los Angeles
Contact:

Re: [BETA] Unique Registration Hash

Post by barcelona2 » Tue May 29, 2007 5:47 am

Hi Guys, I just installed this MOD and I have a little error!

I didn't understand exactly what to do on this line of code....

Code: Select all

if ( $mode == 'register' && !isset($HTTP_POST_VARS['agreed'] != $registration_hash && $HTTP_GET_VARS['agreed'] != $registration_hash )
This is the error I am getting:


Parse error: syntax error, unexpected T_IS_NOT_EQUAL, expecting ',' or ')' in /home/*********/public_html/forum/includes/usercp_register.php on line 84
Last edited by barcelona2 on Tue May 29, 2007 4:49 pm, edited 1 time in total.

User avatar
pentapenguin
Former Team Member
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Re: [BETA] Unique Registration Hash

Post by pentapenguin » Tue May 29, 2007 5:59 am

Post lines 80-90 of includes/usercp_register.php
Support Resources: Support Request Template
If you need professional assistance with your board, please contact me for my reasonable rates.

barcelona2
Registered User
Posts: 26
Joined: Sat Jan 13, 2007 8:57 pm
Location: Los Angeles
Contact:

Re: [BETA] Unique Registration Hash

Post by barcelona2 » Tue May 29, 2007 6:04 am

Here is 80-90

Code: Select all

$error = FALSE;
$error_msg = '';
$page_title = ( $mode == 'editprofile' ) ? $lang['Edit_profile'] : $lang['Register'];

if ( $mode == 'register' && !isset($HTTP_POST_VARS['agreed'] != $registration_hash && $HTTP_GET_VARS['agreed'] != $registration_hash )
{
	include($phpbb_root_path . 'includes/page_header.'.$phpEx);

	show_coppa();

	include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

User avatar
pentapenguin
Former Team Member
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Re: [BETA] Unique Registration Hash

Post by pentapenguin » Tue May 29, 2007 7:46 pm

This

Code: Select all

if ( $mode == 'register' && !isset($HTTP_POST_VARS['agreed'] != $registration_hash && $HTTP_GET_VARS['agreed'] != $registration_hash )
should be this:

Code: Select all

if ( $mode == 'register' && $HTTP_POST_VARS['agreed'] != $registration_hash && $HTTP_GET_VARS['agreed'] != $registration_hash )
Support Resources: Support Request Template
If you need professional assistance with your board, please contact me for my reasonable rates.

jalaln
Registered User
Posts: 1076
Joined: Tue Jul 05, 2005 5:05 am

Re: [BETA] Unique Registration Hash

Post by jalaln » Fri Jun 08, 2007 10:11 am

I've been using this MOD for almost two months, however; it doesn't seem to stop spambots, they are increasing :(.

I'm still using it, though. (It just stopped spambots for few days. Note that spambots decrease during Saturdays-Sundays).
No more spambots for phpBB2 and phpBB3.

User avatar
pentapenguin
Former Team Member
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Re: [BETA] Unique Registration Hash

Post by pentapenguin » Sun Jun 10, 2007 5:49 am

This MOD is only one way to stop spam bots and I encourage everybody to read this topic and to add more than one. ;)

Preventing SPAM - Bots and Humans
Support Resources: Support Request Template
If you need professional assistance with your board, please contact me for my reasonable rates.

IHD
Registered User
Posts: 2
Joined: Mon Jul 09, 2007 7:28 pm

Re: [BETA] Unique Registration Hash

Post by IHD » Mon Jul 09, 2007 7:39 pm

Good mod. So far it has slowed down the bot spam. Thanks. :)

Regards,
Jay Latour

DOSGuy
Registered User
Posts: 14
Joined: Tue Nov 27, 2007 8:17 pm
Contact:

Re: [BETA] Unique Registration Hash

Post by DOSGuy » Mon Jan 07, 2008 3:20 am

I was using this mod in combination with an anti-bot question when I was using phpBB2, and between the two of them I was getting almost 0 spam bot registrations. Since switching to phpBB3, I'm using only an anti-bot question and I'm getting at least 6 spam bot registrations per day. Are there any plans to revalidate this mod for phpBB3?
"Today entirely the maniac there is no excuse with the article." Get free DOS games at www.classicdosgames.com

Help build the user-editable DOS Games Compatibility Wiki.

diabolic.bg
Registered User
Posts: 447
Joined: Mon Dec 11, 2006 3:41 pm
Location: Bulgaria, Sofia
Contact:

Re: [BETA] Unique Registration Hash

Post by diabolic.bg » Tue Nov 11, 2008 2:05 pm

Excellent work, pentapenguin ! Thank you!
What the hell was spambot? :lol:
I have installed Textual confirmation (TC) too. Before installing your mod TC was stopped 40-50 bots daily and sent me emails, and now I'm boring... :lol:
Thank you again!

Post Reply

Return to “[2.0.x] MODs in Development”