Is there any way I can make my script insert the user information into the Vanilla database? I use PHP. I also want to know if it is possible to put the login sessions and cookies into my login script so that when they log into the site, they are automatically logged into the forum.
It pretty much just involves the use of classes and functions in PHP. Take a look through the people libraries and you should be able to work out what you need to call to make vanilla log a user in. I think other people on the board have done it and written about it briefly.
It's all about the authenticator class. In fact, you don't need to insert data in Vanilla's db, but remap some tables and columns. The Wordpress integration is quite clear for this. Problem is, if visitors arrive on the forum not authenticated, authenticate, then go to the main pages, they won't be authenticated. What I did: remove authentication by Vanilla, for this you'll need to tweak some templates. Good luck!
Surely if visitors authenticate via Vanilla's class and then go to the main pages, they will still be authenticated, you just need to make your main pages work with the session variables that Vanilla sets.