Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Thanks for the support. We are in the process of producing documentation and other help for a number of our more complicated modules, the XMPP Framework package included.
Familiarizing yourself with the basics of XMPP can help in the interim. A common starting point are the specification publications hosted by the XMPP Standards Foundation. The chapters on protocols, listed under "1.0 XMPP" may provide a suitable grounding, and exploring topics within the XMPP Extension Protocols list can provide further information.
We'll of course keep the ticket open and update here again when we can provide documentation.
Brandon, thanks for the offer, Matt will be getting some things together and then we can put out drafts and revisions to get the information out there. We are looking at doing screencasts so that we can show the users exactly what is occurring through each step.
Apologies for not getting back sooner, i was out of town on another project the last few weeks and have not done much Drupal dev since then.
Hi - don't see anywhere else to ask so am asking here. Can these modules be used to connect to Googles Talk XMPP server or do I need to have my own server set up?
I could ask google for the admin password, i suppose ....
I am not sure if you could link directly to Google, but you could setup your own servers and then use transports to link out to Google. Depending on the application I would say this is the preferred way considering the control you have over the chats even though their outside of your server realm.
Just recently started investigating the use of the XMPP Framework module as a method to send notifications (setup using the Notifications and Messaging modules) to users with XMPP accounts. Considering the lack of documentation on Drupal.org (and on the Internet as large, as far as I can tell), I was wondering if you could tell me if this module provides the functionality to send notifications to existing XMPP users on a server beyond my administration?
I was really hoping I could allow users of my Drupal site to subscribe to content and use a XMPP send method (provided by your module) to pass those notifications along to their existing Gtalk / Jabber accounts. I imagine you need to have a "bot" XMPP client connected to the module to make delivery of such messages possible, but I cannot figure out how to specify the "bot" account information, nor how to specify where the user supplies their XMPP resource information, in the module configuration pages.
Any light that can be shed on this would be great. If this functionality is not presently part of the XMPP Framework, I will most likely be learning the framework's API so I can write a contrib module to do just this. I imagine it is probably something that would be useful and desired by many Drupal users.
If you set up the XMPP API module then you might be able to send via a third party however normally it would log in via an admin account and send a 'headline' message so that you would know it came from the admin as a notification.
If you have your own xmpp server (ejabberd, openfire) it will work fine, never tested with gmail or any other ones so for the admin jid you could put in your own information for that one, then determine if it allows you sending headline messages if not then you might want to send a regular message.
Documentation is kinda bare at the moment but Matt is working on this for future releases.
Ah, so I would be best off using XMPP API module and hook into that to "login" as a normal Drupal-specific account on my XMPP server, if I wanted the message to look like a regular IM from another XMPP user?
I really don't think you can send headline messages to Gtalk accounts (which are my focus), since the Google clients do not support that method. This is why I figured sending the information as a regular IM message would be an option, because it would be something accessible to various non-standard XMPP implementations.
I haven't seen any documentation posted yet, so I decided to create my own.
Here is a complete right up (from start to finish) covering:
- Installing Openfire
- Testing Openfire
- Adding the proper modules for Drupal to chat
- Configuring Apache and other tweaks
- Testing the chat
Awesome!
Thank you for the walk through.
This is what I want to add to my site (still working on it). Unfortunately, I am total newbie to this. Will probably have to look for someone to do the job. I am on shared hosting (limited users) now, do you think I need a dedicated server to run both Openfire and my Drupal installation? I noticed that you don't suggest installing both Openfire and Drupal on the same server.
You could run them on the same server. I personally just like to have those sort of things decoupled just in case one goes down. I am of course using this in a more corporate production environment where downtime is not preferred and in most cases not tolerated. If you choose to do one server then some of the configuration options will change. Mostly in that you will not need to reverse proxy the chat presence or some other configurations. Other than a few minor tweaks (I can help you out if you need it) to the guide, you should be alright.
Comments
Comment #1
matt.lutze commented4vinoth,
Thanks for the support. We are in the process of producing documentation and other help for a number of our more complicated modules, the XMPP Framework package included.
Familiarizing yourself with the basics of XMPP can help in the interim. A common starting point are the specification publications hosted by the XMPP Standards Foundation. The chapters on protocols, listed under "1.0 XMPP" may provide a suitable grounding, and exploring topics within the XMPP Extension Protocols list can provide further information.
We'll of course keep the ticket open and update here again when we can provide documentation.
Comment #2
darren.ferguson commentedComment #3
brandon.dixon commentedIf you need any help with creating documentation then please let us know. I would be willing to put in some time on this project.
Comment #4
darren.ferguson commentedBrandon, thanks for the offer, Matt will be getting some things together and then we can put out drafts and revisions to get the information out there. We are looking at doing screencasts so that we can show the users exactly what is occurring through each step.
Apologies for not getting back sooner, i was out of town on another project the last few weeks and have not done much Drupal dev since then.
Comment #5
don@robertson.net.nz commentedHi - don't see anywhere else to ask so am asking here. Can these modules be used to connect to Googles Talk XMPP server or do I need to have my own server set up?
I could ask google for the admin password, i suppose ....
Comment #6
brandon.dixon commentedI am not sure if you could link directly to Google, but you could setup your own servers and then use transports to link out to Google. Depending on the application I would say this is the preferred way considering the control you have over the chats even though their outside of your server realm.
Comment #7
jmlane commentedJust recently started investigating the use of the XMPP Framework module as a method to send notifications (setup using the Notifications and Messaging modules) to users with XMPP accounts. Considering the lack of documentation on Drupal.org (and on the Internet as large, as far as I can tell), I was wondering if you could tell me if this module provides the functionality to send notifications to existing XMPP users on a server beyond my administration?
I was really hoping I could allow users of my Drupal site to subscribe to content and use a XMPP send method (provided by your module) to pass those notifications along to their existing Gtalk / Jabber accounts. I imagine you need to have a "bot" XMPP client connected to the module to make delivery of such messages possible, but I cannot figure out how to specify the "bot" account information, nor how to specify where the user supplies their XMPP resource information, in the module configuration pages.
Any light that can be shed on this would be great. If this functionality is not presently part of the XMPP Framework, I will most likely be learning the framework's API so I can write a contrib module to do just this. I imagine it is probably something that would be useful and desired by many Drupal users.
Comment #8
darren.ferguson commentedIf you set up the XMPP API module then you might be able to send via a third party however normally it would log in via an admin account and send a 'headline' message so that you would know it came from the admin as a notification.
If you have your own xmpp server (ejabberd, openfire) it will work fine, never tested with gmail or any other ones so for the admin jid you could put in your own information for that one, then determine if it allows you sending headline messages if not then you might want to send a regular message.
Documentation is kinda bare at the moment but Matt is working on this for future releases.
Comment #9
jmlane commentedAh, so I would be best off using XMPP API module and hook into that to "login" as a normal Drupal-specific account on my XMPP server, if I wanted the message to look like a regular IM from another XMPP user?
I really don't think you can send headline messages to Gtalk accounts (which are my focus), since the Google clients do not support that method. This is why I figured sending the information as a regular IM message would be an option, because it would be something accessible to various non-standard XMPP implementations.
Comment #10
brandon.dixon commentedI haven't seen any documentation posted yet, so I decided to create my own.
Here is a complete right up (from start to finish) covering:
- Installing Openfire
- Testing Openfire
- Adding the proper modules for Drupal to chat
- Configuring Apache and other tweaks
- Testing the chat
http://www.dueyesterday.net/node/36
I hope this helps someone out and if need be I can create a document for distribution.
Comment #11
mefisto75 commentedComment #12
mefisto75 commentedAwesome!
Thank you for the walk through.
This is what I want to add to my site (still working on it). Unfortunately, I am total newbie to this. Will probably have to look for someone to do the job. I am on shared hosting (limited users) now, do you think I need a dedicated server to run both Openfire and my Drupal installation? I noticed that you don't suggest installing both Openfire and Drupal on the same server.
Comment #13
brandon.dixon commentedYou could run them on the same server. I personally just like to have those sort of things decoupled just in case one goes down. I am of course using this in a more corporate production environment where downtime is not preferred and in most cases not tolerated. If you choose to do one server then some of the configuration options will change. Mostly in that you will not need to reverse proxy the chat presence or some other configurations. Other than a few minor tweaks (I can help you out if you need it) to the guide, you should be alright.