Remove 'last active' from directory, buddypress

How can I remove 'last active' from the buddypress directory list? And also replace it with an overview of the member and or something from their profile? One of the form fields for example?

Thank you

  • Michael Bissett
    • Recruit

    Hey @whosjack, you're a busy man today! :slight_smile:

    This would require the creation of a custom members loop template. You'll notice from line 57 of:


    That the "bp_member_last_active" function is employed:

    <div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div>

    You can try copying the template I referenced, placing it in:


    And changing that function there. As you're looking to output a profile field (I'm assuming that it's one of the extended profile fields [XProfile, for short]), you should find this post to be helpful:

    Hope this helps! :slight_smile:

    Kind Regards,

    Edit: Forgot to write in the line number & path to the file in question before, sorry about that!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.