FAQ - Live Chat 3 with Cloud Chat 3

Live Chat 3 with Cloud Chat 3

12.02.2017 309


Live Chat 3 has been designed that it can be used with Live Chat PHP Server. For all Cloud Chat 3 (Live Chat PHP Server) customers an unlimited license is included within your license and Live Chat 3 can be used for offering advanced installations.

When you use Advanced installation and a customer of you signs up for access you will receive an email with instructions how to setup the customers personal Live Chat 3 solution on your server.

First create a sub domain or sub folder and a database on your server. Upload all the files and folders from the Live Chat 3 upload directory (the content not the upload folder itself). Now open the include/db.php file (originally called db.php.new) and enter all information from your database you have created before. Important here use the same password hash key as for your other installations.

The difference now starts from line 51 in your include/db.php file. The file is commented through so it should not be a problem.

// From here we go towards a hosted solution (Live Chat PHP Server), should you host this for your customer you might want to set some limitations.

// Database connection for the main site where user control is active when used with Live CHAT PHP Server on standalone ignore it.
define('JAKDB_MAIN_HOST', 'localhost'); // Database host ## Datenbank Server
define('JAKDB_MAIN_DBTYPE', 'mysql'); // Database host ## Datenbank Server
define('JAKDB_MAIN_PORT', 3306); // Enter the database port for your mysql server
define('JAKDB_MAIN_USER', ''); // Database user ## Datenbank Benutzername
define('JAKDB_MAIN_PASS', ''); // Database password ## Datenbank Passwort
define('JAKDB_MAIN_NAME', ''); // Database name ## Datenbank Name
define('JAKDB_MAIN_PREFIX', ''); // Database prefix use (a-z) and (_)

// Location ID as defined in your MAIN Database
define('JAK_MAIN_LOC', 1);

// jak hosting settings = $jakhs
$jakhs = array();

$jakhs['hostactive'] = 0; // 0 = No, all below will be ignored, 1 = Yes, all below will count.
$jakhs['operators'] = 5; // 0 = Unlimited, or any number for example 5, will allow to create 5 operators
$jakhs['departments'] = 5; // 0 = Unlimited, or any number for example 5, will allow to create 5 departments
$jakhs['chatwidgets'] = 2; // 0 = Unlimited, or any number for example 5, will allow to create 5 chat widgets
$jakhs['privateopchat'] = 0; // 0 = not available, 1 = available
$jakhs['publicopchat'] = 0; // 0 = not available, 1 = available
$jakhs['groupchat'] = 0; // 0 = not available, 1 = available
$jakhs['copyright'] = ''; // the copyright link/text e.g. Powered by Live Chat 3
$jakhs['files'] = 1; // 0 = not available, 1 = available
$jakhs['filetype'] = ".zip,.rar,.jpg,.jpeg,.png,.gif"; // files allowed to upload for client e.g. .zip,.rar,.jpg,.jpeg,.png,.gif
$jakhs['filetypeo'] = ".zip,.rar,.jpg,.jpeg,.png,.gif"; // files allowed to upload for operator e.g. .zip,.rar,.jpg,.jpeg,.png,.gif

You will need to enter the database information to your main administration site (where you manage your users) and activate the hostactive array.

$jakhs['hostactive'] = 1;

The rest should be fairly clear, just check the comments next to each variable.