- 0.7.2: Fixes PHP warnings from update-xprofile-field: the from and to values in its output schema now declare their possible types, which WordPress requires when it validates an ability's output.
- 0.7.1: Tidies the new xProfile data abilities: their descriptions no longer repeat the site_id sentence the site scope adds, and user_id, field_id and user_ids now have input descriptions.
- 0.7.0: New abilities to read and write members' xProfile values. set-xprofile-data sets or clears values for up to 200 user and field pairs in one call, through BuddyPress's own xprofile_set_field_data so validation and hooks run; it checks option names and required fields, refuses users who are not site members, reports each value before and after, and defaults to a dry run. get-xprofile-data returns members' stored values for chosen fields or a whole field group, raw rather than formatted for display. Both require bp_moderate and take site_id.
- 0.6.0: Adds the update-group ability, which changes a BuddyPress group's name, description or slug through BuddyPress with a dry run by default. Members are not notified, group status is left alone, slugs that clash with another group's current or previous address are rejected, and the note is recorded in LH Audit Trail.
- 0.5.1: create-xprofile-field dry runs now also report the visibility, member types, signup position and autolink given, and update-xprofile-field's refusal for a field with member data reads correctly for one member.
- 0.5.0: Adds xProfile write abilities: create-xprofile-group, create-xprofile-field (options and type settings in the same call), update-xprofile-field (only the keys given change; the type can change only while the field holds no member data) and reorder-xprofile-fields (explicit positions for every field in a group, moving fields in from other groups). Settings are checked against each type's settings schema and unknown keys are refused. Options survive every save, and other plugins' admin-form settings are left untouched. All four default to a dry run, require bp_moderate and accept site_id. The datebox settings schema now includes the age format, and wp-textbox requires wp_user_key on create.
- 0.4.0: Two new read abilities for a site's xProfile setup, both with site_id and bp_moderate. list-xprofile-field-types lists the registered field types with what each supports and the schema of its settings, saying where the schema comes from: the type itself, this plugin (datebox, WordPress text field, checkbox acceptance), none, or unknown. It also lists field types the site's fields use that are not registered for the call, such as types from a site's own plugins on site_id calls. get-xprofile-field returns one field with its options, visibility, member types, signup position and current settings keyed by that schema. The settings schemas can be extended with the lh_mcp_buddypress_actions_xprofile_settings_schemas filter, and a field type's own get_settings_schema() takes precedence when BuddyPress core adds one.
- 0.3.0: New ability list-xprofile-groups: lists a site's BuddyPress xProfile field groups in display order, optionally with each group's fields (id, name, type, required, order). xProfile is per site on LocalHero, so with site_id it returns that site's groups rather than the calling site's. Read-only, through BuddyPress's own bp_xprofile_get_groups(). Requires bp_moderate. First of the xProfile abilities; the category description now covers xProfile too.
- 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.