pmpro-buddypress
pmpro-buddypress copied to clipboard
Lock access to all of BuddyPress should include Activity Tab and Access
Describe the bug Currently, with “No - Lock access to all of BuddyPress”, the users can see their profile with Activity Tab active and the ability to leave messages.
To Reproduce Steps to reproduce the behavior:
- Enable BuddyPress and PMPro and BuddyPress Integration
- Under Non-Members setting, select "No - Lock access to all of BuddyPress"
- Register on-site without a membership level
- User can see Activity Tab and is can fill out a message that shows on the Activity Stream
Screenshots
Expected behavior Non-Members or Levels with this setting, BuddyPress Access, should be totally disabled.
Isolating the problem (mark completed items with an [x]):
- [x] I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro plugin is active.
- [x] This bug happens with a default WordPress theme active or Memberlite.
- [x] I can reproduce this bug consistently using the steps above.
WordPress Environment
```
WordPress 6.2.2
Paid Memberships Pro 2.11
Paid Memberships Pro - BuddyPress 1.4.1
```
As a temporary fix to keep non-members from adding to or viewing the activity feed, I have written a snippet to:
- Remove the Activity tab from the member's profile using CSS to "hide" the activity option from the admin menu. https://gist.github.com/kimwhite/3054a61d93c97a6c3c10f70af0dbbbb9