IQComputing
Forum Replies Created
-
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] Conflict with FlamingoHello @darrylr
If this is a production site you should still be able to use the WordPress Health Check & Troubleshooting Plugin as mentioned in my previous reply. This will allow you to safely, and only for your logged in admin user, to see and test the default theme ( along with disabling or enabling specific plugins, again just for your user ). For more information on how that works I would suggest reading the documentation which is also linked in my previous reply.
With that being said we’ve also tested this with the latest version of all 3 plugins and the latest version of Storefront and could not replicate the issue. Unfortunately, until we have more information to help us replicate the issue we won’t be able to formulate a patch. We apologize for any inconvenience this may have caused but hopefully using the above information regarding the WordPress Health Check plugin will give you more information on the root cause.
Once you know more please reply and provide further information on how we can replicate the issue you’re running into. Thanks for your patience, stay safe, and have a wonderful rest of your week!
Hello,
After testing this, the reason we do not mark the form as invalid is specifically for spambots. The form instead gets marked as “spam” with both the
spamclass anddata-status="spam". This is to ensure that 3rd party plugins such as Flamingo and Akismet pick up on this. Currently, it’s not something we feel should change.You could create your own custom validation following the Contact Form 7 Help Docs.
You may also need to look at our
wpcf7spamjavascript event listener in:
/wpcf7-recaptcha/assets/js/wpcf7-recaptcha-controls.js<br />
Replicating the functionality here, removing the event listener, and adding your own forwpcf7invalid.Hopefully you understand why we’ve chosen not to set forms as invalid and the above instructions help you override this functionality if you so choose. We’ll mark this thread as resolved for now but should you have any other questions regarding the above feel free to reply here and we can get back to you. Stay safe and have a wonderful rest of your week!
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] Conflict with FlamingoHello,
We’ve tested this under a few conditions and couldn’t replicate any issues with submissions not being saved to Flamingo whenever this plugins reCaptcha is involved. Sent submissions appear to be saved into “Inbound Messages” as expected. Failed submissions, where the user does not enter the reCaptcha does not get saved.
Could you provide the reCaptcha settings you’re using ( not your API key ) to help us replicate your issue?
Additionally, it might be a theme conflict, you could install the WordPress Health Check & Troubleshooting plugin to safely revert to a default 2020 theme. Testing in a default 2020 theme will let you know if it’s a theme conflict or not. For more information, please review their Handbook on Troubleshooting. You may also want to enable WP Debug and WP Debug Log to rule out any PHP errors.
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] Conflict with FlamingoHello,
Thank you for reporting this issue. At one point we did have to build in additional functionality specifically for Flamingo to work around the reCaptcha tag removal. It could be that either this is no longer needed or some hooks have been changed. In any case we’ll look into this, try to replicate the issue, and patch it as soon as we can. We’ll reply back to this topic with updates as they come to. Thanks again, stay safe, and have a wonderful rest of your week!
Hello,
Thank you for bringing this to our attention! We will look into adding this feature in the next version of the plugin. Once released we’ll reply here to let you know and resolve the thread. Thanks again and have a wonderful rest of your week!
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] The recaptcha is not displayingNot a problem! You could look into a simpler approach instead of a reCaptcha such as
Honeypot for Contact Form 7 or Really Simple Captcha.
We’re also open to any suggestions on how we can make our plugin work better with the given theme should the authors have advice. In anycase, we’ll go ahead and mark this thread as resolved for now. Have a wonderful weekend!
Hello,
There are 2 “themes” which Google provides: Light and Dark. When adding a new reCaptcha box to your Contact Form 7 you’ll be able to choose between the two themes. The shortcode would look like this:
[recaptcha theme:dark]Unfortunately, I’m not sure Google allows 3rd parties to customize reCaptcha themes should you find that dark does not suit your needs.
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] The recaptcha is not displayingHello,
This is a difficult issue to replicate. We apologize for the trouble but could you take a full backup of your website ( and understand how to do a restore ). Then you can install the WordPress Health Check & Troubleshooting Plugin. This plugin will allow you to safely disable plugins and revert to a default theme. For more information you can read over the Troubleshooting Handbook. We believe it’s a conflict with the theme ( or one of the installed plugins ) since we cannot replicate it in a normal 2020 theme environment.
Here’s the semi-technical overview:
– We do see reCaptcha script being added in the footer of your website but we do not see the expected
wpcf7-recaptcha-controls.jswhich holds the callback function.
– In our plugin code, for the Google reCaptcha JS script to even be added to the page it needs to have thewpcf7-recaptcha-controls.jscode added before hand. See requirements below:wp_register_script( 'google-recaptcha', // Slug $url, // URL array( // Requirements 'wpcf7-recaptcha-controls' ), '2.0', // Version true // Add to footer );The fact that the
google-recaptchascript is being added to the page but the requiredwpcf7-recaptcha-controlsis not being added at all leads us to believe it’s a conflict with the theme or plugin. Hopefully using the Health Check & Troubleshooting tool will help narrow down where the issue specifically is.Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] The recaptcha is not always displayHello @zonepluss
I’m not quite sure I follow your question. Under “Settings > Autoptimize” there should be a section for “Exclude scripts from Autoptimize:” where you could paste the following:
wpcf7-recaptcha-controls.jsThis field expects a comma separated list so if you have other entries already in that field you’ll need to prepend a comma:
, wpcf7-recaptcha-controls.jsIt may be more beneficial to bring up your issues on the Autoptimize forums as they may have more ideas since they are more familiar with their plugin.
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] ReCaptcha ConflictsHello,
Theme or plugin conflicts are always a possibility. Especially when so many plugin implement different versions of reCaptcha in various ways. We would suggest doing the following:
Take a full backup of your theme and database ( you should be doing this regularly regardless of issues, backups are great! ). Install the WordPress Health Check & Troubleshooting plugin. This will allow you to safely ( just for your logged in user ) disable all plugins except Contact Form 7 and This plugin to see if the issue persists. It will also allow you to switch to a default theme to see if the issue lies with the theme itself. At which point you can enable plugins until you find the one causing issues. For more information please read their documentation:
https://make.ww.wp.xz.cn/support/handbook/appendix/troubleshooting-using-the-health-check/
If you’ve completed the above and the issue persists then the problem may lie elsewhere. Looking at your website we could not find any instance of Contact Form 7 or reCaptcha. Hopefully the above helps. Stay safe and have a wonderful rest of your week!
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] The recaptcha is not always displayHello,
If you disable Autoptimize and the issue is resolved then it sounds like it might be something specific with either the Autoptimize plugin itself or the active settings enabled in the plugin. You may want to reach out to the Autoptimize support team and see what they suggest as it may be a simple settings update.
https://ww.wp.xz.cn/support/plugin/autoptimize/
You’re more than welcome to link this thread in your conversation with their team and we’re more than happy to listen to any of their suggestions regarding this issue. Hopefully between both our teams we can come to a speedy solution!
In any case, we’ll leave this thread open for the time being while you discuss this issue with the Autoptimize team. Stay safe and have a wonderful weekend!
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] Recaptcha API Javascript ErrorUnder Contact > reCaptcha Version did you are you using the Default Usage or reCaptcha v2? Do you have any plugins that work with or modify WooCommerce? Have you tried installing the WordPress Health Check Plugin and following their documentation you should be able to safely disable all plugins except Contact Form 7 and reCaptcha v2 for Contact Form 7 as well as switching to a default theme. This will ensure there’s no plugin or theme conflicts preventing the plugin from working properly.
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] White block instead of recaptchaHello,
We’re not sure a different folder structure is the issue, but it’s possible. If folder structure was an issue we would expect to see JS errors of reCaptcha not being able to find the callback or not being able to find the file. Maybe enabling PHP errors will shed some light on the root cause.
If you can’t find a solution or simply don’t have time to debug issues that may involve our plugin we can suggest an alternative that may help:
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] White block instead of recaptchaHello,
Thank you for linking your website for us to view. We do see the correct scripts loading in the correct order and there doesn’t appear to be any Javascript errors in the browser console which are all good signs. It’s currently unclear why it wouldn’t be loading the full reCaptcha so we’re going to suggest some ideas to try:
1) Try changing the reCaptcha source from google.com to recaptcha.net. You can see the screenshot below on where to make this change:
https://ps.w.org/wpcf7-recaptcha/assets/screenshot-1.jpg?rev=2153682
2) Ensure your domain is white-listed, the keys are version 2 keys, and they are correctly input. You can view the Installation tab for full details:
https://ww.wp.xz.cn/plugins/wpcf7-recaptcha/#installation
3) Maybe try installing the WordPress Healthcheck & Troubleshooting plugin and follow their documentation on troubleshooting. This will allow you to safely disable plugins ( Except Contact Form 7 & this plugin ) which will let you know if there’s a plugin conflict or theme conflict. If you find it’s a plugin conflict you can come back and let us know and we’ll be able to advise on how to move forward.
Sorry about this, not an issue we’ve seen before but hopefully the above options will help narrow down the root cause of the issue. In any case, stay safe and have a wonderful rest of your week!
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] recaptcha v2 doesn’t workSince we haven’t heard back from the original poster in over a week we’re going to make this thread as resolved.
@katandmouse Please, make a new thread so we can track this issue separately. It’s unclear what code you need since we can’t get to the bottom of your issue without viewing the website. If you’re looking to enqueue the script yourself you’ll need to call
wp_enqueue_script ( 'wpcf7-recaptcha-controls' );