BuddyBoss Home – Web Support Forums Solutions Social Learner BadgeOs not showing on course activity

Viewing 2 posts - 1 through 2 (of 2 total)
  • Question

    #67835
    @gaboarrow

    Hi,
    On the course/group activity, I can see when users mark lesson complete
    but not the badges they earn, for completing lessons or completing quests

    most activity shows only on users feed, like they became friends with others, etc…

    Cant that be shown on the course/group activity?

    My site only have 1 course, so all activity is relevant to that group.

    In case that badges wont show up on the group activity, is there a way to replace that group activity tab
    with a SITE-WIDE activity feed?

    Thanks a lot

    Answers

    #67923

    Alyssa
    Participant
    @alyssa-buddyboss

    Hi again,

    At the moment there is no activity for the badges earn. Adding it up into activity will be a improvement :+1:. We appreciate the suggestion. We will add this to our suggestions list, for a possible future implementation.

    RE replace that group activity tab with a SITE-WIDE activity feed, While Social Learner itself doesn’t offer that , You can add following code in your child theme’s functions.php for that:

    function bboss_sitewide_activities( $r ) {
       
        if ( bp_is_group() ) {
            $r['object']      = false;
            $r['primary_id']  = false;
            $r['scope']  = '';
        }
        
        return $r;
    }
    
    add_action( 'bp_after_has_activities_parse_args', 'bboss_sitewide_activities', 10, 1 );
    

    Then, let me know if that works or if you see any errors.

    Let me know if you have any questions.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The question ‘BadgeOs not showing on course activity’ is closed to new replies.