There is a free documentation you can consult here: https://doc.livehelperchat.com/
]]>I tried all possible alternatives / interpretations of documentation with no success.
(not all together like in the code here below of course)
I added also Additional variable like the example in this page. and like the placeholder suggests
javascript variable name: window.lhc_var.usernamepassing
variable name: nick
variable identifier: lhc.nick
The Nickname in columns appear just as "Visitor" in chat or "V1234" in online users list, whatever I do.
if (typeof lhc_var === 'undefined') { // This variable has to be defined before Live Helper Chat embed script.
window.lhc_var = {}; // Window is required to define variable in global scope
};
lhc_var.usernamepassing = 'myCustomNickname';
lhc_var.nick = 'myCustomNickname';
lhc_var.gender = 'myCustomNickname';
var LHC_API = LHC_API||{};
LHC_API.args = {lhc_var:{nick:'myCustomNickname'},mode:'widget',lhc_base_url:'//collantlover.it/chat/index.php/',wheight:450,wwidth:350,pheight:520,pwidth:500,leaveamessage:true,check_messages:false,lang:'ita/'};
lhc_var.usernamepassing = 'myCustomNickname';
lhc_var.nick = 'myCustomNickname';
lhc_var.gender = 'myCustomNickname';
(function() {
lhc_var.usernamepassing = 'myCustomNickname';
lhc_var.nick = 'myCustomNickname';
lhc_var.gender = 'myCustomNickname';
var po = document.createElement('script'); po.type = 'text/javascript'; po.setAttribute('crossorigin','anonymous'); po.async = true;
var date = new Date();po.src = '//collantlover.it/chat/design/defaulttheme/js/widgetv2/index.js?'+(""+date.getFullYear() + date.getMonth() + date.getDate());
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
If I run the following console commands
> lhc_var.nick returns
> LHC_API.args.lhc_var.nick
I GET "myCustomNickname" both times byt in online visitors list or chat list I always get "Visitor"
I tried also passing lhc_var.gender but nothing changed
I do not know what to do anymore.
I'll give up.
]]>You can monitor if has been released (on next days) new fix and commit for this new version here:
https://github.com/LiveHelperChat/liveh … its/master
where you can see new commits.
Upgrading - general tutorial
Is strongly suggested to do always a full folder/files and database backup before upgrading.
If you want stay updated subscribe to the Announcement section.
]]>You can monitor if has been released (on next days) new fix and commit for this new version here:
https://github.com/LiveHelperChat/liveh … its/master
where you can see new commits.
Upgrading - general tutorial
Is strongly suggested to do always a full folder/files and database backup before upgrading.
If you want stay updated subscribe to the Announcement section.
]]>Custom font for widget can be used using widget themes https://doc.livehelperchat.com/docs/the … ing-window custom CSS section.
]]>