欢迎有此问题或者已经解决的兄弟姐妹们,来此讨论一下吧,这个问题太腻歪人了。 :)作者: 成天不吃饭 时间: 2007-10-11 16:18
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:
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...
News group response message:
First of all, you should be using jabber:data forms to extend in-band
registration - jabber:iq:register schema is fixed and not extensible.
Secondly - jabberd 2.1 does not support this.
But then - the whole in-band registration (jabber:iq:register) is frown
and there is a tendency to recommend out of band (jabberb)
registration (via a web page, etc.), and this is supported by jabberd as
of 2.1.9.
--
/\_./o__ Tomasz Sterna
(/^/(_^^' Xiaoka.com
._.(_.)_ XMPP: smoku@xiaoka.com作者: 成天不吃饭 时间: 2007-10-11 16:46
First of all, you should be using jabber:x:data forms to extend in-band
registration - jabber:iq:register schema is fixed and not extensible.
Secondly - jabberd 2.1 does not support this. ;-)
But then - the whole in-band registration (jabber:iq:register) is frown
and there is a tendency to recommend out of band (jabber:x:oob)
registration (via a web page, etc.), and this is supported by jabberd as
of 2.1.9.
--
/\_./o__ Tomasz Sterna
(/^/(_^^' Xiaoka.com
._.(_.)_ XMPP: smoku@xiaoka.com