The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding Users to VB via Seperate Signup Form
I want to be able to take just the username / password / email fields that i require on my sites custom signup form, and when I post, i want to automatically add them as a user to the vbulletin database - and when they submit it, i don't want them to be directed to any vbulletin page, I want them to stay on my own page.
then, once the code adds them as a new user to vbulletin, i want it to automatically set the cookies that will have them logged in when they visit the forum - that way they won't have to login again. plus, when they login through my own custom login form, i want them to of course be logged into vbulletin. anything out there that will handle both or either of these requests? |
#2
|
||||
|
||||
Well the first one is easy, simply put a line of code into your current site's form such as:
Code:
mysql_query("INSERT INTO myforum_user (username, password, email) VALUES ('$username', '$password', '$email')"); - Jesse |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|