Author Topic: Button on different server?  (Read 7942 times)

0 Members and 1 Guest are viewing this topic.

indigo_papa

  • Jr. Member
  • **
  • Posts: 2
Button on different server?
« on: February 18, 2012, 06:37:43 PM »
Hello,

Is it possible to have the chat button on a different server than Mibew is installed on?  If so, how would the button code need to be modified?

Thanks!

benstewrt

  • Jr. Member
  • **
  • Posts: 1
Re: Button on different server?
« Reply #1 on: February 22, 2012, 11:05:43 AM »
Searching for the solution since long while. Do remember to post the solution.


 vpn iphone

ddastoor

  • Full Member
  • ***
  • Posts: 9
Re: Button on different server?
« Reply #2 on: February 23, 2012, 12:17:19 AM »
yes of course you can  ;)

you just need to add the domain/ip of the hosted server where mibew is located.

<a href="http://YOURDOMAINHERE/webim/client.php?locale=en" target="_blank" onclick="if(navigator.userAgent.toLowerCase().indexOf('opera') != -1 &amp;&amp; window.event.preventDefault) window.event.preventDefault();this.newWindow = window.open('http://YOURDOMAINHERE/webim/client.php?locale=en&amp;url='+escape(document.location.href)+'&amp;referrer='+escape(document.referrer), 'webim', 'toolbar=0,scrollbars=0,location=0,status=1,menubar=0,width=640,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;">Chat with us online</a>


Dmitriy Simushev

  • Moderator
  • Native
  • *****
  • Posts: 345
Re: Button on different server?
« Reply #3 on: February 23, 2012, 10:01:07 AM »
Hi
To install button on other server just set the "Include host name into the code" checkbox checked before generating button.

Dmitriy Simushev