Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Make 2+ part name in full name required + xprofile_sync_wp_profile()


peterverkooijen
Participant

@peterverkooijen

I think the code that actually processes the input from the registration form is in bp_xprofile/bp-xprofile-classes.php, Class BP_XProfile_ProfileData etc.

Input data is apparently stored with function save() and the input data is a combination of field_id + value for the same $this->id.

In the html ‘* Name’ is an optional field with the name/id field_1. I guess that’s the field_id?

Now I need to figure out how to get a definition of $fullname out of that. I’ll look for more examples/tutorials how processing form input in php actually works…

Skip to toolbar