xypp / flarum-websocket-notification
An extension provides a light weight websocket realtime implementation for Flarum.
Installs: 184
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:flarum-extension
Requires
- flarum/core: ^1.2.0
- phrity/websocket: 2.2
Requires (Dev)
- flarum/approval: ^1.8
- flarum/flags: ^1.8
- flarum/likes: ^1.8
- flarum/tags: ^1.8
- fof/polls: ^2.2
- fof/reactions: ^1.4
README
All functions/appearances are not stable now and may be changed in future.
If you want to have an early access to this extension, please
- Back up ALL YOUR DATA! (database, files, etc.)
- Install this extension, And check all settings in admin panel.
- If problem occurs, you can submit it to github issue. However it's not guaranteed to be fixed.
Websocket Notification
An extension provides a light weight websocket realtime implementation for Flarum.
This extension current provides the following features:
- Show new post/discussion on the top of discussion page
- Auto append new post to the bottom of discussion page.
- Show a floating window for all notifications supports alert.
Usage
- Install this extension.
- Run
php flarum xypp-wsn:serve
in your Flarum root directory. - Reload the page.
You need to make the command always running in background. Using
screen
ornohup
is the possible solution.
Installation
Install with composer:
composer require xypp/flarum-websocket-notification:"*"
Updating
composer update xypp/flarum-websocket-notification:"*"
php flarum migrate
php flarum cache:clear