- Discussions
- 4 644
- Messages
- 12 049
- Solutions
- 81
- J'aime
- 7 608
- Points
- 198
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.
Examples
Real time alerts – Provides real-time display of alerts to users.Real time threads – Provides processing of all actions in threads in real time.
Télécharger V1.0.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
- 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.
Télécharger V1.1.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
- 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:
stopasgroup=true
killasgroup=true
numprocs=1
redirect_stderr=true
stopwaitsecs=60
stopsignal=sigint
minfds=10240
supervisorctl reload
- The service should start automatically.
Télécharger V1.1.3 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Télécharger V1.1.4 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
- 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" errorTélécharger V1.2.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Télécharger V1.2.2 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Télécharger V1.2.3 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
- 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.
Télécharger V1.3.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
- 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.
Télécharger V2.0.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Télécharger V2.0.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
- On forums with closed access for guests, certain scenarios required a websocket connection, but this did not occur due to viewing permissions check.
Télécharger V2.0.2 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
- 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
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
- 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)
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
- Fix :
window.ws.event.on
does not work correctly on XenForo 2.3 - Fix :
X-WebSockets-Page-Uid
header not passed to AJAX requests on XenForo 2.3
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Télécharger V2.1.3 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.