11
Cesagonchu
Re: spam registrations

Quote:

Roby73 wrote:
Sorry i don't see the code in this moment.


Try this link:
http://sourceforge.net/p/xoops/svn/12549/

Thank you for your contribution Roby

12
Roby73
Re: spam registrations
  • 2014/5/29 22:47

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Thank you. I try the module in local xoops. Is good choose where apply the security code.

13
Cesagonchu
Re: spam registrations

I have several problems with this new code.

A - With Google Chrome (35.0.1916.114 m Version), I always come back to the first form. With Firefox (29.0.1 Version) it works

B - Even if you do not enter the captcha result, in the second form, the registration continues

C - At the end, I still have this message:
"You are now registered. However, we were unable to send the activation email to your email account due to an internal error that had occurred on our server. We are sorry for the inconvenience, please send the webmaster an email notifying him/her of the situation".



My config:

PHP: 5.4.9-4ubuntu2.4
MYSQL: 5.5.34-0ubuntu0.13.04.1
XOOPS: 2.5.7_RC2
ModuleAdmin: 1.2

14
Mamba
Re: spam registrations
  • 2014/6/3 9:56

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Thanks for testing, Cesag!!! This is very valuable!

Anybody else had a chance to test the code?
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

15
Cesagonchu
Re: spam registrations

Forget the error C because it comes from my server I think. I have not yet installed the email server.
Please, help us solve our problems registering with double captcha under Xoops 2.5.7 RC2.

Help us test, tell us if you experience the same bugs.

To test, download Xoops 2.5.7 RC2 (click on Download Snapshot), install Xoops and simulate an inscription.

16
slider84
Re: spam registrations
  • 2014/6/4 20:05

  • slider84

  • Just popping in

  • Posts: 21

  • Since: 2013/8/16


Same problems than Cesag on differents browsers.
Try adding:
Quote:
if ($GLOBALS['xoopsModuleConfig']['profileCaptchaAfterStep1'] == 1 && $current_step > 1) {
xoops_load('XoopsCaptcha');
$xoopsCaptcha2 = XoopsCaptcha::getInstance();
if (!$xoopsCaptcha2->verify()) {
$stop .= $xoopsCaptcha2->getMessage();
}
}
in /profile/register.php on line 204, just after
Quote:
if ($current_step > 0 && empty($stop) && (!empty($steps[$current_step - 1]['step_save']) || !isset($steps[$current_step]))) {

I'm not sure that is the best solution but it seems to work.


Login

Who's Online

295 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 295


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits