I am writing a plugin that informs the admin when a new user registers.
Everything works, however, I want to add the userfields specified on the registration page (fields set up in admin/...).
Problem is that with current qa-page-register.php (v.1.6.3), at first the user is created:
$userid=qa_create_new_user($inemail, $inpassword, $inhandle);
And just afterwards the user profile field are saved.
With qa_create_new_user() the "u_register" event is fired and my event module triggered.
From the logical point of view, it is correct to first create the user and then write the user fields. But how can I get the fields otherwise? They are not transferred with the "u_register" plugin.
Thanks for any valuable tip.
PS: Maybe we can rewrite function qa_create_new_user() and throw in the userfields as well?