I've added some custom user profile fields, but I would like to insert them into a separate DB table for use in my non vb site. I've got the plugin on the register_addmember_complete hook, but am not sure how to refence what those fields were. From what I can see they are just called $userfield[field2], $userfield[field5], $userfield[field6]. What do I need to do in order to get these values into some sort of variable that I can insert into my table? I've tried setting a variable like $customfield1 = $vbulletin->userfield[field2]; but all the inserts into my table are just blank empty inserts.
Any help would be greatly appreciated.
|