[0.2.2.4] - 2025-12-02
- Enhanced Shortcode Parameters:Added full support for customizing the lobby experience directly via shortcode attributes.
room_title: Sets the welcome title displayed in the lobby (Default: "Meeting Room").display_name: Controls the user naming strategy. Options: Firstname, Lastname, Displayname, Anonym.room_id: Manually overrides the channel name (e.g., for creating a permanent VIP room).presenter_roles: Allows overriding global presenter permissions for a specific room (e.g., presenter_roles="editor,shop_manager").auto_approve: Controls waiting room logic (on/off).
- Added full support for customizing the lobby experience directly via shortcode attributes.
room_title: Sets the welcome title displayed in the lobby (Default: "Meeting Room").
display_name: Controls the user naming strategy. Options: Firstname, Lastname, Displayname, Anonym.
room_id: Manually overrides the channel name (e.g., for creating a permanent VIP room).
presenter_roles: Allows overriding global presenter permissions for a specific room (e.g., presenter_roles="editor,shop_manager").
auto_approve: Controls waiting room logic (on/off).
- Critical Role Synchronization (BuddyBoss & Fallback):Fixed a logic gap where the
user_role parameter was missing in the shared asset loader (wpj_load_lobby_assets), causing Admins/Presenters to be treated as guests (forcing them to "Knock") when joining from BuddyBoss tabs or non-standard pages.Resolution: The system now calculates the role server-side using the wpj_get_user_role_status helper and explicitly passes it to the JavaScript settings object in all scenarios.
- Fixed a logic gap where the
user_role parameter was missing in the shared asset loader (wpj_load_lobby_assets), causing Admins/Presenters to be treated as guests (forcing them to "Knock") when joining from BuddyBoss tabs or non-standard pages.
- Resolution: The system now calculates the role server-side using the
wpj_get_user_role_status helper and explicitly passes it to the JavaScript settings object in all scenarios.
- Meeting Room Button Logic:Fixed an issue where the "Share Screen" button was missing for Presenters who were granted rights via Shortcode Override (
presenter_roles).Resolution: The wpj_meetingroom_shortcode function now prioritizes the role stored in the secure Transient (session) over the global settings, ensuring HTML elements match the actual user permissions.
- Fixed an issue where the "Share Screen" button was missing for Presenters who were granted rights via Shortcode Override (
presenter_roles).
- Resolution: The
wpj_meetingroom_shortcode function now prioritizes the role stored in the secure Transient (session) over the global settings, ensuring HTML elements match the actual user permissions.
- Refactored Asset Loading:Centralized lobby asset loading into a shared function
wpj_load_lobby_assets() to ensure consistent behavior between standard WP pages and shortcode fallbacks.
- Centralized lobby asset loading into a shared function
wpj_load_lobby_assets() to ensure consistent behavior between standard WP pages and shortcode fallbacks.