Quote:
Originally Posted by cheesegrits
Don't edit the register.php file. Use a plugin on the register_addmember_complete hook, where $vbulletin->userinfo['userid'] will be the new userid.
-- hugh
|
This is exactly what I do for my tracker. I have a separate table for registration to the tracker that I populate with the userid and username at the time of registration. I use the register_addmember_complete hook and simply put a query in there:
PHP Code:
$db->query_write("INSERT INTO mytable (all variables) VALUES
(variable contents)
");