mardala
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Restrict reCAPTCHA to Contact 7 form?@mcyzyk – you can set something to indicate you want to load recaptcha and just use the dequeue hooks – we’ve been doing this for years without issue. We use acf as a page field true / false toggle to turn on recaptcha, so if its a page with a form its turned on otherwise we don’t load any form scripts. Idk if this is what you are wanting to do?
wp_dequeue_script( ‘contact-form-7’ );
wp_dequeue_style( ‘contact-form-7’ );
wp_dequeue_script(‘wpcf7-redirect-script’);
wp_dequeue_style(‘wpcf7-redirect’);
wp_dequeue_script( ‘wpcf7-recaptcha’ );
wp_dequeue_script( ‘google-recaptcha’ );Forum: Plugins
In reply to: [Contact Form 7] CF7 suddenly shows error message@nigeg28 All good – so when you open the site in chrome, e.g., one of the options is to open a set of dev tools (you can see the menu when you click the 3 dots in the upper right), look for “more tools” in that menu, then “developer tools”.
This opens a new dialog window that contains a list of tools under a tab menu, look for “Network”. This will show you network traffic as your page interacts with the server. When you have this window open and you submit a contact form, one of the things to look for is the XHR (ajax) request and you can view what is sent and the response from the server. So the error message shows up in this response data.Forum: Plugins
In reply to: [Contact Form 7] CF7 suddenly shows error message@nigeg28
I tried your form and it was flagged as spam due to the quiz captcha. I would remove that and see if it works, if it works then you know its that add on thats causing it. Since CF7 is using ajax you can preview the response with your browser developer tools under the Network tab, look for the Response.Forum: Plugins
In reply to: [Contact Form 7] Off-domain STMP address in the “from” field.add_filter( 'wpcf7_validate_configuration', '__return_false' );Forum: Plugins
In reply to: [Contact Form 7] Sender email address does not belong to the site domain.You can turn it off with this in functions.php:
add_filter( 'wpcf7_validate_configuration', '__return_false' );
There really isn’t a valid reason to make having the site domain and email domain be the same in all cases. There are too many situations where this will never match and having no way to skip that validation is annoying but you can live with it or work around it.I see this often relating to wordpress and cloudflare so thought I’d add this info in case its relevant.
The fix I use for enabling SSL and not running into redirect issues is a bit of a hack, but it works – to ensure the site is forced to SSL I add this before the DB settings in my wp-config:
$_SERVER[‘HTTPS’] = ‘on’;
define(‘WP_HOME’, ‘https://www.yourdomain.com/’);
define(‘WP_SITEURL’, ‘https://www.yourdomain.com/’);The server var saying https on is what fixes the redirect loop if you are forcing your domain to https. I’ve used this on cpanel servers and our company that uses aws servers behind elb’s.
Regarding ttoomey’s issues, I am guessing if you do the inverse of setting it to empty and forcing the domains to non https you should fix the other redirect issue.
Forum: Plugins
In reply to: [Mail Bank - #1 Mail SMTP Plugin for WordPress] Stopped working after upgradeusing wp-cli this is what I upgraded from -> to:
| wp-mail-bank | 2.0.10 | 2.0.12 | Updated |
Forum: Plugins
In reply to: [Mail Bank - #1 Mail SMTP Plugin for WordPress] Stopped working after upgradeStill an issue. The settings keep getting removed. Just upgraded a site and the smtp domain went blank and I had to re enter the info and save and test again. Kind of an issue when you run large batches of sites.
Forum: Plugins
In reply to: [Mail Bank - #1 Mail SMTP Plugin for WordPress] Stopped working after upgradeSomething I noticed when a few sites I upgraded – the SMTP settings had to all be re entered. It defaulted back to the email of the admin user (not the email required as the From for the smtp server) and the SMTP server domain was removed.
Forum: Plugins
In reply to: [Mail Bank - #1 Mail SMTP Plugin for WordPress] Please disable auto updates@Tech-Banker – Everything is ok now. I just disabled and enabled the plugin and that installed the missing table. All settings were kept intact. I already have them set to not auto update so if this is fixed we should be good.
Thanks!
Forum: Plugins
In reply to: [Mail Bank - #1 Mail SMTP Plugin for WordPress] Please disable auto updates@Tech-Banker – thanks for the fast reply. I just disabled then re-enabled the plugin and that fixed the error.
Forum: Plugins
In reply to: [Mail Bank - #1 Mail SMTP Plugin for WordPress] Please disable auto updatesFyi – the issue was you changed the database schema but since it auto updated if hosed the site(s) with a SQL error about the missing table mail_bank_meta.
I like the plugin and the new update looks great. But if you can put plugin update in control of the site owner and not the plugin you would save us all a big headache.
Forum: Plugins
In reply to: [Redirection] Is Redirection multisite compatible?We run it, network activated, on a decent sized mutlsite network without any issues.
Forum: Plugins
In reply to: [Contact Form 7] not reciving emails!How are you sending email? ie where are your contact forms sending to? A lot of mail providers (gmail, outlook, yahoo, etc.) are getting very strict about where and how email is formatted.
Forum: Plugins
In reply to: [Contact Form 7] Email "send" message but not rec'dHow are you formatting your from mail header? Mail providers are pretty strict now on origin and dmarc rules etc. I also noticed you don’t have an spf record for that domain. You may want to set one up. Since it looks like both your domain and mail are on the same server you can add a new txt record, something like this:
“v=spf1 ip4: 74.124.210.68 ~all”