.gitignore | ||
gulpfile.js | ||
LICENSE | ||
package.json | ||
Plugin.php | ||
README.md |
Auto Reply plugin
A plugin for Mibew Messenger that provides an ability to automatically reply a visitor in a queue.
The default text of the reply is All our operators are currently busy, please hold. Sorry for keeping you waiting.
.
It can be altered (and translated) using the standard localization
interface. On could just navigate to "<Mibew Base URL>
/operator/translation"
page, find the appropriate constant, and change it.
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. -
(optional) Add plugins configs to "plugins" structure in "
<Mibew root>
/configs/config.yml". If the "plugins" stucture looks likeplugins: []
it will become:plugins: "Mibew:AutoReply": # Plugin's configurations are described below wait_time: 180
-
Navigate to "
<Mibew Base URL>
/operator/plugin" page and enable the plugin.
Plugin's configurations
The plugin can be configured with values in "<Mibew root>
/configs/config.yml" file.
config.wait_time
Type: Integer
Default: 300
Specify time in seconds to wait before automatically reply.
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.