powered by Jive Software

Online users list


First, I apologize if this has been asked before. I tried to look for it, but didn’'t find anything.

I have an “isolated” Wildfire server; that is, it doesn’'t communicate with other Jabber servers. My accounts come from an LDAP server.

I’'d like to have a web page, accessible to everyone, with the list of currently online users (IDs, and possibly usernames). Is there an easy way to do it?

The “presence” plugin allows one to see if a particular user is online. But I don’'t think that doing >2000 queries every 5 minutes is a good idea.

Any ideas?

Thanks in advance.

I’'d probably just write a simple php/perl script to query the database.

Unfortunately, the database doesn’‘t store that sort of information. However, you could write a plugin that uses the existing Client Sessions page as a starting point. The plugin would be pretty basic and probably wouldn’'t take more than an hour to write. If you decide to go the plugin route and need some help let me know.



Hi Ryan,

I wonder if the existing /user-summary.jsp wouldn’'t be the better page. For one who did never write JSPs it will anyhow be a littel bit tricky to remove the header and menu. There could be some more interested users (:


Hey guys,

Another way you can get that information and integrate it with some other application is by using ad-hoc commands. Wildfire already has support for some service administration commands as described in url=http://www.jabber.org/jeps/jep-0133.htmlJEP-0133: Service Administration[/url]. The command you would need to use is url=http://www.jabber.org/jeps/jep-0133.html#get-active-users-listGet List of Active Users[/url]. The command will return the raw data that you can use to fill your JSP page.


– Gato