Can we see some screenshots for the xwchat client?

A demo site would be fab too.

Comments

darren.ferguson’s picture

Will try and put together some screenshots for the actual client. Regarding a demo site we might have one but right now it is only for internal usage. Once we have more hardware we will look at setting up a demo site in order to play with the xwchat functionality.

darren.ferguson’s picture

StatusFileSize
new67.99 KB
new48.25 KB
new37.59 KB
new89.78 KB
new26.21 KB
new29.46 KB

Screen Shots of the XWChat Client

Flying Drupalist’s picture

Thanks for the screens. I assume once you're logged into drupal you're auto logged into xmpp server as well right?

darren.ferguson’s picture

You can be, once logged into Drupal it will either try automatically logging you into the xwchat client unless the drupal module admin setting is set too not do that.

We are looking to try and get a demo of the xwchat working and once it is up will post the pertinent information on it.

diegofd’s picture

But... now is there any way to launch the client inside Drupal? I've been trying and I didn't find the way.

matt.lutze’s picture

There's a block available called "XMPP_CLIENT: Chat Launch". The block has a button to launching the client. It's helpful when auto-launch isn't enabled.

It's part of the XMPP_Client module in the framework.

diegofd’s picture

I've enabled that block, but it just says "Configure Chat Client".
I think I've filled all the needed configuration textfields.

What is the minimum configuration needed?

Thanks and sorry :)

darren.ferguson’s picture

This means that in the edit user form you do not have a jid, password and probably resource set up.
If you go to the xmpp user module check if the provision xmpp accounts is actually checked if not check it and provide the xmpp domain and the framework will automatically provision the accounts in Drupal.

If you have this also and the password enabled portion it will store the password you utilize to log into Drupal with as your xmpp password if you are utilizing an ldap scenario where Drupal and you Jabber server are connected to the same ldap.

Once that is done, the configure client should disappear and a button stating login should be visible in the block.

diegofd’s picture

Thanks. I've configured everything as you said and now I can launch the client (I think the key was to enable the password field un the "edit user").

Now I have another problem: the client opens but it doesn't connect.

My ejabberd server is in foo.domain.com (on port 5222 with http-bind enabled in foo.domain.com/http-bind/) but the user's JIDs are user@bar.domain.com. Could this be a problem?

I've have this in the config fields:

XMPP Server: foo.domain.com (with foo.domain.com/http-bind/ also fails).
XMPP Port: 5222
Admin JID: admin
Admin JID Password: *******
Admin JID Server: bar.domain.com

In the "drupaladmin" "user edit" page I have:
JID: drupaladmin@bar.domain.com
Password: *********
Resource: Web

Is there anything missconfigured? Thanks!

darren.ferguson’s picture

If your ejabberd server does not support the domain then you will not be able to log in via that domain.

You would have to run an ejabberd vhost supporting foo.domain.com and bar.domain.com in order to allow this to work.

Also is your apache redirect set so that /http-bind/ is connecting too the :5280/http-bind/ on your ejabberd server?

brandon.dixon’s picture

What error message are you getting back when attempting to connect?

diegofd’s picture

I'm able to connect with a XMPP client (Pidgin) to the ejabberd server (foo.domain.com) using user@bar.domain.com.
I've http-bind module enabled in the port 5222.

Why I need a redirect? Can't the client connect directly to http://foo.domain.com:5222/http-bind/ ?

diegofd’s picture

I'm getting no message at all.

darren.ferguson’s picture

Redirect is needed because of cross site scripting check

Check the README in contrib/xmpp_client/xwchat/src it shall tell you exactly what is required.

Also http-bind will generally not be running on 5222 it will run on 7070 on OpenFire and 5280 on Ejabberd

ManyNancy’s picture

Is this using comet?

aaron’s picture

using ejabberd, i have http://xmpp.example.com:5280/http-bind/ as a 404 to begin with. anyone know how to configure the proper module in ejabberd to get that working?

aaron’s picture

For the record, you need to follow the instructions at http://www.ejabberd.im/jwchat-localserver if you're trying to configure ejabberd for http-bind.

darren.ferguson’s picture

Status: Active » Closed (fixed)
prhavile’s picture

Hi Darren

I have configured the xmpp with drupal but when i click on launchChat button the xwchat window opens but the user appears as offline always and it never changes.
can you help me with this issue? i'm trying it from last 2 weeks but haven't found any solution for it.

Thanks in advance.