- 0.2.2: Callers with install_plugins are no longer restricted. For them, add-group-members skips the site member requirement, no change is refused by site rules through the lh_mcp_buddypress_actions_refuse_change filter, and real changes go ahead on site_id calls even when the target site’s own plugins were not loaded, with a warning saying so. BuddyPress’s own safeguards still apply to everyone: a group always keeps an admin, and an admin must be demoted before being banned.
- 0.2.1: Only approved members can be added to a group. With LH Membership active, a member of the site now means an approved member, so pending applicants and unclaimed accounts are reported as not_site_member instead of being added. The site_member field in every result uses the same test, which other plugins can adjust through the lh_mcp_buddypress_actions_is_site_member filter.
- 0.2.0: First release of the group membership abilities. New add-group-members, remove-group-members and set-group-member-role abilities change BuddyPress group membership through BuddyPress’s own functions, so group hooks run. Adding accepts a pending membership request or invitation instead of duplicating it, and only members of the site the call runs on can be added. Removing or demoting never leaves a group without an admin. Site rules come first: a site can refuse any change through the lh_mcp_buddypress_actions_refuse_change filter, and a real change is refused when a site_id call reaches a site whose own plugins were not loaded. Each ability defaults to a dry run, reports the outcome per user, takes an optional note for LH Audit Trail and site_id, and needs bp_moderate or admin of the group. Requires BuddyPress.
- 0.1.0: Initial scaffold.
Changelog
If you like this plugin please consider making a donation to further development