Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2014-10-20 19:16:15

pdiddy
Member
Registered: 2014-10-20
Posts: 5

Setting the "nick" option in LHCChatboxOptions still showing "visitor"

I was not able to find this topic already covered.

I have included the 'nick' option to default to the website's currently logged in username - variable 'name'. 

"var LHCChatboxOptions = {hashchatbox:'empty',identifier:'default',status_text:'Sales Manager','nick':name};"

I see it included in the lhcchatbox_iframe iframe src link '&nick=paul'

I see it in the script for the widget-chat body class  'parent.postMessage("lhc_chb:nick:paul", '*');'

However the value of "#CSChatNick" is still "Visitor_87".

Could someone please help out on this and let me know what I am missing. Thanks!

Offline

#2 2014-10-20 19:35:13

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Setting the "nick" option in LHCChatboxOptions still showing "visitor"

Once it's set it's used from user cookie variable. Clear cookies and try again. It remembers nick if it was set already.

Offline

#3 2014-10-20 19:43:40

pdiddy
Member
Registered: 2014-10-20
Posts: 5

Re: Setting the "nick" option in LHCChatboxOptions still showing "visitor"

Awesome! That did it. Thank you so much for the fast response too! Helped me out a ton!

Offline

Board footer