BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › BuddyPress Learndash Plugin: Cannot turn off activity
- This topic has 21 replies, 4 contibutors, and was last updated 9 years, 1 months ago by David.
Question
September 10, 2015 at 1:24 pm #46144@ubrandonHey 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
September 11, 2015 at 3:13 am #46159@
AnonymousHi @ubrandon
try following inside your functions.phpglobal $bp, $boss_sensei;
remove_filter( ‘bp_get_activity_action’,array($boss_sensei, ‘boss_edu_filter_course_activity’));Regards
Varun DubeySeptember 13, 2015 at 12:20 pm #46231@ubrandonHey 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!
September 13, 2015 at 12:25 pm #46232@ubrandonAlso, just tried that code and it doesn’t seem to work. Still getting the activity updated :/ sorry
September 14, 2015 at 8:43 am #46255@
AnonymousHi @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 DubeySeptember 17, 2015 at 3:13 pm #46544@ubrandonHey Varun any update on this? I’d love to start using it! Thanks
September 18, 2015 at 2:22 am #46563@
AnonymousHi @ubrandon
ideally following code should working but it need to modify the Boss_Sensei_Plugin firstfunction 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 DubeySeptember 18, 2015 at 7:13 am #46583@ubrandonHey Varun, this is for Learndash not Sensei 🙂
September 18, 2015 at 11:22 am #46600@
AnonymousBoth uses the same approach, i will update you once we will update them
RegardsSeptember 21, 2015 at 6:22 pm #46764@ubrandonOk Thanks!
September 22, 2015 at 8:24 pm #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!
September 23, 2015 at 2:03 am #46911@
AnonymousHi @dbayless, i have added task for the Sensei version as well. We will update it shortly
RegardsSeptember 23, 2015 at 7:27 am #46935@dbaylessThanks, Varun.
September 27, 2015 at 3:45 am #47227@saragExperiencing the same thing in Learndash.
Is there any way to definitely turn this off or not show it? Need a fix immediately please.
Thanks.
September 28, 2015 at 12:00 pm #47370@
AnonymousI 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
- The question ‘BuddyPress Learndash Plugin: Cannot turn off activity’ is closed to new replies.