How do I hide student information and activity?

Home Forums Legacy Support Support queries Setup issues How do I hide student information and activity?

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #384734
    tolgaavcil
    Participant
    How do I hide student information and activity? For example; When a student clicks on the badges, I don't want them to see the other students who won that badge. Or I want to prevent other students from seeing their names when they search in the message section. In summary, I want a student to not have access to any student's information. I tried the following ways but couldn't find a solution: - https://wplms.io/support/knowledge-base/hide-badges-and-certificates-from-other-users/ - https://wplms.io/support/forums/topic/how-to-hide-students-members-information/ - I marked everything from places like vibebp-buddypress, lms, wplms-buddypress as admin can see. Note: when I turn off the accessibility settings under vibebp-buddypress, the refresh buddpress navigation button stops working.
    #384815
    Anshuman Sahu
    Keymaster
    Exactly where are users able to find other users in badges , we need some screenshot .
    #384896
    tolgaavcil
    Participant
    This reply has been marked as private.
    #384931
    Anshuman Sahu
    Keymaster
    1 . yes this is an issue we are checking this . 2 . message search : yes the message search can search all the users there. please add this custom code in your wplms-customizer.php file in wplms customizer plugin :
    add_filter('vibebp_member_search_args',function($args,$body){
    	$args['search'] = esc_attr( $body['search'] );
    	return $args;
    },$args,$body);
    #384972
    tolgaavcil
    Participant
    This reply has been marked as private.
    #384996
    Anshuman Sahu
    Keymaster
    2 . Im sorry this is the correct code :
    add_filter('vibebp_member_search_args',function($args,$body){
    	$args['search'] = esc_attr( $body['search'] );
    	return $args;
    },10,2);
    #385597
    tolgaavcil
    Participant
    Hi Alex, Thanks for the code, it works. So is there any information for badges? I want to use badges but it is a huge security hole for me for a user to see other users who have earned that badge. What can we do about it?
    #385627
    Anshuman Sahu
    Keymaster
    That we need to fix.Please track : https://trello.com/c/X1w1IJxd
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How do I hide student information and activity?’ is closed to new replies.