The humanizer

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!
69
73%
Very Good
11
12%
Good
6
6%
Fair
2
2%
Poor
7
7%
 
Total votes: 95

Ereza
Registered User
Posts: 5
Joined: Fri Dec 24, 2004 5:24 pm

Post by Ereza »

@Dogs and things:
You should change the file language/lang_spanish/lang_main.php. Near the end, you will find something like:

Code: Select all

// The humanizer MOD
$lang['Are_u_human'] = 'Are you human?';
$lang['Are_u_human_explain'] = 'Sorry but this stupid question shall keep away the bots from this forum...';
$lang['Are_u_human_wrong'] = 'Sorry, but the "humanizer" question must be answered.';
Replace it with (if you didn't find it, just add this on the line before the "?>"):

Code: Select all

// The humanizer MOD
$lang['Are_u_human'] = '¿Eres un humano?';
$lang['Are_u_human_explain'] = 'Perdona por esta pregunta estúpida, pero sirve para evitar problemas de registro';
$lang['Are_u_human_wrong'] = 'Perdona, pero debes responder la pregunta sobre si eres humano';
If you don't have the file language/lang_spanish/lang_main.php maybe you're using a modified English language file. ONLY if that is the case, do the same changes to language/lang_english/lang_main.php

@Underhill:
I found the error, I pasted some code in the incorrect place in usercp_register.php.
Thank you for your patience, the mod is working perfectly now ^^ Thanks for this great mod!
User avatar
Dogs and things
Registered User
Posts: 2114
Joined: Fri Sep 01, 2006 9:04 am
Location: Spain
Contact:

Post by Dogs and things »

Thank you Ereza,

Searched, located and changed the part you said. Now it´s perfect.

Thanks again Underhill, nice job you did.
bregutz
Registered User
Posts: 2
Joined: Sun Sep 24, 2006 1:01 pm
Location: Bucuresti
Contact:

geting error

Post by bregutz »

After i installed the Mod i get this error:
Parse error: parse error, unexpected T_DOUBLE_ARROW in /home/content/s/e/r/sergiubrega/html/curajnet/forum/includes/usercp_register.php on line 139


Here is line 139 in my usercp_register.php
$signature = (isset($signature)) ? str_replace('<br />', "\n", $signature) : '';
$signature_bbcode_uid = '';

138 // The humanizer MOD
139 'ARE_U_HUMAN_YES' => ( $ruhuman ) ? 'checked="checked"' : '',
140 'ARE_U_HUMAN_NO' => ( !$ruhuman ) ? 'checked="checked"' : '',


what should i do!?
Pls help!
Underhill
Registered User
Posts: 154
Joined: Tue Sep 27, 2005 1:54 pm

Post by Underhill »

Hi bregutz,

please double check your changes in "usercp_register.php"

Code: Select all

#
#-----[ FIND ]------------------------------------------------------------------
#

		'SIGNATURE' => str_replace('<br />', "\n", $signature),

#
#-----[ AFTER, ADD ]------------------------------------------------------------
#

		// The humanizer MOD
		'ARE_U_HUMAN_YES' => ( $ruhuman ) ? 'checked="checked"' : '',
		'ARE_U_HUMAN_NO' => ( !$ruhuman ) ? 'checked="checked"' : '',
Not after

Code: Select all

$signature = (isset($signature)) ? str_replace('<br />', "\n", $signature) : ''; 
$signature_bbcode_uid = ''; 
Reg.
Underhill
batlh ghajbe' De'wI'mey!
bregutz
Registered User
Posts: 2
Joined: Sun Sep 24, 2006 1:01 pm
Location: Bucuresti
Contact:

Post by bregutz »

sorry, my mistake, I just discovered the mistake by myself...

Thank you!
sportlab
Registered User
Posts: 30
Joined: Wed Aug 30, 2006 1:16 pm

Post by sportlab »

thanks a lot underhill!
SportLab.BE
heepofajeep
Registered User
Posts: 26
Joined: Sun Oct 23, 2005 6:21 am

Post by heepofajeep »

I still have spam bots registering after doing this mod :(
guspasho
Registered User
Posts: 45
Joined: Thu Sep 15, 2005 9:25 pm
Location: Portland, OR
Contact:

Post by guspasho »

Sorry if this was mentioned already but I didn't want to read 11 pages of posts on this topic.

Is there any chance of seeing this mod come in the form of customizable fields in the ACP? Where the admin can create their own simple question and answer to quiz potential registrants, rather than editing the php files?
Portland's Anime Convention, Labor Day weekend, http://www.kumoricon.com
User avatar
Dogs and things
Registered User
Posts: 2114
Joined: Fri Sep 01, 2006 9:04 am
Location: Spain
Contact:

Post by Dogs and things »

guspasho wrote: Sorry if this was mentioned already but I didn't want to read 11 pages of posts on this topic.

Is there any chance of seeing this mod come in the form of customizable fields in the ACP? Where the admin can create their own simple question and answer to quiz potential registrants, rather than editing the php files?

Such a MOD allready exists, I´ve seen it somewhere.

But I don´t want to search it for you, sorry.
Underhill
Registered User
Posts: 154
Joined: Tue Sep 27, 2005 1:54 pm

Post by Underhill »

Hi,
heepofajeep wrote: I still have spam bots registering after doing this mod :(

please have a look at this
http://www.phpbb.com/phpBB/viewtopic.ph ... 66#2450966

Reg.
Underhill
batlh ghajbe' De'wI'mey!
guspasho
Registered User
Posts: 45
Joined: Thu Sep 15, 2005 9:25 pm
Location: Portland, OR
Contact:

Post by guspasho »

Dogs and things wrote:
guspasho wrote:Sorry if this was mentioned already but I didn't want to read 11 pages of posts on this topic.

Is there any chance of seeing this mod come in the form of customizable fields in the ACP? Where the admin can create their own simple question and answer to quiz potential registrants, rather than editing the php files?

Such a MOD allready exists, I´ve seen it somewhere.

But I don´t want to search it for you, sorry.


Thanks for the tip. I found it posted on page four of this topic. :D
Portland's Anime Convention, Labor Day weekend, http://www.kumoricon.com
marcwilliams
Registered User
Posts: 10
Joined: Sun Mar 27, 2005 2:30 am
Contact:

recommendation?

Post by marcwilliams »

Underhill wrote: Hi lilindar,

please note the Humanizer only prevent your board for new registrations of bots...

There are some other mods here on phpBB.com to prevent your forum of spam postings.

Reg.
Underhill


Do you have one that you would recommend?
thx
m
Millennyum
Registered User
Posts: 92
Joined: Sun Apr 10, 2005 11:19 am
Location: Netherlands
Contact:

Re: recommendation?

Post by Millennyum »

marcwilliams wrote:
Underhill wrote:Hi lilindar,

please note the Humanizer only prevent your board for new registrations of bots...

There are some other mods here on phpBB.com to prevent your forum of spam postings.

Reg.
Underhill


Do you have one that you would recommend?
thx
m


Try the Anti-bot guest post mod and the Spam Words mod
wiselum
Registered User
Posts: 23
Joined: Wed Sep 22, 2004 2:24 pm

Post by wiselum »

hi, i have this problem too...

have read thru the thread but still dun understand.


Code: Select all

Parse error: syntax error, unexpected ';' in /home/lesloves/public_html/rainbowbbs/includes/usercp_register.php on line 139
this is the code :

Code: Select all

validate_optional_fields(
// The humanizer MOD
	$ruhuman = ( isset($HTTP_POST_VARS['ruhuman']) ) ? ( ($HTTP_POST_VARS['ruhuman']) ? TRUE : 0 ) : 0;
$icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature);

	$viewemail = ( isset($HTTP_POST_VARS['viewemail']) ) ? ( ($HTTP_POST_VARS['viewemail']) ? TRUE : 0 ) : 0;
any clues?

thx a million!!!
Underhill
Registered User
Posts: 154
Joined: Tue Sep 27, 2005 1:54 pm

Post by Underhill »

Hi,
Underhill wrote: Did you notice that the action is "After, Add" this line (not "Inline After add")?


Please double check your "usercp_register.php"...


Reg.
Underhill
batlh ghajbe' De'wI'mey!
Post Reply

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