Setting up chat for guests
The first thing you'll need to do is add the code to your website.
Remember to change the url to point towards your Clientexec.
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.
The chat window will appear on your website as a small bar, that expands into this.
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
<script type="text/javascript">
var ce = ce || {};
ce.whoisonline = {
options: {
enable_location: true,
session_days: 5,
hide_chat:false,
location_cookie_name: 'location_ipinfodb',
ipinfodb_key: '7e2a309e38180caf486102979fdd93a20cb2c5603b45448630f3ad860a2802f7',
},
log : false
}
ce.protocol = window.location.protocol;
</script>
<script src="//www.yourdomain.com/members/plugins/dashboard/livevisitor/chat/track.php" type="text/javascript"></script>
Remember to change the url to point towards your Clientexec.
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.
The chat window will appear on your website as a small bar, that expands into this.
Troubleshooting
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
Updated on: 08/05/2024
Thank you!