The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
register.php form field into another custom field?
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']); but this doesn't seem to work. I'm a bit confused here, obviously. :-) |
#2
|
|||
|
|||
I Have the same error.
I tried getting the value of field5, sended by register form, but I can't capture it's value. PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|