For Greg: Display Member Since on BuddyPress Profile

Hey Greg,

As mentioned over twitter. I've included the code below that you will want to use to add the "Member since ___" on the BuddyPress profile page:

function bp_register_date() {
global $bp;
$currentuser = get_userdata( $bp->displayed_user->id );
$joined= date('F jS, Y', strtotime($currentuser ->user_registered));
echo 'Member since: ' . $joined . '';
}
add_action('bp_member_header_actions', 'bp_register_date');

I've attached it as an mu-plugin to the reply on this thread so you can just download, unzip it, and upload the file to: /wp-content/mu-plugins/

If you aren't a member with us then you won't be able to see the download, but you can still make it into an mu-plugin yourself or use it in your child themes functions.php :slight_smile:

Hope that helps!

Cheers,
Tyler