Setting up chat for guests

  • October 13, 2014

The first thing you'll need to do is add the code to your website.

<span style="line-height: 1.45em;"><script type="text/javascript">
    var ce = ce || {};
    ce.whoisonline = {
    	options: {
	    	enable_location: true,
	    	session_days: 5,
	        location_cookie_name: 'location_ipinfodb',
	        ipinfodb_key: '7e2a309e38180caf486102979fdd93a20cb2c5603b45448630f3ad860a2802f7',
        log : false
   ce.protocol = window.location.protocol;
<script src="//" type="text/javascript"></script><br></span>

This code is already included in ClientExec's customer (public) section. You only need to add it if you want to offer support chat elsewhere in your website, but note it will only work in pages under the same domain, subdomain and protocol (http or https) as where ClientExec is installed.

For your staff members to be available to chat, they will need to enable the chat plugin (instructions located here) and then chat the switch on Available to Chat? to the check mark.

Available to Chat Option

The chat window will appear on your website as a small bar, that expands into this.

Chat window on your site


If after closely following all the previous steps chat still isn't working for you, try the following workarounds:

  • The chat popup in your site (previous screenshot) isn't showing: try editing the file api/.htaccess, and change the last line to:
    RewriteRule ./ index.php [L]
  • Make sure your server isn't sending responses compressed through gzip. This is usually the case when using CPanel's "Optimize website" feature. You can either disable that feature, or try using the provided /htaccess.txt file (you'll need to rename it to .htaccess to enable it).
  • If you're using PHP through mod_fcgid then make sure you have this directive in your Apache config file (it can be put inside the virtualhost section corresponding to your Clientexec installation):
    FcgidOutputBufferSize 0

How helpful was this article to you?

Posting has been disabled.