macbookandrew
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7 Google Analytics] It’ not workingWhat site and page are you using it on?
Forum: Plugins
In reply to: [Contact Form 7 Google Analytics] Set to track specific form?Unfortunately not; it’s set up to be triggered whenever there’s a successful submission.
To limit it to just one form, modify the plugin like this:
function wpcf7_ga_tracking( $items, $result ) { $form = WPCF7_ContactForm::get_current(); if ( 'mail_sent' === $result['status'] && 'insert_your_CF7_form_id_here' == $form->id() ) { if ( ! isset( $items['onSentOk'] ) ) { $items['onSentOk'] = array(); } $items['onSentOk'][] = sprintf( 'if ( typeof ga !== "undefined" ) { ga( "send", "event", "Contact Form", "Sent", "%1$s" ); } if ( typeof _gaq !== "undefined" ) { _gaq.push([ "_trackEvent", "Contact Form", "Sent", "%1$s" ]); } if ( typeof __gaTracker !== "undefined" ) { __gaTracker( "send", "event", "Contact Form", "Sent", "%1$s" ); }', esc_js( $form->title() ) ); } return $items; } add_filter( 'wpcf7_ajax_json_echo', 'wpcf7_ga_tracking', 10, 2 );
or disable the plugin and add the above code to your functions.php file.
- This reply was modified 7 years, 10 months ago by macbookandrew.
Forum: Plugins
In reply to: [WooCommerce Customers to Robly] WooCommerce Customers to RoblyShould be fixed via v1.2.4
Forum: Plugins
In reply to: [Sermon Manager] Sermon storage@wpforchurch I haven’t personally been using it for sermon storage, but I use it for server backups and other storage.
Just wrote a blog post explaining how to use it for hosting sermons: https://andrewrminion.com/2017/05/backblaze-b2-sermon-manager-storage/
Forum: Plugins
In reply to: [Sermon Manager] Sermon storageYou might take a look at Backblaze B2 as well; their pricing is about a quarter of Amazon S3: https://www.backblaze.com/b2/cloud-storage.html
Forum: Plugins
In reply to: [WooCommerce Customers to Robly] WooCommerce Customers to RoblyAlso, can you check your cpanel account or check with your host to see if there is anything in the error logs?
Forum: Plugins
In reply to: [WooCommerce Customers to Robly] WooCommerce Customers to RoblyAre you using any lists for all customers (in the WooCommerce to Robly settings) or per-product lists?
Could you try adding your email address in the WooCommerce to Robly settings section for the alternate email address and try a few test orders?
Forum: Plugins
In reply to: [Contact Form 7 Google Analytics] Successful Submits?Actually, it only records a submission if ‘mail_sent’ is true, which is pretty much the same as only tracking successful submissions.
Forum: Plugins
In reply to: [WP YouTube Live] Youtube Gaming?Chuck,
I just updated the plugin to v1.5.1, which includes support for the gaming.youtube.com subdomain, as well as a few other small features.
Thanks for the suggestion!
Forum: Plugins
In reply to: [WooCommerce Customers to Robly] User opt in optionMakes sense. If you can make the changes and submit a pull request, I’d be glad to merge it in: https://github.com/macbookandrew/woo-customers-robly
Otherwise, I can add the feature, but it may be a while before I can get to it.
Forum: Plugins
In reply to: [WP YouTube Live] Replace textYou can already with a filter in your functions.php file:
add_filter( 'wp_youtube_live_no_stream_available', 'my_ytl_custom_message' ); function my_ytl_custom_message( $message ) { $message = '<p><a target="_blank" href="https://youtube.com/channel/' . $youtube_options['youtube_live_channel_id'] . '"><img src="path-to-your-image-here…" alt="' . get_bloginfo( 'name' ) . ' YouTube Live Stream" /></a>.</p> <p><button type="button" class="button" id="check-again">Check again</button><span class="spinner" style="display:none;"></span></p>'; return $message; }
Modify as you see fit.
Forum: Plugins
In reply to: [Contact Form 7 to Robly] Notice: Undefined index@northfool71, are you still seeing this issue with the latest version of the plugin?
Forum: Plugins
In reply to: [Gravity Forms Braintree Add-On] Update ComingFollowing the thread
Forum: Plugins
In reply to: [Contact Form 7] HTML5 optgroup in mail section.@chris340301 Or write some JS to do custom validation on form submission, depending on your specific requirements
Forum: Plugins
In reply to: [Contact Form 7] HTML5 optgroup in mail section.@chris340301, you should be able to add the
required
attribute on the<select>
element. See this post for more information: https://maxdesign.com.au/articles/select-required/