Author |
Message |
AAcomplaints Guest
|
Posted: Wed Jan 24, 2007 11:56 pm Post subject: PROBLEM: If answer is left blank, it accepts it. |
|
|
Hi Oleg,
First of all, thank you for this wonderful mod, it was very easy to install.
After installing it, however, I noticed that the spambots were still getting in. After a bit of testing, I noticed that if the textual confirmation answer is left BLANK, it accepts the registration. (If a wrong answer is entered, it rejects it.)
I don't know if this is a bug in the code or a mistake I made during installation/setup.
Could you please help me fix this? My forum is aacomplaints[.]com.
Thanks for your time!
Cheers,
Andres |
|
|
admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
Posted: Thu Jan 25, 2007 3:11 am Post subject: |
|
|
Hi Andres,
thanks for contacting me. I've registered the users "delete_me_it_is_test" and "delete_me_it_is_test2" on your forum, please delete them.
It seems that any answer is accepted.
Most likely, the problem is that the string "tc_hook_register();" was inserted to a wrong position in the file "includes/usercp_register.php". There are a lot of curly braces, which sometimes cause confusion.
Please check and report results. _________________ Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development! |
|
|
AAcomplaints Guest
|
Posted: Thu Jan 25, 2007 4:20 am Post subject: You're right! |
|
|
Hi Oleg,
Wow, you know your stuff!
I had the tc_hook_register(); before the end brackets:
Code: | $error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty'];
tc_hook_register();
}
} |
Instead of after:
Code: | $error = TRUE;
$error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Fields_empty'];
}
}
tc_hook_register(); |
I fixed it and it works like a charm!
Great MOD, great support, great guy!
Keep it up!
Thanks,
Andres |
|
|
admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
Posted: Fri Jan 26, 2007 3:13 am Post subject: |
|
|
Hi Andres, thanks for the kind words! And I'm glad that the MOD now works. _________________ Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development! |
|
|
Cralis Guest
|
Posted: Tue Feb 13, 2007 2:39 pm Post subject: |
|
|
Just to let you know that your fix worked for me too! Will done Oleg! |
|
|
Khayn Guest
|
Posted: Sat Apr 07, 2007 12:30 pm Post subject: thx a lot |
|
|
i had the same problem and it was resolve
thank you for this great mod |
|
|
admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
Posted: Sun Apr 08, 2007 3:51 am Post subject: |
|
|
Nice! Best luck to your forum! _________________ Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development! |
|
|
Ok.