Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Divide buddypress register form in multi steps fields

@boonebgorges

Keymaster

If you’re fetching user data – like First Name and Last Name – from an external provider like LinkedIn, then you can use that data to concatenate a value for BP’s Name field. This could be done in JS (Name would perhaps be a hidden field, and filled in after the connection had been made to the LinkedIn API). Or it could happen on the server, based on data passed from LinkedIn, in which case you’d have to interfere with the way that BP’s validation works so that Name isn’t required to create an account (see bp_core_validate_user_signup()). But you’ll always want to be sure that Name is filled in, whether before or after the account is created, because BP uses this value throughout the site to populate navigation, headers, title elements, etc.

You can perform an action on the first user login using the ‘bp_first_activity_for_member’ hook.

Skip to toolbar