Again i said IJAB , issue in the use of variable http_bind:"/http-
bind/" of jajc, sthropejs use http_bind:"http:/domain:7070/http-
bind/", that create a POST like http://domain:7070/http-bind , that's
work in openfire but ijab using http:/domain:7070/http-bind/ ajax
stop and dont create the packet..
Using a same server for host OPENFIRE, APACHE , AND files IJAB, the
modules rewrite (mod_rewrite) or proxy (mod_proxy) dont work.
Remember the use of file directory in ejabberd, we need create a
fileserver in openfire for host ijab files, this way create packets
post http://domain:7070/http-bind.
Can i wrong, but still waiting a good support about this. for the
moment that is a easy way.
For people tire of bad support from people at use free soft and forget
forever, next a Easy Tutorial for install ijab 1.0 beta2 +Openfire
3.6.4+IE8 (Whithout apache)
1. Install Openfire 3.6.4 http://www.igniterealtime.org/downloads/index.jsp#openfire
a. httpbind.enabled true
b. xmpp.httpbind.client.requests.wait 20 ; or hand off quick the
conecction.
2.Install Plugin red5 in openfire http://www.igniterealtime.org/projects/openfire/plugins-beta.jsp
a.copy .war in folder plugins and open html administrator
3. copy and paste ijab files in directory red5 from
http://ijab.googlecode.com/files/ijab-1.0-beta2.zip
a. look like yourpathopenfire\plugins\red5\ijab
4. conf ijab.config
domain:"yordomain.com",
http_bind:"/http-bind/",
host:"yordomain.com",
port:5222,
server_type:"openfire",
5. Enjoy in http://yourdomain:7070/red5/ijab
Posdata:
People need autologin?
in IE dont work metod onload in body.
i found a nice code and modify for use variables GET and autologin.
code here
<script type="text/javascript">
var vars = [];
var hash = [];
var userNameg = "";
var passwordg = "";
var hashes =
window.location.href.slice(window.location.href.indexOf('?') +
1).split('&');
for(var i = 0; i < hashes.length; i++)
{
hash = hashes[i].split('=');
if (hash[0] == 'username'){userNameg = hash[1];}
else if(hash[0] == 'password'){passwordg = hash[1];}
}
function login()
{
iJab.login(userNameg,passwordg);
}
function wait_for_script_load(look_for, callback) {
var interval = setInterval(function() {
if (eval("typeof " + look_for) != 'undefined') {
clearInterval(interval);
callback();
}
}, 3000); //better use 3 seconds
}
function onloadInit()
{
wait_for_script_load( 'iJab.login', login );
}
</script>
<body style="overflow: hidden;" onload="onloadInit()"> <!-- add in
body -->
anyway that solution is not good , because you need a iframe for
include in your webpage.
Good Luke.
--
You received this message because you are subscribed to the Google Groups "ijab group" group.
To post to this group, send email to ijab-...@googlegroups.com.
To unsubscribe from this group, send email to ijab-group+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ijab-group?hl=en.