Now the event is triggered after the user logs in to the forum. Not just open the forum where he is already logged in, but enter his nickname and password and go through the login process.
Yes indeed, I was changing the logic in the plugin's operation a bit and missed that point. I will fix it in the next version.
Currently it works if the user logs in/log out on the forum. Also in the next version I will expand this functionality.
Swoole extension is not installed in PHP under which the forum is running.
This indicates that Swoole is installed in the native version of PHP.
You can run the socket server through the console, that will work too.
Make sure that here admin.php?options/groups/debug/ socket server is disabled...
Fixed bug with memory leak in Swoole mode.
Added new group permissions for changing user settings (sound notification settings, message style, etc.).
Fixed bugs when working with XenAddons Classified Ads System plugin. Thanks to @Bob for providing the plugin to fix the bugs.
Fixed other bugs...
This is the latest version of the plugin with Workerman support. There may be minor updates to fix bugs found.
Starting from version 3.0.0 Workerman will be replaced by Pusher. Therefore the plugin will work via Swoole library or via Pusher service.