• Resolved bihungba1101

    (@bihungba1101)


    I notice if you use the plugin with Buddy Boss and enable Buddypress integration, the user’s first name, and last name will not be updated both in WordPress and Buddyboss.
    This is not a huge issue but it would be nice to have a fix or it could be a bug.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Laszlo

    (@laszloszalvak)

    Hi @bihungba1101

    Have you checked the First name and Last name values in the WordPress default edit user page (e.g.: /wp-admin/user-edit.php?user_id=30 where 30 is the ID of the user )?

    Since I have just checked an account that I registered with Nextend Social Login, and the First name and Last name appeared fine for me there.

    However please note that, we only store the First name and Last name, if the registration itself happens with Nextend Social Login. If you try to login to an existing account, or link a social media account to an existing account, then we won’t modify the First name and Last name fields, as that way people could never change their names, as anytime they would login would social login, the name coming from social login would override the name that the users set for themselves on your site.

    In that case if you meant the first name and last name fields of BuddyBoss/BuddyPress itself, then as I mentioned in the othe topic, those name fields are just custom fields that don’t have any relationship to the first names, last names, and nicknames that WordPress uses ( so their data is not mapped ).

    There are ways to store data for those custom fields, but the problem is that those fields can be anything. So a field that you use as Last name, could be a phone number field on the website of somebody else. If we would try to store the name into those custom fields, then we could end up storing the data into the wrong field and that’s why we don’t have such integration.

    If you would like to fill up those fields with data, then you should insert a record into the <wp-preffix>bp_xprofile_data database table of BuddyBoss with the corresponding field ID. To find out the way you could do that, I would suggest you to get in touch with the Developers of BuddyBoss, or if you have some developer knowledge, then you could inspect their codes.

    Once you managed to find the way you can insert records into that table, you should hooke a function to our “nsl_register_new_user” action, and in that action you should store the first name and last name of the registered user to the database table of BuddyBoss.
    In our developer documentation you can learn more information about the “nsl_register_new_user” action and their parameters:

    Best regards,
    Laszlo.

    Thread Starter bihungba1101

    (@bihungba1101)

    Thank you very much for your detailed reply, like I mentioned, when I register NEW accounts with Google Login while BuddyPress integration is enabled I see the first name and last name in WordPress default profile fields are not updated (of course Buddyboss fields were not too) which is why I suspect it was a bug.

    With buddy press integration off, the default WP fields are updated fine and as a result BuddyBoss fields too.

    It could be that when installing buddy boss, the firstname and last name field of buddy boss override the default field of WordPress but I doubt this was the case as I have dived into the database and confirm the user meta field first name and last name was indeed empty.

    Again. Thanks you for such a detailed response!

    • This reply was modified 1 year, 8 months ago by bihungba1101.
    Plugin Support Laszlo

    (@laszloszalvak)

    @bihungba1101

    Do you mean our “BuddyPress registration integration” feature?

    If you do, then that feature is only available in the Pro Addon, so if you would like to know more about that, then please get in touch with us over the ticket system:

    since as per the forum guidelines:

    we are not allowed to discuss topics about commercial products, such as the Pro Addon.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Buddyboss user first name and last name not stored’ is closed to new replies.