There are two template files that are pertinient – plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php and activate.php
Inside these pages there are do_action
functions that allow you to hook an action on that particular stage of the registration page. For example in activate.php
there is bp_after_activation_page
you could hook on that and check the user has successfully activated their account and gather your data.
Thank you.
However, I am using a plugin that sends an email invite to people whoare to become users.
They fill in a simple registration form, then submit it.
And then log in to the website.
At that point, they have access. They haven’t gone through any Buddypress registration forms.
So I can’t hook those actions.
At what point in the user registration process do the xProfile fields get created/populated for a new user. eg. When does the default Name field get populated in the user registration process.
And is there a corresponding action I could hook?
it’s that pluggins author you will need to ask
I don’t understand.
Isn’t all the xProfle extra information part of Buddypress?
I haven’t installed an extra plugin that has anything to do with xProfiles.
AFAIK.
That’s why I’d have a look in your plugin, find out what bp function it’s using to add the new user then see if there’s a hook off that.