Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] BP Groups Widget does not show Hidden Groups

  • Avatar of gemonon
    gemonon
    Participant

    @gemonon

    Hey there,

    is there a way for the BP Groups Widget to include hidden groups in the list?

    As far as I can tell, private and public groups show up, but hidden groups do not (although they are correctly listed with their activity on the Groups page).

    Anyone had the same issue or does have a clue?

    I looked at the widget source code in bp-groups-widgets.php but did not see any exclusion or inclusion possibility of hidden groups, but it is likely that I am simply not aware of how bp_groups() and bp_has_groups() does work there :/

    Maybe these functions somehow do not take into account hidden groups I am a member of when displaying the widget?

    Thanks and all the best,
    Georg

Viewing 6 replies - 1 through 6 (of 6 total)
  • Avatar of rzelnik
    rzelnik
    Participant

    @rzelnik

    I can confirm that I have the same issue. Admin users can see all groups, including the hidden groups, but the hidden groups are invisible for regular members in the BP Groups Widget.

    Here is one relevant issue: http://buddypress.org/support/topic/showing-buddypress-hidden-group-forums-to-group-members-on-bbpress-forum-index/

    Avatar of danbp
    danbp
    Moderator

    @danbp

    @rzelnik,

    Here a little reminder.

    Private group access:
    This is a private group. To join you must be a registered site member and request group membership.

    Hidden group access:
    Hidden groups are not listed on group directory, for visitors and members. This is explained in the 1st step of the group creation page.
    You must be invited to join a hidden group. Once accepted, you see this hidden group only in your group list. Additionnaly, you have to be friends first before you can invite a member to join a hidden group.

    If you try to access a hidden group as visitor, you’ll see a 404 page. Same thing if you’re logged-in and not member of the hidden group.

    The group widget works like the group directory, and use the same filters (active, popular, newest). The widget is just smaller. And like the group directory, the widget doesn’t mention the hidden groups, even if you’re member of such a group.

    So, I guess it is not a issue.

    Avatar of rzelnik
    rzelnik
    Participant

    @rzelnik

    @danbp, thank you for your explanation. I thought that “hidden group” means hidden for other users outside the group, for public group lists etc. I still don’t understand, why the “hidden group” should be hidden also for it’s own members.

    Avatar of danbp
    danbp
    Moderator

    @danbp

    @rzelnik,

    your question was around hidden groups are invisible for regular members in the BP Groups Widget.

    Hidden groups are only viewable on the member profile My Groups tab, when the member is logged in and is member of the hidden group.

    So far i can remember, it is so since a long time ago.

    If it is not the case on your install, you must give more information about it.
    Used theme, eventually customized function, bp and wp version and a precise description of your issue. When does it appear, and so on.

    Avatar of rzelnik
    rzelnik
    Participant

    @rzelnik

    @danbp, I just realized that my request is a bit out of scope. Actually I would need a widget that would show “My Groups” rather than “Newest/Active/Popular Groups”, so I will try to search for another widget and eventually I will try to create it. Thanks for your explanation.

    Avatar of danbp
    danbp
    Moderator

    @danbp

    hi @rzelnik,

    you’re welcome ! ;-)
    Before creating something, read first the comments in bp-activity-template.php:357

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Resolved] BP Groups Widget does not show Hidden Groups’ is closed to new replies.