Course Result privacy in activity feed

Home Forums Legacy Support Support queries How-to & Troubleshooting Course Result privacy in activity feed

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #192880
    roath
    Spectator
    Hello, When a student finishes a course, his/her final result (marks) is displayed in his activity feed and others can visualize it too. How can I disable this for a specific course, so that his/her result is not public? Thank you in advance. Best regards, Rodrigo
    #192943
    logan
    Member
    hey, No there is no specific setting in wplms. we have only this. goto wp-admin > wplms > buddypress > restrict activity view. Refer: https://prnt.sc/m8sate or you can delete that particular activity from admin section for that particular user.
    #192994
    roath
    Spectator
    Hello, "we have only this. goto wp-admin > wplms > buddypress > restrict activity view." But this disables all activity information from other students! We would like to restrict just 2-3 activity types (the ones that actually shows the grade of the quizzes and courses). Don't you have any workaround for this? "or you can delete that particular activity from admin section for that particular user." That's really unfeasable to individually delete these activities for each user!   Don't you have a script code that excludes theses activities from appearing in the feed? Thanks again, Rodrigo  
    #193131
    roath
    Spectator
    Hello again, Logan In this thread https://wplms.io/support/forums/topic/buddypress-how-to-remove-course-related-activity/ the user had a similar problem and, apparently, Diana has solved but tagged her reply as private. Could you show me her answer please? And also in this thread https://wplms.io/support/forums/topic/disable-course-join-status-updating-in-activity/ Latiyan wrote 'customizer' code that HIDES a specific activity (code below). Maybe I can modify this code to hide the activities that show the marks/grades/results of the students, right? Could you help me on that? add_filter('bp_course_record_activity','custom_hide_course_start_activity',1); function custom_hide_course_start_activity($args){ if($args['type'] == 'start_course'){ $args['hide_sitewide'] = true; } return $args; } This will hide the start course activity from your website.   Thank you. Best regards, Rodrigo
    #193155
    logan
    Member
    hey, the above code will hide every activity from the profile. try these codes in your customizer plugin. add_filter('bp_course_record_activity',function($args){   if($args['component'] == 'course'){     $args['hide_sitewide'] = true;   }   return $args; }); **it will hide the activities recorded from now. it will not affect previously recorded activities.
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Course Result privacy in activity feed’ is closed to new replies.