Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 3 years ago

#8086 closed defect (bug) (worksforme)

Members of hidden groups can't see hiddent groups

Reported by: pandraka's profile pandraka Owned by:
Milestone: Priority: high
Severity: critical Version: 4.3.0
Component: Groups Keywords: reporter-feedback
Cc:

Description

I have users who are members of hidden groups who no longer can see those groups. I know for sure it happened after the last BuddyPress update. I have three test sites one which hadn’t been updated in a bit. Once I updated BuddyPress, members of Hidden groups could no longer see those groups. I switched to the twenty-twelve them and de-activated most of the plugins to confirm the issue. I even resaved the permalinks. Admin accounts still see all their groups, members no longer see hidden groups. It does seem to be something within BuddyPress. As you could guess I have several very unhappy members.

Here is the link to the discussion on the support forum. https://buddypress.org/support/topic/hidden-groups-elements-no-access-even-for-group-members/#post-305329

The Moderator Venutius has been very helpful

Change History (7)

#1 @boonebgorges
5 years ago

  • Keywords reporter-feedback added

I'm unable to reproduce. Here's what I've done:

With user U1:

  1. Create a hidden group
  2. Invite user U2 to join the group

With user U2:

  1. Accept the invitation
  2. Visit /groups/ and click 'My Groups'. The hidden group appears in the list.
  3. Visit U2's profile and then click the Groups tab. The hidden group appears in the list.
  4. Visit the group's home URL. I'm able to visit it without being redirected.
  5. Visit subtabs of the group. I'm able to visit.

The linked support post describes a couple of separate problems - not seeing the group in group directories, something to do with Docs and Events not being visible/accessible, etc. It also references "the last BuddyPress update". So there are a lot of missing details.

@Venutius and @pandraka - Could you please provide step-by-step instructions to reproduce your issue, along with detailed description of (a) what you expect to see, and (b) what you actually see? If you're able to identify the version of BP where things changed, that'd also be helpful.

#2 @Venutius
5 years ago

I'm really sorry, just tested this again and in my case it was caused by a plugin conflict, Made the mistake of thinking with just a few plugins loaded it could not be them. Sorry again.

#3 @pandraka
5 years ago

I'm still having an issue with hidden groups. My production site is running all the current versions of Wordpress, BuddyPress, BBPress and all plugins.

On my test site, I've disabled most of the plugins, turned off the child theme, so the test site is running 2012 and resaved the permalinks. I've been slowly turning off plugins one at a time to see if there is a change.

So I have an existing member and a separate existing admin.
Both the admin & member are members of a hidden group
As an admin, I see the hidden group when I click on groups.
as a member, I do not see the hidden group even though I am a member of the hidden group.

The development site is running

buddypress 4.2.0
wordpress 5.1.1
xprofile custom type 1.0.7

Custom Contact Forms Version 7.8.5
Megamenu & Megamenu Pro 2.6 1.7.1
New User Approve 1.7.6
search and filter 1.2.11, search & Filter pro 2.4.2

There are a few other plugins, like a link checker, geo block and pop-up nothing else related to buddypress

I can't tell you which version worked since I didn't look before I updated the other development site.

#5 @boonebgorges
5 years ago

  • Component changed from Core to Groups

Hi @pandraka - You haven't given precise instructions to reproduce. But given this sentence: " I see the hidden group when I click on groups" I'm guessing that you are visiting the URL /groups/, ie the top-level group directory. By default, the filter on this page is 'All Groups'. When viewing the All Groups filter as a non-admin user, hidden groups do not appear, even if you are a member of the group. However, you can see these groups by clicking 'My Groups' (which should make an AJAX request to fetch your groups), or by visiting /members/[you]/groups/.

Does this correctly explain your issue? If so, it's not a new bug, but is the way that BP has always behaved.

#6 @pandraka
5 years ago

Good Morning,

Thank you for all your help and sorry about the radio silence I had a family event over the weekend. I spent my morning looking for more test cases in the production and test environments. In just two instances, users, using the my group's tab, could not see hidden groups. Other users with the same permissions, members/participant, Author/participant could see their hidden groups when using the My Group tab. It's odd, but at least I have one example in my test environment. I have to conclude it's something with the user setup. I've cleared cache, switched to the twenty-twelve theme, and deactivated most of the plugins with the same results. I'm at a loss as to what is going on in these instances, but I'll let you know when I figure it out. Thank you for all your help.

Last edited 5 years ago by pandraka (previous) (diff)

#7 @imath
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

As this ticket wasn't updated for 2 years now, I guess the issue was fixed. Don't hesitate to reopen it if it's not the case.

Note: See TracTickets for help on using tickets.