This topic has 11 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #157975
     Vinz85
    Participant

    Hi dear i have this problem …

    If an user write me, then i ask at his message, but i see always the ” Activity update ” on my profile too.
    I don’t want the activity on every profile, because it’s like a duplicate.

    Please help me …

    See the attach

    #158038
     Laura
    Moderator
    Not marked as solution
    #158047
     Vinz85
    Participant
    Not marked as solution
    #158334
     Radu
    Moderator
    Not marked as solution
    #158339
     Vinz85
    Participant
    Not marked as solution
    #158793
     Radu
    Moderator
    Hello, Please add this code
    function my_bp_activities_include_activity_types( $retval ) {
    // only allow the following activity types to be shown
        $retval['action'] = array(
            'activity_update',
            //'activity_comment',
            'new_blog_post',
            'new_blog_comment',
            'friendship_created',
            'created_group',
        );
    
        return $retval;
    }
    add_filter( 'bp_after_has_activities_parse_args', 'my_bp_activities_include_activity_types' );
    
    To wp-content/themes/kleo-child/functions.php NOTE : Child theme needs to be installed and activated. That's all Cheers R.
    #158853
     Vinz85
    Participant
    Not marked as solution
    #158983
     Radu
    Moderator
    Not marked as solution
    #158988
     Vinz85
    Participant
    Not marked as solution
    #159166
     Radu
    Moderator
    Not marked as solution
    #159201
     Vinz85
    Participant
    Not marked as solution
    #159453
     Radu
    Moderator
    Not marked as solution
Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?