Fork me on GitHub
Current releases are 2.1.1 (2 Aug 2014) and (5 Aug 2014)
Ready for 2.1? Find out if your favorite plugins are compatible.
The 2.0 branch will no longer receive updates after Dec 2014.

[Solved] How to add an user to the vanilla user table in db using external code?

edited November 2011 in Vanilla 2.0 Help
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?

Please help!



Sign In or Register to comment.