Обновление Platinum сервис и сделать свой собственный дизайн 3D аватар
Bot Libre Dev

Live chat sometimes goes to menu page after first input

по barry.denson опубликовано Feb 1 2017, 6:25

When I open a chat window and type something it just closes the window and opens the Search Live Chat Channels page. It seems it is losing the channel id?

Any suggestions?


by admin posted Feb 1 2017, 7:47
What URL/channel are you using? Are you embedding on your own website, or using an app, or using botlibre.com?

What web browser are you using?

I don't see how this is possible, as sending a chat message is done in JavaScript, and does not refresh the page. My guess is you have JavaScript disabled in your browser, or some error is occurring so none of the scripts are running, and you get the input's default submit.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1279, today: 1, week: 1, month: 9

by barry.denson posted Feb 1 2017, 8:18

this is my embed code:

 

<script>
function popupwindow(url, title, w, h) {
var left = (screen.width/2)-(w/2);
var top = 100;
window.open(url, title, 'scrollbars=yes, resizable=yes, toolbar=no, location=no, directories=no, status=no, menubar=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
return false;
}
</script>
<form onsubmit="popupwindow('http://www.botlibre.com/livechat?embedded=true&id=15334181&chat=true&application=5157353878745195105&background=%23fff&prompt=You+say&send=Send', 'child', 500, 700); return false;">
<input class="chat" style="
color:#fff;
background-color:#004990;
cursor: pointer;
font: 13px/30px Arial, Helvetica, sans-serif;
height: 40px;
border: 0;
padding: 0 10px;
margin: 10px 10px 0 0;
font-weight:bold;
float: left;"
type="submit" name="chat" value="Live Technical Support">
</form>

Having looked again, the popup chat window doesn't display info such as the number of operators free etc. It also has sign in links at the top which I don't want.

 

 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1244, today: 0, week: 0, month: 7

by barry.denson posted Feb 1 2017, 8:20

I am using Google Chrome (V 55.0.2883.87 m 64 bit) with javascript enabled


Thumbs up: 1, thumbs down: 0, stars: 5.0
Views: 1294, today: 0, week: 0, month: 10

by barry.denson posted Feb 1 2017, 8:22

After typing a message, the windows url becomes http://www.botlibre.com/livechat?input=hello&submit=Send


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1303, today: 0, week: 0, month: 7

by admin posted Feb 1 2017, 10:57
I tested the URL you are opening,

http://www.botlibre.com/livechat?embedded=true&id=15334181&chat=true&application=5157353878745195105&background=%23fff&prompt=You+say&send=Send

and it works fine in Chrome, and Firefox.

Perhaps send a screen shot or video of what you are seeing to [email protected]
Also, in your browser show the dev console and check for any errors in the log.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1389, today: 0, week: 0, month: 6

Идентификатор: 15342831
Опубликовано: Feb 1 2017, 6:25
Обновлено: Feb 1 2017, 7:42
Ответы: 5
Вид: 1412, сегодня: 1, неделю: 1, месяц: 9
0 0 0.0/5