I have Vcards published for each user, and shared roster memberships configured. I would like the client roster lists to show the user nickname instead of the complete JID. Is this possible?
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
I have Vcards published for each user, and shared roster memberships configured. I would like the client roster lists to show the user nickname instead of the complete JID. Is this possible?
Working now, but need more help
I still need some help. I figured out how to use Nicknames when available, then the JID if not, by using thediff offered by Badlop. I made the changes required to the original ERL file, then recompiled it and loaded it to the server, and bingo it worked like a charm.
HOWEVER, now I am wondering if it is possible to add Nicknames/vCards through the Admin interface or other utility, instead of just through the client like I am using now.
Any help is appreciated. TIA
Try mod_ctlextra
I am wondering if it is possible to add Nicknames/vCards through the Admin interface or other utility, instead of just through the client like I am using now.
You can trymod_ctlextra for any ejabberd 2.0.x versions, or mod_admin_extra if you run ejabberd trunk SVN. They provide a command to set some vcard fields. You can use that command from the system shell.
If you want to execute those commands from WebAdmin instead of a system shell, you can additionally installmod_shcommands
Sorry to bump an old thread.
Sorry to bump an old thread. If you're still around, could you explain how you applied the patch? Or perhaps provide the patched mod_shared_roster.beam file?
edit: Sorry, I got it working. I was getting a bunch of compile errors when I applied the patch the first time around. I scrapped that and applied the patch to the back-up original of the .erl file, and that one compiled no problem.