disable user's last activity time

Hello together,
do you have a idea how i can disable user's last activity time?
in my screenshot you can see what i would like to disable.

thanks for your help

beli

  • DavidM
    • DEV MAN’s Mascot

    Hello Beli,

    To begin with, if you're going to make changes to the theme, I'd suggest you create a child theme of your current theme, which looks to be Buddypress Social, and make your adjustments using the child theme. Instructions and information on this can be found at the following.

    https://premium.wpmudev.org/the-buddypress-manual/what-are-parent-and-child-themes/

    That said, I'll see if Tammie can respond with the best way to achieve this, but my initial thought is to hide that area with the following CSS.

    span.activity {display: none;}

    This might affect activity areas that you want to be visible, so it may not be the way you'll want to go. But it definitely does the initial trick! I'll look forward to Tammie's thoughts on this one.

    Cheers,
    David

  • bloew11
    • Flash Drive

    Hi David

    thanks for your help. now i found another solution:
    i n the file (yourtemplate)/members/single/members-header.php
    i changed marked it as a comment:
    <!--<span class="activity"><?php// bp_last_activity( bp_displayed_user_id() ) ?></span> -->

    beli

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.