๐๏ธ Welcome message
PHP snippet that automatically sends a private welcome message to every newly registered user. Hooks BuddyPress, Ultimate Member, Paid Memberships Pro, and standard WordPress registration events.
๐๏ธ Custom messages location
PHP snippets to render the Better Messages inbox at a custom URL on your WordPress site and redirect notification links to that URL using the `bp_better_messages_page` filter.
๐๏ธ Disable profile links
PHP filter to disable clickable user-profile links in the Better Messages UI and show only nicknames. Uses the `better_messages_rest_user_item` filter.
๐๏ธ iOS web push
How to enable iOS web push notifications for Better Messages using a PWA manifest. Works on iOS 16.4+ when the site is added to the iOS home screen as a web app.
๐๏ธ Custom file format
PHP filters to register a custom file extension (e.g. .apk or .emb) with the WordPress media gallery so it becomes selectable in Better Messages attachment uploads.
๐๏ธ Custom email layout
PHP filter to fully replace the default Better Messages email notification layout with your own HTML template. Use the `bp_better_messages_overwrite_email` filter for programmatic control over email content.
๐๏ธ Customize sounds
Replace Better Messages notification, send, incoming-call, and outgoing-call sounds. Use the built-in WP-admin picker per sound, or replace the whole sounds folder with the `bp_better_messages_sounds_assets` PHP filter.
๐๏ธ Custom AI provider
How to register a custom AI provider for Better Messages AI Chat Bots using three PHP filter hooks. Works with self-hosted LLM servers like Ollama, LM Studio, vLLM, llama.cpp and any OpenAI-compatible API. Built-in providers OpenAI, Anthropic Claude, and Google Gemini stay available alongside.
๐๏ธ Per-thread personas
Display a single WordPress user under a different name, avatar, and profile URL in each thread without touching their real identity elsewhere. Uses `participantOverrides` on the `better_messages_rest_thread_item` filter. Powers buyer โ agent personas in RealHomes / Houzez integrations.
๐๏ธ Revoke a user's access
Cut a suspended, banned or ineligible member off the WebSocket server at once, closing their open sessions, with the better_messages_revoke_user action and the better_messages_user_can_connect filter, or take them out of a single conversation or chat room.
๐๏ธ Custom navigation tabs
Add your own tabs to the mini widgets bar, the side panel and the mobile tab bar of Better Messages, rename or remove the built-in tabs, draw a panel of your own and keep a badge current, with the better_messages_navigation_tabs JavaScript filter and the better_messages_custom_tabs PHP filter.