IQComputing
Forum Replies Created
-
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] form broken?We were able to pull up the website and submit a test submission that appeared to go through properly. You do have an “Acceptance” checkbox that is required to be checked before the form submits. This is a Contact Form 7 settings / field that controls this functionality though.
If you’re having trouble receiving email we suggest installing the Flamingo Plugin. Flamingo was written and is supported by the same developer of Contact Form 7 (Takayuki Miyoshi) and will store your form submissions directly into the WordPress Admin Panel.
For additional help with submissions not reaching your inbox or form field related questions ( such as the Acceptance field ) we suggest reaching out to the Contact Form 7 support forums to get the best help.
We will go ahead and mark this thread as resolved for now but should you have any questions or further issues with the functionality of this plugin please reply back to this thread and we can assist you further!
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] Recaptcha Shortcode params?Hello,
It’s been awhile since we’ve heard back from you regarding this issue. We will mark this thread as resolved for now but if you need further assistance please reply back below.
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] form broken?Hello,
Whenever we visit your website it gives us a 503 – Service Unavailable.
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
If this is the result of installing this plugin we will need further information such as other installed plugins or debug log information to help narrow down what specifically caused this error.
Either way we suggest contacting your hosting provider to help bring your website back online. Once your website is online and your form is visible we may be able to assist you further.
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] ERROR for site owner: Invalid site keyIt’s been awhile since we’ve last heard from you regarding this issue. We’re going to mark this thread as resolved for now but if you continue to have issues or have any additional questions please reply back to this thread and we can assist you further. Have a wonderful weekend!
We’re glad you were able to track down the plugin causing the issue. Thank you for replying back with the plugin name in case other uses run into a similar issue. We’ll mark this thread as resolved for now. Have a wonderful rest of your week!
Hello!
Thank you for reporting this. This is not an error we have encountered before in our testing. We do have the
textareayou describe in the title but it’s encapsulated by a<noscript>tag and meant to address browsers that have JavaScript disabled. Unfortunately, Google ReCaptcha requires JavaScript to run properly.If you know the CSPs that you’re setting on the site that may be helpful for us to replace the issue.
Additionally, it could be a conflicting plugin or theme related issue that is causing these notices to pop-up. Could you supply a list of installed plugins or install the WP Health Check Plugin which will allow you to safely disable all your plugins and revert to a default theme. You may read more about this plugin in the Health Check Documentation.
Any other information you feel will help us recreate or narrow down this issue would be appreciated!
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] Recaptcha Shortcode params?Hello!
If the ReCaptcha badge is showing up at the bottom right of every page that means that you’re currently using ReCaptcha version 3. Contact Form 7 supports ReCaptcha version 3 by default so if you want to use version 3 then you will not need to install this plugin.
This plugin allows you to use ReCaptcha version 2 which is an inline ReCaptcha input with a checkbox that the user needs to click. ReCaptcha version 2 does not show a badge like version 3 does.
If want to use ReCaptcha version 2 please follow the installation instructions:
https://ww.wp.xz.cn/plugins/wpcf7-recaptcha/#installation
If you have any questions after following the above instructions or issues during setup please reply back to this thread and we can assist you further.
We understand this is an extra step that may seem unnecessary. The reason for this extra step was to allow people with ReCaptcha version 3 already activated to downgrade if they choose without effecting the front-end of their website. By defaulting to ReCaptcha version 2 upon install would invalidate any front-end Contact Form 7 forms that run version 3 keys. It’s a step we feel is necessary to accommodate users installing this plugin in different situations than fresh installs.
If you’re referring to Multisite installs, we are currently testing a version of the plugin to allow the Network Admins to apply changes to all Network sites which we hope to push in the near future.
– – – – –
Finally, if you are looking for a developmental example of how you could do this, below is a code snippet which will update the option whenever the admin panel is loaded whether or not the plugin is installed. Since this is a code-based solution we feel the need to stress that you should apply the below code at your own risk as applied incorrectly could break your website. It’s not an advisable solution for non-developers.
/** * Set default options * * @return void */ function prefix_set_default_options() { // Contact Form 7 is not installed or not activated. if( class_exists( 'WPCF7' ) ) { // If the option exists and is set, return early if( false !== WPCF7::get_option( 'iqfix_recaptcha', false ) ) { return; } WPCF7::update_option( 'iqfix_recaptcha', '2' ); // Set ReCaptcha to user v2 // Attempt to set options for when Contact Form 7 is installed. } else { /** * @see Code written by Takayuki Miyoshi * @see Contact Form 7 v5.1.1 settings.php LN80 */ $option = get_option( 'wpcf7' ); // Get Contact Form 7 Settings $option = ( false === $option ) ? array() : (array) $option; // If they do not exist, create an array // If the option exists and is set, return early if( array_key_exists( 'iqfix_recaptcha', $option ) ) { return; } $option = array_merge( $option, array( 'iqfix_recaptcha' => '2' ) ); // Merge the two arrays update_option( 'wpcf7', $option ); // Update Option } } add_action( 'after_setup_theme', 'prefix_set_default_options', 20 );Hello, it’s been a few days since we’ve heard from you last. We believe that this is a non-issue but if you believe that this is not the case, please reply back to this thread and we can look into the issue further. We will mark this thread as Resolved for now.
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] ERROR for site owner: Invalid site keyYou will need to follow the installation instructions for this plugin, ensuring that:
1) In the plugins settings, ReCaptcha dropdown has v2 selected ( screenshot )
2) When setting up your Google ReCaptcha API Key you need to ensure that it is a version 2 key and not a version 3 or invisible key. Each API key only works with the specified version and this plugin only works with version 2.
3) When setting up your Google ReCaptcha API Key you need to whitelist your domain.
Takayuki Miyoshi has a good article written up on his website regarding setting up ReCpatcha Version 2 on Google which we suggest following:
https://contactform7.com/recaptcha-v2/
Finally, it may be a plugin conflict. We see there are a few JavaScript errors on the website and a few of them are in regards to Google. You may want to install the WordPress Health Check Plugin which will allow you to safely ( and for your logged in user ) disable plugins until you come across the plugin causing the issue. The Health Check Plugin also allows you to switch themes to the default theme ( again, just for your logged in user ) to see if it’s possibly a theme conflict.
https://make.ww.wp.xz.cn/support/handbook/appendix/troubleshooting-using-the-health-check/
The above steps can help you narrow down where the issue lies. Feel free to give us a list of your installed plugins and we can attempt to replicate the issue on our end, though if a premium plugin is the cause we unfortunately will not be able to try it out.
Thank you for bringing this to our attention!
– The Technical Explanation –
To get this plugin onto the Repository as quickly as we could after Contact Form 7 deprecated ReCaptcha v2 we just ended up applying much of the same code as the old version of Contact Form 7. The Contact Form 7 plugin uses their ownget_option()method as a way to pull from it’s own saved and serialized array of values.– What We’ll Do –
We will need to look at this carefully so we can both apply this for multisite ( as to help your situation ) but also ensure that it doesn’t break backward compatibility for non-multisite setups. It’s something that is unfortunately not an immediate fix we can push out to help you at this moment but possibly something that will help future users who use multisite setups.We apologize for any inconvenience this may have caused and we will keep this thread open so you get notified whenever we have either a solution or more information.
Could you provide link to your website that’s having the issue?
Does the form send whenever this plugin ( Contact Form 7 – reCaptcha v2 ) is disabled?
When this plugin is enabled and configured do you see the reCaptcha on the front-end of your website, on the form?
– – – – – – – – – –
If this issue occurs whenever the Contact Form 7 – reCaptcha v2 plugin is disabled then the main Contact Form 7 developer would have more insight on why this is. We would advise ( if this is the case ) that you create a new support thread using the Contact Form 7 support forums as the main developer there will be able to assist you best.
Thank you for bringing this to our attention! It does look like that the text runs through the WordPress translation function and we have verified that we can change it using the
gettextfilter hook. Line 71 is:esc_html__( 'Please verify that you are not a robot.', 'wpcf7-recaptcha' )It may be that the strings haven’t been translated to your language yet. See available languages. WordPress makes adding translations to plugins very easy, if you have some spare time you could submit your translations for your language.
Here’s an example of modifying the translation text with a filter:
/** * Modify the WPCF7 ReCaptcha translations * * @param String $translation - What the text should be translated to * @param String $text - Original text to be translated * @param String $domain - Translation text domain of the plugin * * @return String $translation */ function prefix_gettext_modifications( $translation, $text, $domain ) { if( 'wpcf7-recaptcha' === $domain && false !== strpos( $text, 'you are not a robot' ) ) { $translation = 'Translation Here'; } return $translation; } add_filter( 'gettext', 'prefix_gettext_modifications', 10, 3 );Hopefully the above brings some light to the issue. Should you have any additional questions or need help with anything else please reply back and we can discuss the issue further!
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] Submit not workingThank you for re-enabling the plugin and updating to 5.1.1 – we apologize for any inconvenience this may have caused since users were unable to send form submissions during this time. That being said we were able to track down the issue of why the submit button is not active, it comes down to the themes CSS conflicting with Google’s ReCaptcha CSS.
– – – – – – – – – –
The Issue:
Google’s ReCaptcha script adds a static height onto the ReCaptcha field. The theme is then adding margin to the iframe inside the ReCaptcha field container, style.css line 941:
.entry-content embed, .entry-content iframe, .entry-content object, .entry-content video { margin-bottom: 1.714285714rem; }The margin combined with the height is adding an invisible overlay on top of the button preventing it from being hovered or clicked.
– – – – – – – – – –
Proposed Solution:
You could follow the instructions below to add custom CSS which will solve your issue:
– Log into your WordPress site
– Using the left-hand menu, navigate to Appearance
– Underneath Appearance, navigate to Customize
– Using the left-hand menu items in The Customizer, click Additional CSS
– Copy and paste the following CSS into the textbox on this tab:.wpcf7-form .wpcf7-recaptcha iframe { margin-bottom: 0 !important; }– Click the Publish button at the top of this page.
This will add CSS to your page which will remove the margin button on the iframe that was added by the theme.
– – – – – – – – – –
We will add this issue on our plugin roadmap to see if there’s anything we can do to prevent this happening in the future. That being said the above CSS should solve the issue for the shortterm. If it does not or you continue to run into issues please don’t hesitate to reply back and we may assist you further!
Forum: Plugins
In reply to: [ReCaptcha v2 for Contact Form 7] jQuery is not defined error.Hello, it has been a few days since we’ve last heard from you. If you continue to have issues setting up the ReCaptcha please reply back to this email and we can assist you further. We will mark this thread as resolved until further notice.