zanis
11-23-2005, 08:26 AM
Hello,
I have created a custom field for the users profile. I need to get that value when they save their changes so I created a plugin that gets executed on the profileupdate event.
However I cannot work out how to get the value that was entered in the custom field - which is field6
I have tried:
$mf_access_code = $post['field6'];
$mf_nick_name = & $vbulletin->userinfo['username'];
and
$mf_access_code = & $vbulletin->userfield['field6'];;
$mf_nick_name = & $vbulletin->userinfo['username'];
But they do not work. Its basically getting the value of the custom field on input.
Can someone please tell me what object or var I need to access to get the posted field value.
Cheers
Marc
I have created a custom field for the users profile. I need to get that value when they save their changes so I created a plugin that gets executed on the profileupdate event.
However I cannot work out how to get the value that was entered in the custom field - which is field6
I have tried:
$mf_access_code = $post['field6'];
$mf_nick_name = & $vbulletin->userinfo['username'];
and
$mf_access_code = & $vbulletin->userfield['field6'];;
$mf_nick_name = & $vbulletin->userinfo['username'];
But they do not work. Its basically getting the value of the custom field on input.
Can someone please tell me what object or var I need to access to get the posted field value.
Cheers
Marc