ChatBox is a simple chat plugin enabling website visitors to contact and chat with the support team of the website. In the absence of an operator online, the visitor is redirected to the website's contact form.
How to Use: 1. Create a new database.
2. Import the database schema from chatbox.sql.
3. Clone or download ChatBox.
4. Copy the ChatBox directory into the root folder of your webserver.
5. Create a `
6. Include jQuery library and load ChatBox into the above div.
7. Edit /chatbox/config.php
define('CB_HOME', "/path/to/chatbox/"); //replace with the path to the chatbox directory.
'host' => 'localhost',
'db_name' => 'chatbox',
'db_user' => 'root',... //replace accordingly with database and other parameters.
The admin panel will be available at http://path/to/chatbox/admin/
Settings such as the database name, user, password, welcome message for chats and link to the contact form can be customized in the config.php file.
The ChatBox's main theme color can be adjusted to suit the website by updating line 3 of the chatbox.css file with the preferred color/color code. e.g. `--main-bg-color: #18BA9B;`
A demo is available at: http://demo-piece-cool.ap-northeast-1.elasticbeanstalk.com:9090/chatbox/demo.html