Please upgrade to 2.2 here.
The 2.0 and 2.1 branches are no longer being updated.
[Solved] How to add an user to the vanilla user table in db using external code?
i have these scenario --
using vanilla v2.0.9
1) I have a site with its own membership system with its own registration and management
2) I have installed vanilla into another database (I can't merge both db into one)
3) I want to be able to add an user to vanilla user table as soon as an user registers to my site
I can add the user info at the vanilla table + add a default role. What i can't do is set password with proper encryption.
Is there any function that can take the password string and return me the proper encrypted password valid for vanilla?
or is there any user manager manager class that can accept parameters like username, email, password, etc. and create the user for me?