LiveChat Customization
-
Hi guys,
I’m giving support to a wordpress site and they use your plugin. They just asked me to disable the sound that livechat makes when a support person is online nad the livechat window opens.
I talked to support and gave me the next script:Mute the Livechat sounds II Irena Itskova<[email protected]> Responder| Ayer, 02:03 PM Usted I tried to mute the sounds from LiveChat for visitors and got this code from the support team to be inserted in stead of the old one: <!-- Start of LiveChat (www.livechatinc.com) code --> <script type="text/javascript"> window.__lc = window.__lc || {}; window.__lc.license = {$licence}; var LC_API = LC_API || {}; LC_API.on_after_load = function(){ LC_API.disable_sounds(); }; (function() { var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true; lc.src = ('https:' == document.location.protocol ? 'https://' : 'https://') + 'cdn.livechatinc.com/staging/tracking.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s); })(); </script> <!-- End of LiveChat code -->
I would suggest you to add a control panel to be able to customize some variables like this one.
I already went to your TrackingCodeHelper.class.php file and added that LC_API variable and the on_after_load method to disable the sound
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘LiveChat Customization’ is closed to new replies.