Digital Sovereignty for everyone

Changelog

  • 1.2.1: Shorter plugin description, within wordpress.org’s 150-character limit, and the database queries behind LH User Insights’ experience column and the get-group-experience-levels ability now pass table and column names through %i placeholders instead of writing them into the SQL. No change in behaviour.
  • 1.2.0: Experience Description (lh_uet-text) field settings now work and are machine-readable, and the plugin is brought up to coding standards. The text field type sets do_settings_section, so BuddyPress calls admin_save_settings() with the field-settings[…] array; it saves minimum_length (existing meta key _lh_uet-text-minimum_length kept) and a new real placeholder setting (falls back to the field description). Adds static get_field_settings( $field_id ) and get_settings_schema(), so lh-mcp-buddypress-actions reports the type’s settings_schema_source as type and can read and write its settings. The handle_fields_saved() workaround on xprofile_fields_saved_field is removed. Both field types: $this->type is now the registration key (lh_uet-text, lh_uet-tax), so bp_xprofile_field_type_* fires per type; correct text domain; field types load only when BuddyPress xProfile is available. Users Insights integration moves to LH User Insights (lh_ui_fields, lh_ui_db_map, lh_ui_query_join_table); the field is built per call and the join reads term tables at query time, so site_id calls use that site’s levels; the join query is prepared. Front-end and new-user saves verify the nonce first, then capability, and unslash and sanitise every input; a form-created user’s existing level or description is only overwritten by someone who can edit them. On the wp-admin user screen, clearing the description now removes it. All output is escaped (select, textarea, date inputs, users-list filter dropdown, check-in report cells). Header adds Requires at least, Requires PHP, License and License URI, and drops the unused Domain Path; constructor is now private.
  • 1.1.0: Adds three MCP abilities for reading and setting members’ experience, used by Princes Park Touch’s daily membership triage. get-user-experience returns up to 100 users’ own experience description (the Experience Description profile field), their experience level and when it was last updated; these were blank through the BuddyPress and WordPress REST APIs. set-user-experience-level sets or clears a user’s level by number, slug or term ID, leaving their text and last-updated date alone unless asked. get-group-experience-levels returns each member’s level for up to 100 BuddyPress groups with a count per level, for checking how many representative players a team has. All three are site-scoped, so they take site_id through LH MCP Adapter Extensions; reads need list_users and setting needs edit_users. plugin_version() now reads the Version header, the plugin_init filter gate is added, and the class_exists() guard around the main class is removed.

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.