skmaingi / xmpphp

0 stars 0 forks source link

Need a function to create brand new user #83

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using XMPPHP, try to create a brand new user who does not exist anywhere 
yet, and then be able to login to chat application as that newly created 
user.  There appears to be no 'newUser' or 'createUser' function, but one 
is needed.

What is the expected output? What do you see instead?
A newly created user appears straight away on the XMPP chat client 
application for users who are on the same server/domain.  This may possibly 
involve a 'friend request' for the newly created user to show up.

What version of the product are you using? On what operating system?
No idea of the version, the comment in the XMPP.php code says "$id$" where 
version should be.  Operating system is WinXP Pro with Linux shell for my 
php stuff.

Please provide any additional information below.
I want to be able to create a new user, not just add an existing user to a 
roster.  This means I would like a function where I supply everything like 
the username, email address, password, jid, etc. and get back a result of 
success or failure.  Success would mean I could then login to, say, 
GoogleTalk (or other XMPP chat app) with that newly created user.  For an 
example of what is needed, check the 'User Service' plugin within Openfire.  
Very simple creation of new user on a chat server.  This is different to 
XMPPHP's 'addContact' which appears merely to add an existing user to a 
roster.

Original issue reported on code.google.com by owen.sou...@gtempaccount.com on 15 Jan 2010 at 12:19

GoogleCodeExporter commented 8 years ago
Re. the 'expected output' question, let me clarify: What I wrote is what I 
would like 
to see happen.  What do I see instead, is not applicable, since there is no 
function in 
existence for this yet.

Original comment by owen.sou...@gtempaccount.com on 15 Jan 2010 at 12:21

GoogleCodeExporter commented 8 years ago
see also issue 64 re. account registration

Original comment by owen.sou...@gtempaccount.com on 18 Jan 2010 at 9:28