Live Agent installation instructions

Requirements

  • any platform that is able to run webserver+PHP (e.g. Apache, httpd.apache.org) and MySQL server
  • PHP 4.3.0 or higher
    homepage:php.net
  • MySQL 4.1 or higher
    homepage:mysql.com
  • Javascript enabled web browser
    - Firefox 1.0+ (as well as Mozilla)
    - Internet Explorer 6+
    - Opera 8.5+
    - Safari 2.x+
    - Konqueror 3.5+

Installation

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.

Running as Agent

Sign in as Agent/Admin
(You can use Admin account created during installation)

Application Configuration

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" ] - offline messages will be send to this email address

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,
);

How to Upgrade to newest version ?

  1. Download newest installation file from your members area (Memebers area)
  2. Make backup of your database and existing installation files (if something will go wrong, you can always get back to old release, which worked for you)
  3. Copy new files over existing. DON'T OVERWRITE CHAT IMAGES, LOGO IMAGES,... IF YOU HAVE CUSTOMIZED THEM
  4. Start update wizard
  5. You are ready.

How to integrate Live Agent to your website?

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

Need more help ? Contact Us!

Web: Create support ticket
Email: support@qualityunit.com.
We will try to answer every ticket within 24 hours (except weekends).