ejabberd - Comments for "Check account exists" https://www.ejabberd.im/forum/28712/check-account-exists en how i can do user publish his https://www.ejabberd.im/forum/28712/check-account-exists#comment-67406 <p>how i can do user publish his vcard on create account?</p> Fri, 07 Apr 2017 15:19:22 +0000 mandado comment 67406 at https://www.ejabberd.im search in vcard requires https://www.ejabberd.im/forum/28712/check-account-exists#comment-67398 <p>search in vcard requires mod_vcard enabled, and requires that the user publishes his vcard</p> Mon, 03 Apr 2017 12:49:05 +0000 badlop comment 67398 at https://www.ejabberd.im search belongs to a v_card or https://www.ejabberd.im/forum/28712/check-account-exists#comment-67397 <p>search belongs to a v_card or is an separaed feature ?</p> Mon, 03 Apr 2017 12:36:46 +0000 mandado comment 67397 at https://www.ejabberd.im Account existence is https://www.ejabberd.im/forum/28712/check-account-exists#comment-67389 <p>Account existence is considered a private information, so in Jabber/XMPP it is NOT revealed if an account exists or not.</p> <p>There is an alternative, a trick: enable mod_vcard, enable search, and tell users to publish their vcard; then it is possible to search for those vcards.</p> Wed, 29 Mar 2017 09:53:49 +0000 badlop comment 67389 at https://www.ejabberd.im to search account needs https://www.ejabberd.im/forum/28712/check-account-exists#comment-67387 <p>to search account needs v_card enabled ?</p> Tue, 28 Mar 2017 14:11:34 +0000 mandado comment 67387 at https://www.ejabberd.im mod_vcard is disabled. https://www.ejabberd.im/forum/28712/check-account-exists#comment-67386 <p>mod_vcard is disabled.</p> Mon, 27 Mar 2017 19:12:58 +0000 mandado comment 67386 at https://www.ejabberd.im If the server has mod_vcard https://www.ejabberd.im/forum/28712/check-account-exists#comment-67384 <p>If the server has mod_vcard enabled, with the option search: true, and the account published his vCard, then you can search for it:</p> <div class="codeblock"><code>&lt;iq id=&#039;37:561031&#039; type=&#039;set&#039; to=&#039;vjud.localhost&#039;&gt;<br />&nbsp; &lt;query xmlns=&#039;jabber:iq:search&#039;&gt;<br />&nbsp;&nbsp;&nbsp; &lt;x type=&#039;submit&#039; xmlns=&#039;jabber:x:data&#039;&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;field var=&#039;user&#039;&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;value&gt;user2&lt;/value&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/field&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/x&gt;<br />&nbsp; &lt;/query&gt;<br />&lt;/iq&gt;</code></div> Mon, 27 Mar 2017 15:28:48 +0000 badlop comment 67384 at https://www.ejabberd.im