Xavvi
Forum Replies Created
-
Can confirm this fix works for me also. Thanks for the fix Elliot.
Forum: Plugins
In reply to: [Before After Image Slider Lite] Support for custom post types?Thanks for letting me know
Done, thanks Ben
Forum: Plugins
In reply to: [Yoast SEO] ACF IntegrationPerfect, thanks very much Tim.
Great plugin by the way
Perfect, thank you
Forum: Plugins
In reply to: [Download Monitor] Allow Editor user role to access downloadsOk ignore this, I can do it using the Members plugin to grant extra permissions to Editor.
Forum: Plugins
In reply to: [Email Before Download] Multiple Forms and EmailsThanks for your reply dtynan.
I’ve ‘solved’ my problem by simply using the same contact form in the page but styling it differently. It’s not a technical fix but it does the job I need it to.
Forum: Plugins
In reply to: [Email Before Download] Multiple Forms and EmailsHas there been any update on this?
I also need 2 forms in a single page with the same fields. Am I right in thinking the issue is to do with the plugin requiring the
your-email
field and that you can’t have the same named field in two contact form 7 forms on the same page?Forum: Plugins
In reply to: [Yoast SEO] wpseo_pre_analysis_post_content filterThis filter has been removed and no longer works on any of my sites that use it. It seems you now need to create a js plugin to get it to work – https://github.com/Yoast/YoastSEO.js
I’m not entirely sure how to do this yet though…
Not sure if this is definitely the cause, but there has been an update today to Yoast’s SEO plugin that removes the
wpseo_pre_analysis_post_content
filter that is used in this plugin.It may not be what’s stopping it working for you but it will almost certainly cause problems going forward…
Forum: Plugins
In reply to: [Contact Form 7] Add custom class to each checkbox?Found a solution. Add checkboxes individually, rather than adding multiple at a time. Adds a tonne of span markup but at least gives you control.
Forum: Plugins
In reply to: [Page Transition] Custom loadingFollowing.
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Integration with Events ManagerHi,
Ines. I’ve checked and played around some more and I believe I’ve set up correctly. I can’t change the names of the fields on the Events Manager booking form though as it seems to error the form.
Here is what my mailchimp fields look like:
https://i.imgur.com/jGWSgWW.jpgHere is the contents of the booking form:
<?php if( !is_user_logged_in() && apply_filters('em_booking_form_show_register_form',true) ): ?> <?php //User can book an event without registering, a username will be created for them based on their email and a random password will be created. ?> <input type="hidden" name="register_user" value="1" /> <p> <label for='user_name'><?php _e('Name','dbem') ?> *</label> <input type="text" name="user_name" id="user_name" class="input" value="<?php if(!empty($_REQUEST['user_name'])) echo esc_attr($_REQUEST['user_name']); ?>" /> </p> <p> <label for='dbem_phone'><?php _e('Phone','dbem') ?> *</label> <input type="text" name="dbem_phone" id="dbem_phone" class="input" value="<?php if(!empty($_REQUEST['dbem_phone'])) echo esc_attr($_REQUEST['dbem_phone']); ?>" /> </p> <p> <label for='user_email'><?php _e('E-mail','dbem') ?> *</label> <input type="text" name="user_email" id="user_email" class="input" value="<?php if(!empty($_REQUEST['user_email'])) echo esc_attr($_REQUEST['user_email']); ?>" /> </p> <input type="text" id="booking-honeypot" name="honeypot" placeholder="Leave Blank If Human"> <input type="hidden" name="mc4wp-subscribe" value="1" /> <?php do_action('em_register_form'); //careful if making an add-on, this will only be used if you're not using custom booking forms ?> <?php endif; ?> <p> <label for='booking_comment'><?php _e('Comment', 'dbem') ?> (optional)</label> <textarea name='booking_comment' rows="2" cols="20"><?php echo !empty($_REQUEST['booking_comment']) ? esc_attr($_REQUEST['booking_comment']):'' ?></textarea> </p>
The form sends fine, creates a booking and sends the right emails, it’s just no new user is entered into the Mailchimp list.
Thank you for looking into this .
Still not working unfortunately. I get the same outcome – no feedback message but the user and booking are still recorded in WP admin. No emails are sent. Here is what I’ve tried:
add_filter( 'em_booking_save' , 'honeypot_booking_form_check', 1, 1); function honeypot_booking_form_check() { if (!empty($_POST["honeypot"])) { die("You appear to be a bot!"); } return false; }
Is there anything else I can try?