Skip to:
Content
Pages
Categories
Search
Top
Bottom

Make Private Groups Visible

  • Hello,

    I am interested in making it so that private groups require membership request to join, but the content can be viewed by all. I made the following changes in groups.php, but it didnt seen to work. Any help would be greatly appreciated

    Thanks

    // If this is a private or hidden group, does the user have access?
    if ( ‘private’ == $bp->groups->current_group->status || ‘hidden’ == $bp->groups->current_group->status ) {
    if ( $bp->groups->current_group->is_user_member && is_user_logged_in() || is_site_admin() )
    $bp->groups->current_group->user_has_access = true;
    else
    $bp->groups->current_group->user_has_access = true;
    } else {
    $bp->groups->current_group->user_has_access = true;
    }

Viewing 12 replies - 1 through 12 (of 12 total)
  • any help with this?

    does anyone have any thoughts?

    can anyone please help with this?


    Pisanojm
    Participant

    @pisanojm

    I can’t help, but it looks like you might be able to glean something from the Announcement Plugin where anyone can read, but people can’t post….

    thats only for the forum though…I want to make it so that anyone can see the group, but to join, you must request an invite


    Pisanojm
    Participant

    @pisanojm

    Right, I was saying look at the code to see if you can replicate what you want.


    r-a-y
    Keymaster

    @r-a-y

    What’s the point of having a group private then?

    Just make everything public!

    @r-a-y
    I am trying to make a group for “American Restaurants” and I want everyone to be able to see the content of the group, but only accounts which are actually restaurants to be able to request an invitation and join

    thanks for the help with the admin issue @r-a-y…would you or anyone else have a possible solution for this?


    r-a-y
    Keymaster

    @r-a-y

    It’s possible, but would probably require hacking the core.
    I don’t have time to look into this, but I would also suggest taking a closer look at /bp-groups/bp-groups-templatetags.php as well.

    Look for private and group statuses in that file.

    I have been playing around with this for quite some time but cant get it to work. I just want it so that anyone can see who the members are of a private group. I got close and you can see at http://snipbids.com/groups/electronics-1682147612/members/

    Something is showing but I cant get the list of group members to show

    Any ideas? please any help would be greatly appreicated

    @r-a-y: I made the changes in the templatetags file to get to this result

    Im looking for the exact same solution… any progress on this????

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Make Private Groups Visible’ is closed to new replies.
Skip to toolbar