How can I get all the online users?

Hi

I want to display all the online users of openfire in my own web,

plz tell me how can i get these users?

Is the smack helpfull for me?

Thanks for your help!

Hey wdz1985826,

For security reasons Openfire does not expose the list of users nor their presences. However, if you already know the list of users you can use the presence plugin to find out the presence of the users. You can configure the plugin to let anyone discover the presence of any other user.

Regards,

– Gato

Hi dombiak_gaston,

Thanks for your help. I know the presence plugin can find out the presence of the users.

But i want to get the list of all the online users in my own web.

The presence plugin can not resolve this problem.

Plz give me a solution.

Thanks

Hi,

The thread is old, but I created a Plugin for that:

See here:

https://github.com/amiadogroup/onlineUsersPlugin

Jar is in the bin-directory.

Cheers,

Michael

Hi,

i can download onlineUsersPlugin? it´s no longer available in that url.

Thanks!!

https://github.com/candy-chat/onlineUsersPlugin seems to be the new location.

1 Like

Correct