Author Topic: Run Mibew messanger at two website  (Read 5734 times)

0 Members and 2 Guests are viewing this topic.

solmaz

  • Full Member
  • ***
  • Posts: 7
Run Mibew messanger at two website
« on: August 05, 2017, 05:21:35 AM »
Hi every one
I want to know How can I use mibew in two website? I have two website and want to have one mibew messenger.
fallowing code is my generated code, this code just show button in first page of sites but it doesn't refrence to chat window. would you help me what is wrong??

<!-- mibew button --><a id="mibew-agent-button" href="http://10.10.12.31/mibew/chat?locale=fa" style="position: fixed;left: 2.5%;bottom: 2.5%;" target="_blank" onclick="Mibew.Objects.ChatPopups['597c70ff04a3d4c'].open();return false;"><img src="http://10.10.12.31/mibew/b?i=mibew&amp;lang=fa" border="0" alt=""></a><script type="text/javascript" src="http://10.10.12.31/mibew/js/compiled/chat_popup.js"></script><script type="text/javascript">Mibew.ChatPopup.init({"id":"597c70ff04a3d4c","url":"\/mibew\/chat?locale=fa","preferIFrame":true,"modSecurity":false,"width":640,"height":480,"resizable":true,"styleLoader":"\/mibew\/chat\/style\/popup"});</script><div id="mibew-invitation"></div><script type="text/javascript" src="http://10.10.12.31/mibew/js/compiled/widget.js"></script><script type="text/javascript">Mibew.Widget.init({"inviteStyle":"\/mibew\/styles\/invitations\/default\/invite.css","requestTimeout":10000,"requestURL":"\/mibew\/widget","locale":"fa","visitorCookieName":"MIBEW_VisitorID"})</script><script type="text/javascript">(function() {var img = document.getElementById("mibew-agent-button").getElementsByTagName("img")[0];var originalSrc = img.src;setInterval(function() {img.src = originalSrc + "&dummy=" + (new Date()).getTime();}, 3000);})();</script><!-- / mibew button -->


thanks in advance
Solmaz

solmaz

  • Full Member
  • ***
  • Posts: 7
Re: Run Mibew messanger at two website
« Reply #1 on: August 08, 2017, 05:29:10 AM »
on one answered me  :(
but I had solved my issue  :)
just by edditing url 8)