Advertisement:

Author Topic: reCAPTCHA for SMF  (Read 411759 times)

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,204
  • Gender: Male
    • i30 Owners Club
Re: reCAPTCHA for SMF
« Reply #940 on: August 21, 2019, 01:32:10 PM »
I found a bug that prevents the verification questions from displaying properly (if enabled).

This line:
Code: [Select]
$qIndex = $verify_context['show_visual'] ? $i - 1 : $i;

Needs to be changed to:
Code: [Select]
$qIndex = ($verify_context['show_visual'] || $verify_context['use_recaptcha']) ? $i - 1 : $i;

in GenericControls.template.php


https://www.simplemachines.org/community/index.php?topic=213535.msg3992720#msg3992720

Offline szinski

  • Jr. Member
  • **
  • Posts: 114
  • Gender: Male
  • Programmer by day, photographer by night.
    • Pizza Making
Re: reCAPTCHA for SMF
« Reply #941 on: August 21, 2019, 01:38:04 PM »
Thanks, looks I missed that and had to figure it out on my own.

Offline shadav

  • Jr. Member
  • **
  • Posts: 208
  • Gender: Female
Re: reCAPTCHA for SMF
« Reply #942 on: October 03, 2019, 11:26:27 AM »
I'm having an issue :) (imagine that)

so I turned of smf captcha and I turned off the questions
and enabled this mod

but when trying to register I keep getting

The following errors were detected in your registration. Please correct them to continue:
Please enter the verification code below to continue to the results.

yes I clicked the box that i'm not a robot but it still just keeps giving this error..... if i turn this mod off (no captcha's) registration works....but obviously I don't want to do that

2.0.15 (many many mods)

Offline shadav

  • Jr. Member
  • **
  • Posts: 208
  • Gender: Female
Re: reCAPTCHA for SMF
« Reply #943 on: October 19, 2019, 01:55:51 PM »
I'm having an issue :) (imagine that)

so I turned of smf captcha and I turned off the questions
and enabled this mod

but when trying to register I keep getting

The following errors were detected in your registration. Please correct them to continue:
Please enter the verification code below to continue to the results.

yes I clicked the box that i'm not a robot but it still just keeps giving this error..... if i turn this mod off (no captcha's) registration works....but obviously I don't want to do that

2.0.15 (many many mods)

sorry to bump this, but can anyone try to help me with this?
I am not able to use smf captcha (not sure what broke that) and now this mod no longer works (not sure what broke it either)