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

You are not logged in.

Announcement

#1 2022-01-03 11:49:37

daniele.dulisse
New member
Registered: 2022-01-03
Posts: 6

the time is displayed several times

is there a way to display the time only once?1641210549_lhc_image.png

Offline

#2 2022-01-03 12:12:14

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

Re: the time is displayed several times

This can happen only if you send a message with empty body. E.g from bot. So check your bot configuration.

Offline

#3 2022-01-03 13:23:18

daniele.dulisse
New member
Registered: 2022-01-03
Posts: 6

Re: the time is displayed several times

remdex wrote:

This can happen only if you send a message with empty body. E.g from bot. So check your bot configuration.

I'm sorry, but in my case this happens when I set a variable

Offline

#4 2022-01-04 06:01:22

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

Re: the time is displayed several times

Still way to little details to reproduce.

Offline

#5 2022-01-05 10:27:30

daniele.dulisse
New member
Registered: 2022-01-03
Posts: 6

Re: the time is displayed several times

remdex wrote:

Still way to little details to reproduce.


for example in this case:

[== PHP ==]
J[Warning] [default] [default] Array
(
    [0] => Array
        (
            [id] => 2475
            [msg] => 
            [meta_msg] => {"content":{"execute_js":{"chat_emit":"attr_rem","ext_args":"{\"attr\":[\"chat_ui\",\"survey_id\"]}"}}}
            [time] => 1641375328
            [chat_id] => 169
            [user_id] => -2
            [name_support] => Supporto live
        )

    [1] => Array
        (
            [id] => 2476
            [msg] => 
            [meta_msg] => {"content":{"quick_replies":[{"_id":"lTm7rY9Jr","type":"trigger","content":{"name":"Voglio entrare in chat!","payload":"57"}},{"_id":"5B7hd76gI","type":"trigger","content":{"name":"Richiamami","payload":"97"}}],"attr_options":{"hide_text_area":true}}}
            [time] => 1641375329
            [chat_id] => 169
            [user_id] => -2
            [name_support] => Supporto live
        )

)

prints two lines, but first line is empty, instead second line are buttons

Offline

#6 2022-01-05 10:28:38

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

Re: the time is displayed several times

Hi,
That's more clear I'll try. But what version you are using?

Offline

#7 2022-01-05 10:37:38

daniele.dulisse
New member
Registered: 2022-01-03
Posts: 6

Re: the time is displayed several times

remdex wrote:

Hi,
That's more clear I'll try. But what version you are using?

Version 3.91

Offline

#8 2022-01-05 10:38:16

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

Re: the time is displayed several times

ok,
I'll let you know once I test/fix today or tomorrow.

Offline

#9 2022-01-05 11:30:57

daniele.dulisse
New member
Registered: 2022-01-03
Posts: 6

Re: the time is displayed several times

remdex wrote:

ok,
I'll let you know once I test/fix today or tomorrow.

thanks a lot

Offline

#10 2022-01-05 13:49:55

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

Re: the time is displayed several times

Sorry, but I can't reproduce either way. Send full dump of a chat from lh_msg table. I have suspicious you are not on 3.91v or you have overridden some template as this scenario is taken care here
https://github.com/LiveHelperChat/liveh … pl.php#L26

Make sure you are executing same content.

Offline

Board footer