Want To Learn More About Flipping Domains For Profit: Read My Post On Domain Flipping!
BuddyPress How To Customize Activation Email
Posted on August 13th, 2010 by admin in Domain Development | 6 Comments »
I have a couple of sites now running with BuddyPress, so not a week goes by without me doing some sort of customization to make things run smoother.
A recent problem I ran into was the inflexibility of the Activation notification emails users are sent when they register a BuddyPress account on my sites.
Amongst other things that I noticed was the ugly email subject whereby BuddyPress puts your site title in square brackets [] before the message “Activate Your Account”. I really do not want to have the site title in the subject as the site title is already part of the From field in the email.
Here is how I resolved this issue. You will find that you can use the same approach to customize other email fields also.
I discovered that BuddyPress defines a filter for the notification email subject in buddypressbp-corebp-core-signup.php called bp_core_activation_signup_user_notification_subject
So, in order to customize my notification email subject I added the following to my theme’s functions.php file:
function fix_bp_activation_subject($subject) {
return __( "Activate Your Account", 'buddypress' );
}
add_filter('bp_core_activation_signup_user_notification_subject', 'fix_bp_activation_subject');
You can do the same for the “to” and “message” fields too as there is a filter defined for each in the same file.
Want To Learn More About Flipping Domains For Profit: Read My Post On Domain Flipping!
6 Responses to BuddyPress How To Customize Activation Email
Leave a Reply
Explore other similar posts that might interest you
Click on a post title to read the post!
Top 10 CSS Galleries For Inspiration
5 On Page SEO Tips
Premium WordPress Themes From ThemeForest
Converting Website Visitors Into Customers
10 Free Premium WordPress Themes In 2011
Essential WordPress Plugins
10 Simple Yet Beautiful Website Designs
Is Your Website SEO Optimized For Your Target Keywords?
Multiply Newsletter Signups With This Plugin
Getting Free Traffic And Backlinks With Article Writing





Do you know to add photos and videos to buddypress?
Hi Rafael,
Do you care to clarify your problem?
BuddyPress is a plugin to WordPress so obviously if you as the admin write blog posts you can add photos and videos – regardless of buddypress.
If you want each user to add photos/videos perhaps you can enable multiple blogs? If you don’t want to do that, you’d have to do a bit more customization to be able to enable your BuddyPress users to be authors on your original blog without giving any other powers.
John
Hi, as you are a user of buddypress, could you tell if a shared hosting is ok or a dedicated server is needed for buddypress?
Thanks
Hi Line,
If you are just starting out, it really doesn’t matter. I would recommend you start out with shared hosting definitely and see how you go.
Buddypress is a plugin of WordPress and as such uses caching etc which improves performance greatly.
Obviously as your site grows, or if you already have a high traffic website where you want to use BuddyPress, you will benefit from better hosting.
John
this is good, l was looking for this and usefull. but catching for performance impressed me tho
Hi,
I tried your code in my installation (WP3.3 + BP 1.5.2) but doesn’t change anything.
My BP version doesn’t have buddypress/bp-core/bp-core-signup.php but the filter bp_core_activation_signup_user_notification_subject is in buddypress/bp-core/bp-core-filters.php
Many thanks