Jabber integrates Drupal with XMPP (jabber) chat. The module enables it so any username anywhere on the site will turn green, grey or red reflecting their jabber status. The module integrates your roster with Organic Groups, and your regular instant messenger roster list. The module preserves chats, and chat history between your drupal page loads. The readme is below.
http://drupal.org/project/jabber README.txt ---------------
The Jabber Module integrates Drupal with any xmpp service. Whether you want to integrate with Google Talk as we do at Babson College or with AIM, or any other instant messenger service that uses XMPP, Droogle will integrate your users to enable XMPP communication on your Drupal site. The module will create a roster ("friends list") from your current friends list for your JID you sign in with, and as well it will construct a list from the organic groups you are a member of within your Drupal installation. If you are authorized to speak with the Jids in your list the names will turn grey, green or red if the person is afk, available or away respectively. At Babson we use Google for education and there is a setting so users in your domain do not need authorization to chat.
1.) Install Jabber like any other Drupal module, Put the jabber module in your modules folder and then enable the module in admin/build/modules (or preferably use drush to download and enable your module :)
2.) In admin/settings/jabber set the profile field where jabber will pull user's google passwords from.
3.)In admin/user/profile configure the profile field you named in the above step.
4.) Realize Jabber will be pulling your user's JIDs from the standard Drupal email address field associated with each user's profile. So on GTalk my username (jid) might be firstname.lastname@example.org or on AIM email@example.com so then my Drupal email address would have to be one of these usernames (jids) and then I would need to input my Google password into the profile field configured above for my user.
5.5.) Enable the 2 jabber blocks on any page(s) of your site you like (probably within the organic groups context? or on a user profile page?). The 2 blocks are named the Jabber Block and Jabber Chat Block, and the first shows your roster, and the 2nd is the chat area itself. Both must be enabled on the same page to function together.
5.7.) Also there is a page called at /jabber which I've used for testing but could be used if you like as the main chat page for the user.
5.9.) FYI you can enable presense anywhere a username shows up on your site by wrapping it like this:John Dov
The jid (username/email address) of the user must have the dashes instead of the firstname.lastname@example.org format as you see above when constructing the class name. Then if jabber is enabled on that page with the jabber blocks being present, then the username will turn green, red, or grey no matter where it is on the page. 6.) I fully intend to support this module, and be in touch with any questions. Also checkout the Droogle module which integrates Drupal with Google Docs (Google Drive as its now called) and Droogle comes with backend APIs to manage Google users.