I'd like to take a field from the registration form and in addition to the original field, put it into custom field when the user is created. This allows someone to enter a value one time and have it entered two places. Basically, I want them to be able to change the first instance in their profile, but not the second instance.
So on the signup form, I have:
field entry: $userfield14
In the database I want to enter $myfield into both userprofile 'field14' and userprofile 'field21'.
My hook location in register.php will be register_addmember_process. I could figure out how to do it if I modified the code in register.php before this point, but I'd like to use the plugins for obvious reason.
I tried
Code:
$userdata->set('field21', $vbulletin->GPC['field14']);
how do I get at this data?
but this doesn't seem to work. I'm a bit confused here, obviously. :-)