Jappix MiniChat with Openfire

Modify OPENFIRE_HOME/plugins/jappix/php/read-hosts.php

define(‘HOST_BOSH’, ‘/http-bind/’);

change it to

define(‘HOST_BOSH’, 'http://afreetech:7070/http-bind/');:wink:

Also make sure you are using Openfire 3.8.x which supports CORS for cross domain posting

Thank u very much!! A dream became true!! lool Ok now I will try on jappix how to maanage the freind request.

Once again thank u

Dele,

I am not sure on limitation we are having with Openfire 3.8.1. However I have installed Jappix mini with Prosody XMPP. I want my webpage to main page while Chat is additional service Here I have just added jappix mini Javascript to my webpage instead of calling minichat.html via Iframe, it works well with prosody xmpp. I mean it retains the session & discussion when we navigate from one page to other page on website. Howeve with Openfire, it looses it connection & reconnects as we include them via Iframe.

A website refresh, refreshes iframe callling jappix mini URL hence users loses his discussion.

I am not sure how Openfire can improver here. Rest of all feature in Openfire are really good compared to Prosody.

Not sure it designed to work that way. Openfire BOSH was designed to support the HTML version of SparkWeb which is a single page application.

What happens when an XMPP message arrives while you are switching pages ??