schmeee
Forum Replies Created
-
Resolved. Thanks!
Same here; updated to 4.3.0, embedded Gravity Form no longer worked in its popup.
https://www.grafixplastics.com … click on ‘START AN INQUIRY’ button top-right, in nav bar. Popup loads first page of multi-page GForm, but ‘Next>’ button doesn’t advance to next page. (Select ‘No’ radio button and ‘Manufacturer’ to see ‘Next>’ button.)
Downgraded to 4.2.7, GF multi-page functionality restored immediately.
- This reply was modified 6 months ago by schmeee.
Hi, when will you be patching the security flaw in the ARMember Lite version of your plugin?
I am also having this problem … HUNDREDS of thousands of tiny lil’ log files every day. This is a major problem, not a minor glitch – inode overrun has been crashing my server once or twice daily, despite cron jobs to purge the excess useless files. Please provide a rough timeline for a fix patch, my site isn’t even a particularly high-traffic site. Renders plugin unusable if unfixed.
Forum: Plugins
In reply to: [Contact Form 7] Want to add several custom META elements to email html headMultisite Network
Theme: Generatepress (generatepress.com)
Plugins:
8b Home Value
Akismet
Black Studio TinyMCE Widget
Code Snippets
Conditional Fields for CF7
Contact Form 7
Flamingo
GenerateBlocks
GP Premium
iThemes Security
Jetpack
MC4WP
OptinMonster
Popup Builder
Really Simple SSL
Redirection for CF7
Shortcodes Ultimate
Simple Custom CSS and JS
Site Kit by Google
Stop Media Comment Spamming
Testimonials Widget Premium
Widget Logic
WordPress MU Domain Mapping
WP Table Builder
Yoast SEOForum: Plugins
In reply to: [Contact Form 7] Want to add several custom META elements to email html headCan I ask (nicely!) for a little help getting my code to work? It’s erring, and I’ve pinned the problem down to my ask for
$instance->get_posted_data( 'second-opinion-buyer-name' )
— there is definitely a user-entered field for second-opinion-buyer-name in the form. Is get_posted_data() unavailable within wpcf7_mail_html_header? Any documentation you have w/r/t wpcf7_mail_html_header and/or get_posted_data() would be useful. Thanks in advance for your expert assistance! :Benjaminfunction mzh_addmetas_mail_html_header ( $doctype_html_html_xmlns_http_www_w3_org_1999_xhtml_head_title_esc_html_this_get_subject_true_title_head_body, $instance ) { // make filter magic happen here... // assemble new metas... $addmetas = ' <meta name="lead_information_version" content="1.0" /> <meta name="lead_source" content="https://myziphome.com" /> <meta name="lead_type" content="buyer" /> <meta name="lead_name" content="' . $instance->get_posted_data( 'second-opinion-buyer-name' ) . '" />'; $doctype_html_html_xmlns_http_www_w3_org_1999_xhtml_head_title_esc_html_this_get_subject_true_title_head_body = '<!doctype html> <html xmlns="https://www.w3.org/1999/xhtml"> <head> <title>' . esc_html( $instance->get( 'subject', true ) ) . '</title> ' . $addmetas . ' </head> <body> '; return $doctype_html_html_xmlns_http_www_w3_org_1999_xhtml_head_title_esc_html_this_get_subject_true_title_head_body; } // add the filter add_filter( 'wpcf7_mail_html_header', 'mzh_addmetas_mail_html_header', 10, 2 );
- This reply was modified 2 years, 6 months ago by schmeee.
Forum: Plugins
In reply to: [Contact Form 7] Want to add several custom META elements to email html headThanks very much! Is there any sort of document with a code example for working with the wpcf7_mail_html_header? I’m not skilled enough at working with filters to just look at the source in hookr.io and figure out how to pass the visitor-entered values into a new header that replaces the default header, but from a quick dive I think it’d be something like:
function filter_wpcf7_mail_html_header ( $doctype_html_html_xmlns_http_www_w3_org_1999_xhtml_head_title_esc_html_this_get_subject_true_title_head_body, $instance ) {? // make filter magic happen here...? // assemble new metas... $addmetas = ' <meta name="lead_information_version" content="1.0" /> <meta name="lead_source" content="https://myziphome.com" />'; if ( $this->get( 'subject', true ) == 'Attn: Buyer Has No Agent Yet' ) { $addmetas .= '<meta name="lead_type" content="buyer">; $addmetas .= '<meta name="lead_name" content="' . $instance->get_posted_data( 'second-opinion-buyer-name' ) . '" />; $addmetas .= '<meta name="lead_email" content="' . $instance->get_posted_data( 'second-opinion-buyer-email' ) . '" />; $addmetas .= '<meta name="lead_phone" content="' . $instance->get_posted_data( 'second-opinion-buyer-phone' ) . '" />; } $doctype_html_html_xmlns_http_www_w3_org_1999_xhtml_head_title_esc_html_this_get_subject_true_title_head_body = '<!doctype html>? <html xmlns="https://www.w3.org/1999/xhtml">? <head>? <title>' . esc_html( $this->get( 'subject', true ) ) . '</title>? ' . $addmetas . ' </head>? <body>? ' return $doctype_html_html_xmlns_http_www_w3_org_1999_xhtml_head_title_esc_html_this_get_subject_true_title_head_body;? };? // add the filter? add_filter( 'wpcf7_mail_html_header', 'filter_wpcf7_mail_html_header', 10, 2 );
… am I on the right track? (I’d next add several other cases based on evaluating/matching the passed email SUBJECT.) As I said, I can work with PHP but I’m by no means a filter ninja, so this first draft is based on guesses that could easily (likely!) be all wrong.
Thanks for your expert assistance, :Benjamin
I figured it out – sort of. Seems like the other-plugin shortcode invocation ( [8b_home_value] ) messes with regular flow in some way. Once I stripped out its duplications, and pushed its containing group to the end of the form so that no other conditional groups appear after it, my problems resolved.
I’m guessing it created no problems on your online tester because the shortcode wasn’t actually firing anything – it just passed through as literal ‘[8b_home_value]’.
Anyway, thanks for your timely responses. File this away as one more troubleshooting node: “Does your form have an outside [shortcode] embedded? Might cause unexpected behaviors!”
OH! Unlikely that this would matter, but the site in question is a daughter node on a multisite build. :B
Yeah, I’d tried moving that second group around a bit to resolve the error. I’ve un-nested it (as it was previously on my site), and that resolves the error in your online tester, but doesn’t fix things on the site itself.
Would you mind taking a quick look? The page in question is:
https://myziphome.com/selling/There’s only one warning associated with CF7 when inspecting the page with dev tools, and that’s:
DevTools failed to load source map: Could not load content for https://myziphome.com/wp-content/plugins/cf7-conditional-fields/js/scripts.js.map: Load canceled due to load timeout… but that doesn’t seem like a particularly crucial error. You’re obviously the expert on all things related to your plugin though. Thoughts?
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] New php error log nagSorry, not your plugin problem; my mistake. :B
Resolved.
Nvm, nothing to do with your plugin – just needed to set ‘woocommerce_ajax_variation_threshold’ with a higher max value. Apologies.
Forum: Plugins
In reply to: [wp-greet] image does not show (a different case).it seemed to resolve itself on its own, at some point in the past few weeks while my eyes weren’t on it. Weird. Was an incremental update auto-pushed, by any chance?
Thanks again for your attention on this though. :B
Forum: Plugins
In reply to: [wp-greet] image does not show (a different case).turned on and off, changing another field too.
screen capture…
https://prnt.sc/fpu8el