mirror of
https://github.com/Mibew/broadcast-plugin.git
synced 2024-12-12 06:00:30 +03:00
A plugin for Mibew Messenger to broadcast system-wide messages.
css | ||
js | ||
.gitignore | ||
gulpfile.js | ||
LICENSE | ||
package.json | ||
Plugin.php | ||
README.md |
Broadcast plugin
A plugin to broadcast a message.
At the moment there are four broadcasting modes available:
- to all active chats (i.e. to chats with an operator connected);
- to all waiting chats (i.e. to chats in a queue and chats where an operator has been disconnected);
- to all chats except for closed ones;
- to all operators involved in chats (i.e. to operators in active chats or in active invitations).
Messages being sending as system ones. To send a message one should be an administrator.
Plugin's localization constants could be translated via standard interface.
Installation
-
Get the archive with the plugin sources. You can download it from the official site or build the plugin from sources.
-
Untar/unzip the plugin's archive.
-
Put files of the plugins to the
<Mibew root>/plugins
folder. -
Navigate to "
<Mibew Base URL>
/operator/plugin" page and enable the plugin.
Build from sources
There are several actions one should do before use the latest version of the plugin from the repository:
- Obtain a copy of the repository using
git clone
, download button, or another way. - Install node.js and npm.
- Install Gulp.
- Install npm dependencies using
npm install
. - Run Gulp to build the sources using
gulp default
.
Finally .tar.gz
and .zip
archives of the ready-to-use Plugin will be available in release
directory.