<![CDATA[ Quip with recaptcha V2 - My Forums]]> https://forums.modx.com/thread/?thread=103038 <![CDATA[Quip with recaptcha V2]]> https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=8#dis-post-554717
does Quip work with recaptcha V2?

If it does, how can i include it?]]>
mediengaarage Oct 23, 2017, 08:51 AM https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=8#dis-post-554717
<![CDATA[Re: Quip with recaptcha V2]]> https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=8#dis-post-563385
I've got Recaptcha V2 installed, correct keys enter in system settings, and the Recaptcha "I'm not a robot" element appears in the comments.

When "I'm not a robot" IS checked off, the page redirects to itself with this on the end:

?quip_approved=0#quip-success-qcom

and the comments shows up in my unapproved list.
When "I'm not a robot" IS NOT checked, it redirects to itself with this on the end:

#quip-comment-preview-box-qcom

and no error message appears. The page doesn't scroll down, either, because there is no div with id "quip-comment-preview-box-qcom" on the page. The comment does not get entered in the database, as expected, but why no error message? I've got "[[!+error.recaptchav2_error]]" right after the Recaptcha display snippet in the reply template.
]]>
rainbowtiger Dec 29, 2018, 02:24 AM https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=8#dis-post-563385
<![CDATA[Re: Quip with recaptcha V2]]> https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=8#dis-post-558697
<ul>
       [[!Quip? &thread=`article-60-[[*id]]`]]
</ul>
]]>
chrisandy May 23, 2018, 02:39 PM https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=8#dis-post-558697
<![CDATA[Re: Quip with recaptcha V2]]> https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=8#dis-post-558695
This is my call...

[[!QuipReply? &thread=`article-60-[[*id]]` &preHooks=`recaptchav2` &closeAfter=`0` &moderate=`1` &requireAuth=`0` &recaptcha=`0` ]]


Any help would be much appreciated]]>
chrisandy May 23, 2018, 10:38 AM https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=8#dis-post-558695
<![CDATA[Re: Quip with recaptcha V2]]> https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=7#dis-post-558294 Quote from: dubbs at Mar 05, 2018, 11:10 AM
So.. for those looking to get quipReply to work with recaptchaV2 do this...

First install latest version of recaptchaV2 from here - https://modx.com/extras/package/recaptchav2

Make the changes as described in this comment - https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=5#dis-post-557140

Then adapt your quipReply to read:
[[!QuipReply? &thread=`article-ARTICLESRESOURCEIDHERE-[[*id]]` &preHooks=`recaptchav2` &closeAfter=`0` &moderate=`1` &requireAuth=`0` &recaptcha=`0` ]]


Changing the ARTICLESRESOURCEIDHERE to be the resource ID of your resources blog in your site tree.

Note - you need to make sure you add the:
[[!recaptchav2_render]]
<span class="quip-error"> [[!+error.recaptchav2_error]]</span>


to your Reply Form Chunk.

Note - this overrides the suggestion in the comment at https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=5#dis-post-557140

Should all work nicely now!

dubbs.

I can confirm that this works. Thanks a lot!]]>
rich Apr 30, 2018, 10:11 AM https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=7#dis-post-558294
<![CDATA[Re: Quip with recaptcha V2]]> https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=7#dis-post-557863 Quote from: dubbs at Apr 09, 2018, 03:59 PM
I think you should have a test to make sure your recaptchav2 is installed and working ok - https://modx.com/extras/package/recaptchav2 gives an example for a formit test - can you try that and see if it works on a formit form?

Thanks, Dubbs - I'll give this a go tomorrow.]]>
[email protected] Apr 09, 2018, 04:03 PM https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=7#dis-post-557863
<![CDATA[Re: Quip with recaptcha V2]]> https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=7#dis-post-557862 https://modx.com/extras/package/recaptchav2 gives an example for a formit test - can you try that and see if it works on a formit form?]]> dubbs Apr 09, 2018, 03:59 PM https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=7#dis-post-557862 <![CDATA[Re: Quip with recaptcha V2]]> https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=7#dis-post-557861 Quote from: dubbs at Apr 09, 2018, 03:46 PM
I think the setting in Articles to use recaptcha is solely connected to the recaptchav1 system only. If you turn this off in the Articles settings does it hide your recaptchaV2 element in your comments from appearing / functioning?

The form still appears until I remove / comment out the [[!QuipReply?... line from resolveQuipComment. The form also still submits, but does so with or without ticking the Recaptcha box (which would suggest that the Recaptcha form is being ignored anyway). So it's basically just parsing the code required to display the Recaptcha form, with it having no impact / relation to the submission process. At least that's how it seems to me smiley
]]>
[email protected] Apr 09, 2018, 03:55 PM https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=7#dis-post-557861
<![CDATA[Re: Quip with recaptcha V2]]> https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=7#dis-post-557860 dubbs Apr 09, 2018, 03:46 PM https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=7#dis-post-557860 <![CDATA[Re: Quip with recaptcha V2]]> https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=7#dis-post-557859 Quote from: dubbs at Apr 09, 2018, 03:36 PM
Quote from: [email protected] at Apr 09, 2018, 03:34 PM
Just to check, I have just turned off Recaptcha in Blog > Advanced Settings > Security > ReCaptcha = No and comments submit fine.

Hi David - I dont understand your message - with recaptcha turned off in the blog settings it now works?

Sorry, Dubbs - just to be clear, I just wanted to make sure that the basic process of submitting comments was still working OK when Recaptcha is turned off in case there was a fundamental issue with submitting comments that was not related to Recaptcha.]]>
[email protected] Apr 09, 2018, 03:41 PM https://forums.modx.com/thread/103038/quip-with-recaptcha-v2?page=7#dis-post-557859