hello,
I want to know if it would be possible to change the ordering of the contact list.
Because now all the the contact is classified by alphabetical order, and I would like to classified the contact from the most connecting contact to the least.
have I to modified the ejabberd_web_admin.erl file ? or other ?
thanks
Paul ROUSSELIN
The contact list is ordered by your Jabber client
The contact list is ordered by your Jabber client, I guess. For example, some clients group the contacts by their status (online, away, busy).
contact list order
ok
Actually, now i have find a best solution, because we have install a vcard for each user, and i just have to increase an integer on the vcard in a new field.
The problem is that i am beginner in Erlang and i don t know how i can know if an user is connect or not. Because with my new appli ejabberd, when an user is getting connect, all the integer of the users is incrementing.
Have you an idee please ???
thanks,
Paul
Example function
This Erlang function will return true or false depending if a user in our ejabberd server is connected or not: