Hi I try to insert my existing users to databese with this code:
In PHPmyAdmin
INSERT INTO elggusers_entity (guid, name, username, password, email, banned, prev_last_action, last_login, prev_last_login)
VALUE('1003','Johnny','john', '5e6b0666320d89ecf45cbcc6d901bd70', 'john@domain.de', 'no', 0, 0, 0)
It works but I get the error when I try to login on my page with john
We couldn't log you in. This may be because you haven't validated your account yet, the details you supplied were incorrect, or you have made too many incorrect login attempts. Make sure your details are correct and please try again.
Any Ideas why?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
So I quit here. My community start is in 1 week. I will do it manualy.
Thanks for Help.
@ codebrane - thanks - i'll check this out!
Dhrup,
Been reading this post and it looks like what im trying to do.
Im trying to add users from another site to elgg.
So i need to make a API call to elgg and pass it the parameters to invoke user registration.
Can u point me in the right direction. Do you have code that works for this.
Plan was to pass http://www.mysite.com/pg/api/api/php?username=sajiv&password=test&email=sajiv@ccc.com so elgg should register the user.
Please help me.
- Previous
- 1
- 2
- Next
You must log in to post replies.