Fork me on GitHub
Current Releases are 2.1 stable (major release) and (security patch for 2.0)
We've also rebooted our GitHub repo, docs, and more!

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

edited November 2011 in Questions
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.