[GLLUG] ejabberd - user list?

Richard Houser rick at divinesymphony.net
Wed Jul 4 15:02:13 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> ->> Perhaps your jabber client saves your added contacts to a file that it
>> ->> loads when you log in; if so, you could just make a file of all the
>> ->> contacts and have it appended into each user's individual contact
>> ->> list.
>> ->> 
>> ->> .02,
>> ->> Karl
> 
> Unfortunately it's not that easy.  I swear there is a way.  I remember reading something on jabber (mentioned here http://www.vanemery.com/Linux/Jabber/jabberd.html)
> 
> That suggests a module called JUD (jabber user Directory) - I ended up using ejabberd because I couldn't get jabberd to work.

JUD provides a user directory service where users can lookup the contact
information of other Jabber users.  You can check out an example by
browsing to users.jabber.org via Disco (ex. in Psi, use the service
discovery tool).  What you are trying to do doesn't really have anything
to do with JUD.

If I understand properly, you want to cross-populate the contact list
between all your users.  If you really want to do this and you are using
a database backend (which I recommend), you can probably just take the
server down (avoid doing something like this with an online server) and
cross-populate the contact lists with a single SQL statement.  I would
strongly reconsider before you attempt to get this behavior, however.
It goes against the expected behavior of an instant message client and
takes control away from the user.  Instead, you might want to consider
preloading only a few contacts by default and then instructing your
users on how to use JUD or some other search tool to lookup userIDs to
add as contacts.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFGi+6mUMkt1ZRwL1MRAuiAAKCt4b45sphBgFK07AO0eQHCaMr3FwCgnuaR
Pds9kwtCFJDefMoV+s4hkv8=
=Uued
-----END PGP SIGNATURE-----


More information about the linux-user mailing list