[BS] Real time chat

xF2 Add-on [BS] Real time chat 1.5.0

No permission to download
.changes:
  • Added a new type of server communication with the client. Long polling.
    • This type is a bit slower than web sockets, but the chat will still be in real time.
    • This type does not require additional configuration. You just need to specify the maximum duration of the request.
      • I advise you to set 15-25 seconds.
    • This type loads the server more than web sockets.
    • There is the possibility of developing new adapters for the exchange of information between users (for example, redis or memcache instead of a database)
  • Added style properties for some elements
  • Updated depencies

You can see how working a new long polling type here: https://demo.devsell.io/
More about long polling: https://www.pubnub.com/blog/http-long-polling/
More about update: https://devsell.io/resources/bs-real-time-chat.11/update/27/
  • Like
Reactions: Q139
.changes:
  • Fixed error Template admin:widget_def_options_real_time_chat is unknown
  • Duplicate code moved to getMessageBody function
  • Like
Reactions: Q139 and BusTeRR
.changes:
  • Adaptation of the deprecated fn method
  • User permission group id changed
    • After updating you will need to set all permissions again
  • Added PHPDoc to classes
  • Now the minimum php version is 7.0.0
Top