Where is my messages stored?

Websocket servers not storing any messages itself, all messages stored only in your website database. Websocket servers used only as transitional servers to transmit data in realtime and storing only some required to function data. The messages content and other…

Read more

How to add welcome message for new users?

This snippet will add welcome message on user register at your website. function bp_messages_welcome_message( $user_id = false, $key = false, $user = false ){ if ( ! function_exists( 'BP_Better_Messages' ) ) return false; $args = array( 'sender_id' => 1, 'thread_id'…

Read more

How to change max height of container?

Default max height of BP Better Messages container for desktops is set to 500px. There is bp_better_messages_max_height filter which you can use to change that value, this is example of how to use it:add_filter('bp_better_messages_max_height', function($max_height){ return 600; // New max…

Read more

How email notifications work?

Instead of standard notification on each new message, BP Better Messages plugin will group messages by thread and send it within next 15 minutes with cron job. User will not receive notifications, if they are disabled in user settings. User…

Read more
0