Articles Comments

Thoughts of JS » Search Results for "buddy press email notification"

Moderate new user registration in BuddyPress

BuddyPress doesn’t look like a perfect script to me, it has some missing parts.. One of these extremely important parts is the option to moderate new user registration (check them for spam). Anyways, I am not going to waste your time with stories so, here’s what you have to do (or pay me to do it ). This will allow you to be the one who receives the activation e-mail instead of the user. After you check the new profile you can click the activation link or just forward it to the new user. Back up everything! Yeah, your entire server, that`s a good thing to do at least once a month! Open up wp-content/plugins/buddypress/bp-core/bp-core-signup.php Go to line 524, you should see this: $to = apply_filters( 'bp_core_activation_signup_user_notification_to', $user_email ); In the above piece of … Read entire article »

Filed under: Web development

Fix for BuddyPress e-mail notifications problem

I have a client who installed BudyPress and since then the mail() function stopped working. SMTP could not connect neither. I had to look into BudyPress’ code to find the problem. Here is a fast fix for this issue: Open up wp-content/plugins/buddypress/bp-core/bp-core-filters.php (back up everything you edit, you can never know..) Go to line 29, you should see this code: return apply_filters( 'bp_core_email_from_address_filter', __( 'noreply', 'buddypress' ) . '@' . $domain[2] ); A fast fix is this: return apply_filters( 'bp_core_email_from_address_filter', __( 'noreply', 'buddypress' ) . '@yoursite.com' ); Replace yoursite.com with your site’s URL. It should work now. Was this post useful? Buy me a beer! Note: I wanted to post this fix on their site but could not find a place where to create a new account. I suppose registration is disabled. Incoming search terms:buddypress email notifications … Read entire article »

Filed under: Web development