[jdev] How to add new field in Jabberd2 register ?

James Li jabberd2 at gmail.com
Wed Oct 10 21:16:20 CDT 2007


Hi All,
I has using Jabberd2 server,the version detail is jabberd 2.1.7,
when I try to register new user, the server response required fields,
example:

Client->Server(Query):
<iq id='uid1' type='get'>
<query xmlns='jabber:iq:register'/>
</iq>

Server->Client(RESPONSE):
<iq xmlns='jabber:client' id='uid1' type='result'>
<query xmlns='jabber:iq:register'>
<username/><password/><instructions>Enter a username and password to
register with this server.</instructions>
</query>
</iq>

If I want to add new field, such as 'nick' or 'email',How to do it?
Thanks everybody... :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20071011/49385bbf/attachment-0002.htm>


More information about the JDev mailing list