I decided to give reCAPTCHA try so I followed the relevant link and set it up for reCAPTCHA v3.
I entered the public and private keys into the relevant boxes in the SMF anit spam - recaptcha admin area. And saved.
Someone attempted to register and got (the attached)
Suggestions?
My test site: http://www.gsx1400owners.org/test21forum
Use reCAPTCHA v2
Your keys must be for v2 of the api. I've only tried the checkbox type, since that's the one I used when I integrated it.
Quote from: live627 on January 21, 2019, 05:23:35 PM
Your keys must be for v2 of the api. I've only tried the checkbox type, since that's the one I used when I integrated it.
Maybe a small language change to state that SMF using v2.
Thanks
I've now changed it to recaptcha v2 keys so hopefully it works now.
Feel free to try for me :)
http://www.gsx1400owners.org/test21forum/
Hmm seems to have got worse. Went with a V2 setup and now get this...
Quote from: landyvlad on January 21, 2019, 08:46:06 PM
Hmm seems to have got worse. Went with a V2 setup and now get this...
I can see captcha image and checkbox there, but I can also see the input field below which I'm not sure what's there for.
Quote from: Dzonny
I can see captcha image and checkbox there, but I can also see the input field below which I'm not sure what's there for.
I believe that's being discussed in the reCaptcha mod support thread, to do with setting questions in conjunction with reCaptcha.
SMF 2.1 has recaptcha by default, so it is not using the mod.
Yes correct 2.1 has it by default.
Dzonny - thanks. Someone else had the same result - see attachment - I presume that's what you are seeing too ?
I'm wondering if that's where the verification question is supposed to appear.
This pull request may be related
https://github.com/SimpleMachines/SMF2.1/pull/5358
Quote from: landyvlad on January 22, 2019, 05:39:40 PM
Yes correct 2.1 has it by default.
Dzonny - thanks. Someone else had the same result - see attachment - I presume that's what you are seeing too ?
I'm wondering if that's where the verification question is supposed to appear.
I also had this very same thing.
Yes that's where the verification question is when it's working. On my test site the that text entry box was showing without the question, even though the number of verification to show was set to 0. The only way to get rid of that rogue entry box was to delete the question(s) and save.
Just managed to get it to do it again. Screenshot, one showing the extra entry box, but no question, and one showing the setting.
Again the only way to get rid of that entry box was to remove the question and answer. And save.
Check it isn't the intentional hidden input showing.
I looked at the site of landyvlad. The hidden input works as expected. The element in question is
<input type="text" name="register_vv[q][]" size="30" value="" tabindex="8" required="">
live627 - I don't understand that at all, but I assume it wasn't directed at me anyway, :) but to others who may be able to help resolve the issue.
That's right.
As I posted in reply #10, a fix is in the worsts,
The fix that live627 linked to above has been merged.
when was it merged.
About 12 hours ago I updated my test forum with latest nightly from https://www.simplemachines.org/community/index.php?topic=558451.20
The behaviour continues as before - badly :D - so apparently hasn't been sorted yet.
Be good when it is, because it's a pretty major issue if there are problems with members trying to register.
further to the above post - I'm told that if a registering user waits long enough they get this.
The theory that has been proposed is that it might have something to do with https... ?
So does the actual forum need to be HTTPS before recaptcha will work?
I accessed the forum using as https link.
I was able to click the recaptcha and get the tick.
As you can see though there is still a : where there should be a question (1) and a blank response field (2)
Quote from: landyvlad on January 23, 2019, 07:22:50 PM
About 12 hours ago I updated my test forum with latest nightly from https://www.simplemachines.org/community/index.php?topic=558451.20
Quote from: Sesquipedalian on January 24, 2019, 12:46:16 AM
Quote from: landyvlad on January 23, 2019, 07:30:12 PM
Ok well I've marked this as "not solv4ed" because 12 hours ago I upgraded my test forum to the latest nightly version, and this behaviour is continuing to occur:
Quote
Type of error: Undefined
8: Undefined offset: 1
http://www.gsx1400owners.org/test21forum/index.php?action=signup2
/home/gsxowner/public_html/test21forum/Themes/default/GenericControls.template.php (Line 252)
Guest
Today at 03:49 am
86.141.5.231
836e3a79517b027159d4b69246cb05ac
Type of error: Undefined
8: Undefined offset: 1
http://www.gsx1400owners.org/test21forum/index.php?action=signup2
/home/gsxowner/public_html/test21forum/Themes/default/GenericControls.template.php (Line 251)
If you are still getting references to lines 251 and 252, then you are not using the latest version from GitHub.
My guess is that albertlast's nightly build hadn't yet incorporated the latest changes by the time you downloaded.
reason why i recommand to provide the last_commit_* file name,
so that person from the support know which github version is used.
Quote
Also in this version it's important when you provide bugs,
which "version" you use ther for you find a file in the root called "last_commit_<version>" exp: last_commit_de7e49,
so when you open a bug/issue/request provide this number or even better update first to last version.
Indeed.
Thanks I'll have another crack
OK just upgraded and can confirm that - as at Last Commit 4fa7e97 - Recaptcha (v2) in combination with the security questions, is working perfectly !
Excellent. Glad to hear it.
This seemed the best thread to ask this question:
Is there a technical issue that prevents reCaptcha v3 from being used in SMF 2.1? It seems it would be preferable, as it's less annoying to users.
Or is there something undesirable regarding v3 resulting in a deliberate choice to not use it and only support v2?
Just curious. I have it (v2) working at the moment. Thanks!
I wrote and tested it for v2, the latest at the time.
annoying to users? Ticking one box?
If that annoys them to much they'd probably never post in a forum anyway....