BuddyPress: Is it difficult to add a "Member Since" item on the profile header?


I'm not sure if this is a tall order or not. I'm hoping I can add a "Member Since" item in the profile header area as shown in the attached image.

Scouring the web, the only thing I've found so far is a bit of code that might not be what I need, or it might point us in the right direction. I'm not sure how to utilize this information to get me to the desired result:

global $bp;
$currentuser = get_userdata( $bp->displayed_user->id );
$joined= date(“F jS, Y”, strtotime($currentuser ->user_registered));
echo ‘‘ . $joined . ‘‘;

Sincere thanks to anyone who can help me with this.


  • calvinrogercanas
    • New Recruit

    Hey there @James Wolfensberger,

    Hope you're well! :slight_smile:

    I don't have a copy of buddyboss theme so perhaps you can share it to me so I can give you exact solution.

    This code will be input somewhere in wp-content/themes/yourthemename/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.php then insert on line 27.

    Let me know if it helps! :slight_smile:

    Best Regards,

  • James Wolfensberger
    • The Incredible Code Injector

    Hi Calvin -

    Thanks for pointing me in the right direction! I'm having difficulty that will probably be easy for you to clear up for me. I'll past my member-header.php here, as well as a screen grab.

     * BuddyPress - User Header
     * @package BuddyPress
     * @subpackage BuddyBoss
    <?php do_action( 'bp_before_member_header' ); ?>
    <div id=&quot;item-header-avatar&quot;>
    	<a href=&quot;<?php bp_displayed_user_link(); ?>&quot;>
    		<?php bp_displayed_user_avatar( 'type=full' ); ?>
    </div><!-- #item-header-avatar -->
    <div id=&quot;item-header-content&quot;>
    	<h2 class=&quot;user-nicename&quot;>@<?php bp_displayed_user_username(); ?></h2>
    	<span class=&quot;activity&quot;><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
    	<?php do_action( 'bp_before_member_header_meta' ); ?>    
    </div><!-- #item-header-content -->
    <div id=&quot;item-buttons&quot; class=&quot;profile&quot;>
    	<?php do_action( 'bp_member_header_actions' ); ?>
    </div><!-- #item-buttons -->
     * If you'd like to show specific profile fields here use:
     * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field
     do_action( 'bp_profile_header_meta' );
    <?php do_action( 'bp_after_member_header' ); ?>
    global $bp;
    $currentuser = get_userdata( $bp->displayed_user->id );
    $joined= date(&quot;F jS, Y&quot;, strtotime($currentuser ->user_registered));
    echo '' . $joined . '';
    <?php do_action( 'template_notices' ); ?>

    Thank you for your help!


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.