New version 1.31v, send mail to user directly and dynamic widgets height.

Last modification: 2013-04-27 09:58:25

Hi, new version. This version brings enchanced usability and one new feature

Feature release:

  • Option to pass custom argument for chat, these arguments will be visible in chat form
    Example:
    <script type="text/javascript">
    var LHCChatOptions = {};
    LHCChatOptions.attr = new Array();
    LHCChatOptions.attr.push({'name':'Basket id','value':'<predefined value>','type':'text','size':12}); // 12 is 100% full row, 6 is 50%
    LHCChatOptions.attr.push({'name':'User ID','value':'<predefined value>','type':'hidden','size':0}); // hidden is invisible field, size just zero
    (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'http://<some_domain>/index.php/chat/getstatus/(position)/middle_right';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
    })();
    </script>
  • Option to prefill some form attributes in javascript
    <script type="text/javascript">
    LHCChatOptions.attr_prefill = new Array();
    LHCChatOptions.attr_prefill.push({'name':'email','value':'remdex@gmail.com'});
    LHCChatOptions.attr_prefill.push({'name':'phone','value':'370888888'});
    LHCChatOptions.attr_prefill.push({'name':'username','value':'Remigijus Kiminas'});
    (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'http://<some_domain>/index.php/chat/getstatus/(position)/middle_right';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
    })();
    </script>
  • Option to configure chat popup window width and height, same for chat widget also.
  • Send mail to user, let say you have missed chat. But still you want to responde to user. So with this feature you will be able to do so.
  • Dynamic widgets height and width, this will allow to fit content dynamically/ so even more improved usability.
  • Improved compatibility with IE8

execute doc/update_db/update_21.sql and follow standard upgrade instructions

Demo was updated. Please checkout. I ques the most usefull thing is dynamic widget height. Don't forget to donate :)