Gwendal
Developer
Moderator
Customer
Verified license
18 products
BoardGameHub
Classified
Drafts
Emporium
Emporium Client
GameHub
GroupFlair
Immersive Messenger
Journey
Level
Plans
Teams
Watch Party
XenCard
XenPing
XenSpotlight
XenStaff
XenStreak
Most XenForo boards run on shared hosting or a managed VPS, where you cannot keep a WebSocket server running. That is the usual reason forum chats feel slow: they ask the server for news every few seconds. The way around it is a hosted real-time service. Your forum sends each event to the service over HTTPS, and the service pushes it instantly to every open browser. Nothing extra runs on your server.
This guide uses Immersive Messenger as the example, but the principle is the same for any add-on built on the Pusher protocol.
A real-time service adds instant delivery, typing indicators and online presence, and it is required for voice and video calls: until one is set up, call buttons stay hidden.
Store page: Immersive Messenger. Questions: the Messenger forum, or a private ticket if you need to share your keys or Admin CP screenshots.
This guide uses Immersive Messenger as the example, but the principle is the same for any add-on built on the Pusher protocol.
What works without any setup
Out of the box, Immersive Messenger works with Realtime service set to Off (polling only): each open messenger asks your server for news on a timer. The Polling interval goes from 2 to 60 seconds; lower feels faster but sends more requests to your server.A real-time service adds instant delivery, typing indicators and online presence, and it is required for voice and video calls: until one is set up, call buttons stay hidden.
Step 1: create a Pusher Channels app
- Create an account at pusher.com and open Channels (not Beams, which is for mobile push).
- Create an app. Choose the cluster closest to most of your members (for example
eu,mt1,us2,ap1). - Open App Keys and keep the page open: you need the app_id, key, secret and cluster.
Step 2: connect it in the Admin CP
Go to Admin CP > Messenger > Options > Realtime and fill in:- Realtime service: Pusher Channels.
- App ID: the number from your dashboard.
- Key: the public key. Browsers receive it to open their connection, which is expected and safe.
- Secret: signs the requests your server sends. It never reaches browsers; keep it private.
- Cluster: the region code, for example
eu. - Leave Server host and Server port empty for Pusher.
Step 3: check it on the forum
Open the same conversation in two browsers, logged in as two different members. A message sent from one should appear in the other at once, and the typing indicator should show while you write. With real-time on, Messenger still checks the server every 20 seconds (30 in a hidden tab) as a safety net, so a message is never lost if a connection drops.Other services
- Ably speaks the Pusher protocol: choose Ably (Pusher protocol) and use the keys from your Ably dashboard.
- Your own server: if you do run a VPS, Soketi is a free, self-hosted Pusher server. Choose Soketi or another self-hosted Pusher server, enter its host name in Server host (no
https://, no path) and its port (a default Soketi install listens on 6001). Keep Use TLS (https and wss) on for any public site.
Next: calls
Once real-time works, voice and video calls can be turned on. Calls travel directly between members' browsers, and a TURN relay makes them connect on mobile data and strict office networks. That part has its own guide: Voice and video calls on XenForo: TURN relay, permissions and member privacy.Store page: Immersive Messenger. Questions: the Messenger forum, or a private ticket if you need to share your keys or Admin CP screenshots.