Getting users email at registration?
#2
$data->data['email']

This refers to the email. The $data->data array contains all the inputs passed by the user upon registration. $mybb->input (which is not sanitized!) should be also replaced by $data->data['profile_fields'] which is sanitized as an array by MyBB routines.
[Image: fSGNVQj.png]
Reply


Messages In This Thread
RE: Getting users email at registration? - by Shade - 2016-09-14, 09:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)