Hello,
Wordpress: 4.4.2
Buddypress: 2.5.0
After Buddypress 2.5 Update, All Buddypress mail not send in html format. I have enable Html format using below Function
function set_content_type( $content_type ) {
return 'text/html';
}
add_filter( 'wp_mail_content_type', 'set_content_type' );
After update all mail go with plain text.
How can i enable content type html?
Thanks
Hey,
I did not backup the database.
So I will only change the files under plugins/buddypress.
Thanks.
i checked here, but not sure if answers my question:
Profile Fields Loop
Hello there,
I have issues with the buddypress plugin since the newest update. It will not send verification mails.
I tried several guides from this forums, like easy smtp, and disabling buddypress to check if any emails are going to be sent. When buddypress is disabled everything works fine. If I enable it again, it is not sending any mails again.
So what could I try next?
Thx alot for your help
@agnesmeil – Try:
function agnes_customize_lesson_tracking_args() {
if ( ! bp_is_active( 'activity' ) )
return;
add_post_type_support( 'namaste_lesson', 'buddypress-activity' );
bp_activity_set_post_type_tracking_args( 'namaste_lesson', array(
'action_id' => 'new_namaste_lesson',
'bp_activity_admin_filter' => __( 'Published a new Lesson', 'custom-textdomain' ),
'bp_activity_front_filter' => __( 'Lessons', 'custom-textdomain' ),
'bp_activity_new_post' => __( '%1$s posted a new <a href="%2$s">Lesson</a>', 'custom-textdomain' ),
'bp_activity_new_post_ms' => __( '%1$s posted a new <a href="%2$s">Lesson</a>, on the site %3$s', 'custom-textdomain' ),
'contexts' => array( 'activity', 'member' ),
'comment_action_id' => 'new_namaste_lesson_comment',
'bp_activity_comments_admin_filter' => __( 'Commented a Lesson', 'custom-textdomain' ),
'bp_activity_comments_front_filter' => __( 'Lessons Comments', 'custom-textdomain' ),
'bp_activity_new_comment' => __( '%1$s commented on the <a href="%2$s">Lesson</a>', 'custom-textdomain' ),
'bp_activity_new_comment_ms' => __( '%1$s commented on the <a href="%2$s">Lesson</a>, on the site %3$s', 'custom-textdomain' ),
'position' => 100,
) );
}
add_action( 'bp_init', 'agnes_customize_lesson_tracking_args' );
To update this thread, I’ve just added a fix for emails not sending for certain server configurations. See https://buddypress.org/support/topic/read-this-first-buddypress-2-5-master-list/ and https://buddypress.trac.wordpress.org/ticket/6947
I think this will help many people, but I would surprised if it fixed everything for everyone. Fingers crossed!
2.) Then when altering configuration (i.e. adding add_filter( ‘bp_email_use_wp_mail’, ‘__return_true’ ); to BP_Custom), and testing again, the emails output a combination of WP Better Email and the default template with various CSS Styles altering different parts of the email with each new email sent.
BTW, this is exactly what I expect to happen. The content from the plain text version of the email from BuddyPress into the template provided by, in this case, WP Better Email.
If you’re saying extra CSS is getting involved, I strongly suspect you have some other plugin or theme component adding extra junk.
I’ve just added a fix for emails not sending for certain server configurations. See https://buddypress.org/support/topic/read-this-first-buddypress-2-5-master-list/ and https://buddypress.trac.wordpress.org/ticket/6947
I think this will help many people, but I would surprised if it fixed everything for everyone. Fingers crossed!
Did you keep a backup copy of your database? If so then you’ll need to use that. Then there’s the files and folders. You should be able to get the 2.4.3 zip from:
https://downloads.wordpress.org/plugin/buddypress.2.4.3.zip
Hi there,
after update the plugin we have an issue with links preview.
Please how to disable the links preview on wall and on messages among users?
Everytime we post a link to our members buddypress opens a huge text box, like if it was the all article in wordpad text.
buddypress: Version 2.5.0 WP 4.4.2 Theme: Buddytheme
Thank you so much for any help
Trying to learn documentation of BuddyPress in french, Iwas stopped by Firefox with an “imperative” :
« codex.fr.buddypress.org utilise un certificat de sécurité invalide. Le certificat n’est valide que pour les noms suivants : *.buddypress.org, buddypress.org »
That means a bad certificat coming from fr.buddypres.
Can you do thomething in order to permit documentation consulting,
With thanks.
Hi.
I am using a form made in Form Maker that allows me to register a new user. This works well but on BuddyPress I have created about 4 extra fields. Namely Phone Number, Address and few other things. Unfortunately this data is not transferred from Formmaker to Buddypress. Apparently this can be done with some MYSQL Mapping which form maker provides, but I dont have a clue where to start.
I am doing this for a local charity and I was wondering if someone might be able to help point me in the right direction.
bbpress.org/support would be a better question as they provide the forum software (not BuddyPress) but generally speaking, it depends how you’re going to automate inviting those 600 people. As long as your invite script doesn’t run out of memory, you shouldn’t have any problem. Certainly, there’s no limit inside bbPress for the number of users it can support.
@dcstyle Not directly for your issue (the success says as far as we can tell, it was delivered to the email server — if you didn’t receive it and if it didn’t get marked as spam, the mail server could have rejected delivery for all kinds of reasons.
We will have a couple of fixes coming into BuddyPress 2.5.1 this week which have a chance of affecting your problem. I think we need to wait for 2.5.1 to come out, then you can update to that, and test again.
@karolbielecki The German language pack has not been updated for BuddyPress 2.5, so that’s expected: https://translate.wordpress.org/projects/wp-plugins/buddypress/language-packs
Please start a new support discussion, I don’t think your issues have anything to do with this thread.
Hi, I had the same problem. I checked all the “Repair Tools” boxes, hit go, and now my admin screen is gone. When I disable BuddyPress, my admin screen is fine. When I reactivate it…bye bye. Please advise.
That would be buddypress/members/index-register.php. See the BuddyPress Template Hierarchy article for more details.
Ref: https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
Hello !
I have a custom post-type registered on Buddypress.
When I publish a new article on this custom post-type I use the filter bp_before_activity_add_parse_args to template $cpt[‘content’] and save it in the table wp_bp_activity the way i want it to display on the feed.
When I update the post, bp_before_activity_add_parse_args is not fired ? this is normal ?
And my activity content is updated with bp_activity_post_type_update(), so i’m losing my template.
I don’t find a filter to keep my content the way I want when i update my custom post-type article. Is there a way to do that without editing bp_activity_post_type_update() ?
Thank you for your help 🙂
Update: With reference to usernames on the wordpress.org forum:
Since [dotorg11555] only a-z and 0-9 are allowed for usernames.
Ref: https://meta.trac.wordpress.org/ticket/1308#comment:13
I’m not sure if this change will extend to the WordPress platform and BuddyPress.
Ah, on another post I found this for the hint of the password:
Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! ” ? $ % ^ & ).’ “
I tried it and using those characters I get a ‘strong’ password. It is still a little over zealous though! As my previous test password is considered strong on all other sites except buddypress which gives the value of ‘very weak’ so I would still like to change this setting to be more relaxed but at least I am a little closer to understanding how they measure the strength of the password.
I had to tweak your bp-email-debug-2.php so that the $email object is not overwritten.
function pg_bp25_email_debug_failure( $status, $email ) {
$email_admin = bp_get_option( 'admin_email' );
if ( is_wp_error( $status ) ) {
$message = $status->get_error_message() . PHP_EOL . PHP_EOL . print_r( $email, true );
} else {
$message = 'Failure but not WP_Error.';
}
wp_mail( $email_admin, 'BuddyPress 2.5 email -- debug', $message );
}
I’ve sent you an email with the$email object.
So the wpMandrill plugin re-implements wp_mail() function which means BuddyPress should be passing on the plain text versions of the BuddyPress emails onto Mandrill.
Hi @mikee1001,
Did you insert the php functions above into functions.php or bp-custom.php? The code works in both but it is preferable to put BuddyPress specific modifications in the bp-custom.php file (remember the <?php and ?> tags).
Do you have other functions in the same file where you are inserting this code which are working correctly even if the bubble functions aren’t?
This might help (change ID from 1 in the appropriate places to the ID of your administrator(s). ID’s found in your database ):
https://buddypress.org/support/topic/hide-all-admins-from-all-buddypress-activities/