buddypress custom profile field is not recorded in database

Home Forums Legacy Support Support queries How-to & Troubleshooting buddypress custom profile field is not recorded in database

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #383569
    nawrasj
    Spectator
    while registering on the site, custom field data is not saved for the user. we are using default BuddyPress registration.
    #383572
    nawrasj
    Spectator
    This reply has been marked as private.
    #383602
    MrVibe
    Keymaster
    In the video the user is not activating the account ? All the fields filled by the user during registration are saved in the wp_signups table and applied on the profile fields when the user's account is activated. Please activate the user's account in WP admin - Users - Signups and then edit it and check the extended settings. p.s : This is standard BuddyPress registration process.
    #383616
    nawrasj
    Spectator
    This reply has been marked as private.
    #383618
    nawrasj
    Spectator
    This reply has been marked as private.
    #383625
    MrVibe
    Keymaster
    share site link and WP admin details. Ensure WP admin - Settings - BuddyPress- Components - xprofile is active. Are you using any third part addon for skipping the member activation ? I would need to check the database on why the assigned fields are not generated for the user. Here's how things should work : 1. User signs up. 2. An entry is made in the signups section with an array storing all profile field data. 3. User activates the account, a WP user is created and all the profile data is assigned to him. Now, I think some third party code/plugin is automatically activating the user without assigning the fields to member profile.
    #383630
    nawrasj
    Spectator
    This reply has been marked as private.
    #383631
    nawrasj
    Spectator
    This reply has been marked as private.
    #383658
    MrVibe
    Keymaster
    We will need to capture the signup ID of the user and then capture the saved profile fields in the meta and apply them.
    $signups_query = BP_Signup::get( array(
    			'include' => $ids,
    		) );
    
    if ( ! empty( $signup->meta['profile_field_ids'] ) ) {
      // apply the profile fields
    }
    I will share detailed code in the next response.
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘buddypress custom profile field is not recorded in database’ is closed to new replies.