-
Matt2012 replied to the topic bp_send_email problems – not finding template email in the forum How-to & Troubleshooting 8 years ago
So I still have this issue. Now using the Postman plugin. Is there a simple config option to work with Postman (no body content) or do you recommend another SMTP plugin. Obviously buddypress should be able to play nicely with popular SMTP plugins?
-
Matt2012 replied to the topic bp_send_email problems – not finding template email in the forum How-to & Troubleshooting 8 years ago
Ok so I have managed to fix the issue following your advice by adding a line.
$must_use_wpmail = apply_filters( ‘bp_email_use_wp_mail’, $wp_html_emails || ! $is_default_wpmail );
$must_use_wpmail =false; //New LineSo why is this filter returning true?
-
Matt2012 replied to the topic bp_send_email problems – not finding template email in the forum How-to & Troubleshooting 8 years ago
No I am using mailgun and nothing is being sent.
-
Matt2012 replied to the topic bp_send_email problems – not finding template email in the forum How-to & Troubleshooting 8 years ago
$args = array(
‘tokens’ => array(
‘site.name’ => ‘test’,
‘icom.name’ => ‘test’
)
);
$x = bp_send_email( ‘offline-payment-confirmed’, 363, $args );`So I can stick in the userID of a known user. I have removed all tokens from the email template.
I have fixed the error I was getting…[Read more]
-
Matt2012 started the topic bp_send_email problems – not finding template email in the forum How-to & Troubleshooting 8 years ago
So I am calling this:
$bpEmail = 'offline-payment-confirmed';
bp_send_email( $bpEmail, $userID, $args );I have set up an email template which has the slug offline-payment-confirmed.
But I am getting the error:
missing_emailOther than publish the template and check the slug matches what I am calling – what else could I be getting wrong?
-
Matt2012 replied to the topic Set Birthday value buddypress in the forum How-to & Troubleshooting 8 years ago
I spent a lot of time on a similar issue and the only thing that worked was using this format.
date(“Y-m-d 00:00:00”)
In other words must have h:i:s but they must be zeros. That seems like a bug to me but thats the only thing that worked with a buddypress date field whilst using xprofile_set_field_data
-
Matt2012 replied to the topic Register and Activate Association Problem in the forum How-to & Troubleshooting 9 years, 8 months ago
For me the issue was
1) Allow registration in general settings
2) After enabled s2member plugin I needed to allow Open Registration in s2member > General Options -
Matt2012 replied to the topic Register and Activate Association Problem in the forum How-to & Troubleshooting 9 years, 8 months ago
Not sure if this related but I can’t set the register and activate fields when I have s2member active.
If I disable the s2member plugin – the buddypress fields for register and activate are filled in again.What I would like ideally is that s2member does not interfere with the current login / register set up just gives me an option to add paid…[Read more]
-
Matt2012 replied to the topic Register and Activate Association Problem in the forum How-to & Troubleshooting 9 years, 8 months ago
Not sure if this related but I can’t set the register and activate when have s2member active.
If I disable the plugin it comes the fields have pages in them again.What I would like ideally is that s2member does not interfere with the current login / register set up just gives me an option to add paif levels inside the profile area.
Is this a…[Read more]
@matt2012
Active 5 years ago