更に当社の商用サービス Bot Libre for Business$4.99
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: 1391, today: 0, week: 0, month: 17

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: 1351, today: 0, week: 1, month: 17

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: 1401, today: 0, week: 1, month: 18

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: 1417, today: 0, week: 2, month: 18

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: 1497, today: 0, week: 1, month: 19

Id: 15342831
掲載: Feb 1 2017, 6:25
更新: Feb 1 2017, 7:42
回答: 5
眺望: 1527, 今日の: 1, 週間: 3, 月: 21
0 0 0.0/5