Forget about refreshing the page
This add-on eliminates the need to refresh the page to see new content or changes. It serves as the foundation that provides a convenient way to work with the WebSockets protocol in XenForo.Read more about this add-on in our documentation.
Real time alerts – Provides real-time display of alerts to users.
Real time threads – Provides processing of all actions in threads in real time.
Version 1.1.0 Installation easing update :
- Added a bash script for manipulating the websocket server: it will install Soketi and configure the daemon for you. Read more in the updated documentation.
- Fixed incorrect operation of the "Pusher host" option when using a separate server for run websocket server.
Version 1.1.1 : Fixed issues with Pusher API.
Version 1.1.2 :
- Now the user is not shown an error if the server side failed to contact the websocket server.
- An errors will still be written to the error log.
Version 1.1.3 :
Updated config for supervisorctl in setup helper script to properly stop soketi server processes.
For those who have already configured the soketi service on supervisorctl, it is recommended to do the following:
Stop soketi service
supervisorctl stop soketi.your_domain.com
Kill all soketi server process:
pkill -f soketi
Add the following content to the service config (usually located in one of the folders:
/etc/supervisor/conf.d
, /etc/supervisor.d
, /usr/local/etc/supervisor.d
) :
Code:
You must log in to view
(7 lines)
supervisorctl reload
- The service should start automatically.
Version 1.1.4 Fixed : [021] XenForo WebSockets
Version 1.2.0 :
- Built-in Docker support: now the websocket server can be run even on non-soketi compatible OS (such as CentOS 7).
- Updated documentation.
Version 1.2.1 :
- Removed check for installed soketi on the server when installing daemons
- Added
/bin/bash
prefix to avoid "Executable path is not absolute, ignoring" errorVersion 1.2.2 fixed : In some cases, the channel name could be parsed incorrectly.
Version 1.2.3 : Prevented error output on the user side in case of problems with the websocket server.
Version 1.3.0 :
- Note : After this update, you need to grant permission to use WebSockets to user groups who should have this permission.
- Added permission to use WebSockets.
Version 2.0.0 :
- The
getWebsocketsPromise
method has been introduced, which allows you to execute code after the XF.Echo
and XF.EchoManager
objects are ready to work. This method should improve the stability of add-ons based on XenForo WebSockets.- Support for the Keep Alive XenForo system that updates the CSRF token when a tab is restored in browsers on mobile devices. This will get rid of such errors: Cookie Required To Use This Site, Security Error.
Version 2.0.1 Fixed : The Pusher Host option was not passed to the frontend.
Version 2.0.2 fixed :
- On forums with closed access for guests, certain scenarios required a websocket connection, but this did not occur due to viewing permissions check.
Version 2.1.0 :
- This update is supposed to fix an annoying bug that has existed since the add-on release: incorrect display of online users in expansions such as Real-Time Chat and XenForo Messenger
- Implemented an elegant solution for updating the csrf token and connecting to the websocket server when restoring a page from the back-forward cache: this should improve the connection when restoring a tab in a browser on mobile devices and help avoid the "Security error..." error.
- XenForo 2.3 support
- Name pattern feature for channels
- XF.Echo and XF.EchoManager now are deprecated, use window.ws.echo and window.ws.manager instead
- Updated soketi config parameters generation format to more user-friendly
- Removed some permission checks in the broadcast controller to ensure websockets work correctly in different situations
- Minimum PHP version now is 8.1
- Fix : Incorrect channel matching when there is a dot in the channel name (for example,
Forum.{id}
could matchForumTypers
) - Fix : Issue with channel subscription when using Pusher.com
- Fix : No icon in add-ons list
- Feature : Ability to change the hashing method for guest IPs (Read More in the Documentation)
Attachments
-
BS-XFWebSockets-1.0.1.zip642.7 KB · Views: 0
-
BS-XFWebSockets-1.1.1.zip644.8 KB · Views: 0
-
BS-XFWebSockets-1.1.3.zip644.9 KB · Views: 0
-
BS-XFWebSockets-1.1.4.zip645 KB · Views: 0
-
BS-XFWebSockets-1.2.1.zip645.5 KB · Views: 0
-
BS-XFWebSockets-1.2.2.zip645.5 KB · Views: 0
-
BS-XFWebSockets-1.2.3.zip645.6 KB · Views: 0
-
BS-XFWebSockets-1.3.0.zip645.8 KB · Views: 0
-
BS-XFWebSockets-2.0.0.zip646.9 KB · Views: 0
-
BS-XFWebSockets-2.0.1.zip646.9 KB · Views: 0
-
BS-XFWebSockets-2.0.2.zip646.9 KB · Views: 0
-
BS-XFWebSockets-2.1.0.zip665.1 KB · Views: 0
-
BS-XFWebSockets-2.1.1.zip654 KB · Views: 0