hide /groups page to non Admin or Teacher

Home Forums Legacy Support Support queries Other issues hide /groups page to non Admin or Teacher

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #282976
    ftva
    Participant
    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,
    #287908
    Jackson
    Blocked
    Hello, Means you want that groups tab will be shown for admin and instructor not for students, Am i right ? Thanks,
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘hide /groups page to non Admin or Teacher’ is closed to new replies.