| homepage: | php.net |
| homepage: | mysql.com |
1.Create directory in your server's public html directory. (we will use 'liveagent' directory as an example)
2.Copy content of liveagent_X.X.X.zip to 'liveagent' directory
3.You should create the database and database user with mysql shell by executing the sql commands below:
CREATE DATABASE database_name DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; GRANT ALL PRIVILEGES ON database_name.* TO database_user@localhost IDENTIFIED BY "database_password" WITH GRANT OPTION;
Customize it to match your database_name, database_user, and database_password.
You could also use some MySql administration tool (such as phpMyAdmin or CPanel) to perform this step in more user-friendly way.
4.Start installer and complete all steps.
Sign in as Agent/Admin
(You can use Admin account created during installation)
Please edit file {your www root}/liveagent/chatserver/settings/qunit_chat.php to setup configuration of email system to enable offline message support.
mail_offlineMessageTo - ["Name"
mail_useSmtp - [true/false] set to false to use sendmail email system. In this case you can ignore all smpt parameters. Use tru if you want to use your SMTP to send emails.
mail_userAgent - [string] - optional. if set, this string will be used as User-Agent: email header
$p = array( 'mail_offlineMessageTo' => '"SupportChat" <support@example.com>', 'mail_useSmtp' => true, 'mail_smtp_host' => 'localhost', 'mail_smtp_port' => '25', 'mail_smtp_enableAuth' => false, 'mail_smtp_enableSsl' => false, 'mail_smtp_username' => '', 'mail_smtp_password' => '', 'mail_userAgent' => null, );
This is very simple. :-)
Add following html code to your website (yourdomain.com/liveagent as an example):
<script type="text/javascript" src="http://yourdomain.com/liveagent/chatserver/track.php"></script> <div> <a onclick="cs_100.open(); return false" target="_blank"> <img class="cs_100" src="http://yourdomain.com/liveagent/chatserver/button.php" alt="LiveHelp Button"/> </a> </div>
You can use any online/offline buttons images, you can change it if you replace files
{your www root}/liveagent/chatserver/img/en/online.gif
{your www root}/liveagent/chatserver/img/en/offline.gif
Web: Create support ticket
Email: support@qualityunit.com.
We will try to answer every ticket within 24 hours (except weekends).