Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
So, there is a website with livehelpchat (http://chilihelp.ru). I use this manual to add additional variables to online visitors list:
https://livehelperchat.com/how-to-pass- … -302a.html
All fine but there is no data in interface. In filed Additional information i see null
Screen: http://joxi.ru/Dr8d69NFkMyjXr
So i try to print data from additional field parametr in online_user_info.tpl.php and see this:
{"name":"\u0413\u043e\u0441\u0442\u044c", "id":"0","email":"empty","0":"undefined","Array":"undefined","1":"undefined","2":"undefined","3":"undefined","4":"undefined",
"5":"undefined","6":"undefined","7":"undefined","8":"undefined",
"9":"undefined","10"
So JSON data contains my additional info, but corrupted. Whats wrong with it? How can i solved this problem?
Last edited by Kirill (2015-12-25 13:58:21)
Offline
Solve problem. This is livechat bug. Look at value of online_attr field in lh_chat_online_user table
Size varchar (250) its to smalll for such data. I change it to type Text and ots solve my problem.
Offline
But there are a lot of unused data in this array. I think its bug too
{
"name": "\u0413\u043e\u0441\u0442\u044c",
"id": "0",
"email": "empty",
"0": "undefined",
"Array": "undefined",
"1": "undefined",
"2": "undefined",
"3": "undefined",
"4": "undefined",
"5": "undefined",
"6": "undefined",
"7": "undefined",
"8": "undefined",
"9": "undefined",
"10": "undefined",
"11": "undefined",
"12": "undefined",
"13": "undefined",
"14": "undefined",
"15": "undefined",
"16": "undefined",
"17": "undefined",
"18": "undefined",
"19": "undefined",
"20": "undefined",
"21": "undefined",
"22": "undefined",
"23": "undefined",
"24": "undefined",
"25": "undefined",
"26": "undefined"
}
Offline
I see. I change that in a few minutes.
Offline