The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Register Add Member Process -- Adding Additional Fields w/ Actions
Hey all.
I finally decided to take my first crack a mod for vBulletin. After a bit of testing the different registration hooks, I finally figured out that the hook I need to be dealing with is: register_addmember_process. What I am trying to do is that when the user clicks the submit button on the registration page, a plugin is called in that calls an external PHP class (which I have already created), creates the object, and then inserts the object in the database along with the user registration information. So, what I am trying to figure out is how I get the DB insert to work. I already know that their is a global $db variable that I can use along with the DB class objects. My question is how do I make my query execute after the member insert query? Because, what I am thinking that I let that query hit and then do mysql_insert_id and grab the User ID that was created when their record was inserted. Once I have that User ID, all is gravy Any ideas? Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|