crickw
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Better Emails] plug in does not sent HTML mail, only textNicolas, I do notice that I’m not able to use the password reset feature.
Wordpres, in this reset password help section, notes:
But on some hosts, especially when email isn’t working right, sometimes you have to take different steps to reset your password.
If anyone else runs into this problem and finds it related to enabling wpManrill with wpBetterEmail, please let me know.
Forum: Plugins
In reply to: [WP Better Emails] plug in does not sent HTML mail, only textThanks a million Nicolas. Update installed and tested.
crickForum: Plugins
In reply to: [WP Better Emails] plug in does not sent HTML mail, only textNicolas,
YOU SO ROCK@! :-))
Forum: Plugins
In reply to: [WP Better Emails] plug in does not sent HTML mail, only textThanks Nicolas – your rock for doing this. Hope it helps lots of Mandrill users!
The hook didn’t do the trick for me – but let me caveat that I my understanding of WP and php for that matter are as yet still weak.
I have a functions.php file in my /wp-content/themes/easynda folder based on the twentytwelve theme. The only code in the file is:
<?php function wpbootstrap_scripts_with_jquery() { // Register the script like this for a theme: wp_register_script( 'custom-script', get_template_directory_uri() . '/bootstrap/js/bootstrap.js', array( 'jquery' ) ); // For either a plugin or a theme, you can then enqueue the script: wp_enqueue_script( 'custom-script' ); } add_action( 'wp_enqueue_scripts', 'wpbootstrap_scripts_with_jquery' ); if ( function_exists('register_sidebar') ) register_sidebar(array( 'before_widget' => '', 'after_widget' => '', 'before_title' => '<h3>', 'after_title' => '</h3>', )); ?>
To test your hook, I made sure that both wpMandrill and wpBetterEmails were activated, then inserted the hook as follows:
<?php function wpbootstrap_scripts_with_jquery() { // Register the script like this for a theme: wp_register_script( 'custom-script', get_template_directory_uri() . '/bootstrap/js/bootstrap.js', array( 'jquery' ) ); // For either a plugin or a theme, you can then enqueue the script: wp_enqueue_script( 'custom-script' ); } add_action( 'wp_enqueue_scripts', 'wpbootstrap_scripts_with_jquery' ); if ( function_exists('register_sidebar') ) register_sidebar(array( 'before_widget' => '', 'after_widget' => '', 'before_title' => '<h3>', 'after_title' => '</h3>', )); add_filter('mandrill_payload', 'wpbe_wpmandrill_compatibility'); function wpbe_wpmandrill_compatibility( $message ) { global $wp_better_emails; $message['html'] = nl2br(make_clickable($message['html'])); $message['html'] = $wp_better_emails->esc_textlinks($message['html']); $message['html'] = $wp_better_emails->set_email_template($message['html']); $message['html'] = $wp_better_emails->template_vars_replacement($message['html']); return $message; } ?>
Something didn’t go right though. With the hook in the file the site would not load at all. Just a blank page.
If I can help troubleshoot this for WPBE and other Mandrill users, let me know.
Forum: Plugins
In reply to: [wpMandrill] How do people create templates?+1
I was able to create a template in my Mandrill account, then choose it within WP Mandrill and send a test message from WPM with the template; however, I’ve not found instructions for how to create a template the picks up the WP content and inserts it into the created template.Are there instructions somewhere? A list of variables that pass the content into the template?
Forum: Plugins
In reply to: [WP Better Emails] plug in does not sent HTML mail, only textNicholas,
Thank you for replying! I understand that third party plugins have to use “wp_mail” native function.
I found this in the WP MandrillMandrill: How to send a regular email.
If you’re a Plugin Developer, and you need to send a regular email using wpMandrill, you don’t need to learn anything else. You can use the good ol’ wp_mail function, as you would normally do if you were not using this plugin.
For example:
<?php wp_mail('[email protected]', 'Your subject', 'Your message'); ?>
Does this mean Mandrill users can use your plug in?
How would we go about doing so?
Thanks,
CrickForum: Reviews
In reply to: [Mailchimp List Subscribe Form] Epic FailDid you spell your password write?