BuddyBoss Home – Web Support Forums Solutions Social Learner BuddyPress Learndash Plugin: Cannot turn off activity

Viewing 15 posts - 1 through 15 (of 22 total)
  • Question

    #46144
    @ubrandon

    Hey there!

    I deselected the activity boxes in the group management but I am still getting activity updated for every single lesson a student completes -_- Can everyone else turn it off no problem? Thank you!

    Answers

    #46159

    Anonymous
    @

    Hi @ubrandon
    try following inside your functions.php

    global $bp, $boss_sensei;
    remove_filter( ‘bp_get_activity_action’,array($boss_sensei, ‘boss_edu_filter_course_activity’));

    Regards
    Varun Dubey

    #46231
    @ubrandon

    Hey Varun, thank you – is there a way to block the functions that also sync the members between the groups and courses? I don’t want them synced, it’s not working quite right and when I unenroll someone it adds them to the group and stuff. So I would like to just stop the syncing altogether. Thanks!

    #46232
    @ubrandon

    Also, just tried that code and it doesn’t seem to work. Still getting the activity updated :/ sorry

    #46255

    Anonymous
    @

    Hi @ubrandon, I have passed it to developer to check it once and provide a proper code for it, they need to modify the plugin codes as well to add action from outside.

    Regards
    Varun Dubey

    #46544
    @ubrandon

    Hey Varun any update on this? I’d love to start using it! Thanks

    #46563

    Anonymous
    @

    Hi @ubrandon
    ideally following code should working but it need to modify the Boss_Sensei_Plugin first

    
    function remove_sensei_activity()
      {
    global $bp, $BUDDYPRESS_SENSEI, $boss_sensei;
    remove_filter( 'bp_get_activity_action',array($BUDDYPRESS_SENSEI, 'bp_sensei_create_lesson_activity'));
    remove_filter( 'bp_get_activity_action',array($boss_sensei, 'boss_edu_filter_course_activity'));
        }
    add_action( 'bp_loaded', 'remove_sensei_activity' );
    

    please wait for the specific request , Thanks for your patience.

    Regards
    Varun Dubey

    #46583
    @ubrandon

    Hey Varun, this is for Learndash not Sensei 🙂

    #46600

    Anonymous
    @

    Both uses the same approach, i will update you once we will update them
    Regards

    #46764
    @ubrandon

    Ok Thanks!

    #46848
    @dbayless

    @vapvarun, I’m experiencing the same problem with Sensei (as you anticipated previously). I turned off all activity notifications (see attached screenshot), but the Group associated with the Sensei course still shows all lesson activity (see second attached screenshot). I look forward to hearing when this is fixed. Thanks!

    #46911

    Anonymous
    @

    Hi @dbayless, i have added task for the Sensei version as well. We will update it shortly
    Regards

    #46935
    @dbayless

    Thanks, Varun.

    #47227
    @sarag

    Experiencing the same thing in Learndash.

    Is there any way to definitely turn this off or not show it? Need a fix immediately please.

    Thanks.

    #47370

    Anonymous
    @

    Hi @dbayless @sarag @ubrandon

    I have attached modified copy of both Sensei and Learndash version
    these are the quick fixes only, not an official release for BuddyPress sensei or BuddyPress Learndash
    https://www.buddyboss.com/support-forums/topic/cannot-turn-off-course-activity-feed-huge-problem/
    Group Activities related to course , lesson , topics and quizes are turn off in these version
    Regards

Viewing 15 posts - 1 through 15 (of 22 total)
  • The question ‘BuddyPress Learndash Plugin: Cannot turn off activity’ is closed to new replies.