Bot Libre Dev Sign In : Sign Up

Live chat sometimes goes to menu page after first input

by barry.denson posted Feb 1, 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, 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: 175, today: 1, week: 3, month: 19

by barry.denson posted Feb 1, 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: 183, today: 0, week: 1, month: 16

by barry.denson posted Feb 1, 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: 175, today: 0, week: 1, month: 18

by barry.denson posted Feb 1, 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: 188, today: 0, week: 0, month: 17

by admin posted Feb 1, 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 support@botlibre.com
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: 183, today: 0, week: 0, month: 21

Id: 15342831
Posted: Feb 1, 6:25
Updated: Feb 1, 7:42
Replies: 5
Views: 195, today: 1, week: 7, month: 27
I'm sure