Hi,
We like to hide the /groups/* page from non Admin or Teachers, we noticed that guest users who stumbled on the URL a search can view the /groups/* page, and we're concerned that users are able to see members of the group.
We've changed the "WPLMS > Buddypress >Group directory View" to "Teachers only" but the /groups/* page are still visible from other users including guest.
We also implemented this:
function remove_group_member_tab() {
bp_core_remove_subnav_item( bp_get_current_group_slug(), 'members' );
}
add_action( 'bp_setup_nav', 'remove_group_member_tab', 15 );
</div>
it removed the "members" tab from the page, but instructors/admins are unable to see the group members, this can be a temporary workaround so the members list will not be visible until we resolve this.
Cheers,
Hello,
Means you want that groups tab will be shown for admin and instructor not for students,
Am i right ?
Thanks,