BuddyDev

Search

BuddyPress Multi Network – Data disappears after registrations

  • Participant
    Level: Initiated
    Posts: 5
    olivier GUY on #38757

    Hi,
    I have the same problem. When a member registers, the WP profile is not correctly saved :
    -the nickname is correct,
    -the first name is empty or filled with the nickname
    -the last name is empty
    -the display name, set as firstName + lastName, is correct (which is strange because first name and last name are empty).

    I have checked the data in the _bp_xprofile_ tables. They are consistent with the profile display : no entry for field 1 and 2 (first name, last name).

    Best regards,
    Olivier

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #38765

    Hi Olivier,
    I am not sure why this is happening. I am currently unable to investigate much into it. Have recently recovered from covid, I am avoiding any major task for the time being.

    I am still unable to understand why would this cause any issue with name etc as the plugin filters on tables and does not do anything specific with a field. It does not even know what the fields are.
    Most probably the code syncing names in BuddyPress/BuddyBoss has some kind on conflict with multisite. I will suggest disabling multi network plugin and then investigating the same on multisite.

    I do hope to look into it in future.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 5
    olivier GUY on #38766

    Hi,
    Just in case it can help, I have noticed that in the get_user_meta() array, the properties [first_name] and [last_name] are empty, but the properties [network_xx_first_name] and [network_xx_last_name] are correctly filled (xx being the blog id).
    So I added an action on the wp_login hook :
    -testing if the first_name and last_name properties are empty and if so,
    -filling them with the values found in the subsite related properties.

    NB: it is not possible to use the user_register hook because the data are not yet recorded at this execution stage.

    Best,

    Olivier

  • Participant
    Level: Initiated
    Posts: 5
    olivier GUY on #38767

    Hi,
    I am sorry to hear that you caught Covid. I wish you a full and quick recovery.
    Kind regards,
    Olivier

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #38776

    Hi Olivier,
    Thank you for sharing the solution.
    Thank you for the wish. I have recovered from covid, it is just the post covid health issues have limited my current work.

    I hope to look into it sometimes in near future.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 25
    Issam on #39037

    Dear Brajesh,

    First, I hope you’re recovering well from the Covid-19.
    I have written you a message the 25 April but have thought that maybe you have some health problems.
    I would like to notice that my issues are still not resolved and wish your help when you have time.
    Thank you in advance! 🙂

    Regards.

    Here is a copy of my last two messages:

    “Issam on April 25, 2021 at 9:29 pm#38307
    Hi Brajesh,

    You’re right.

    Here is a small recording to show what contain those tables.
    Please refer to: http://somup.com/crfTrtF3tS

    I can also share the admin credentials if a deep investigation is needed.
    Thank you in advance.

    Best Regards.

    REPLY

    Participant
    Level: Initiated
    Posts: 19
    Issam on April 30, 2021 at 1:10 pm#38398
    Hi Brajesh,

    I hope you and your family are doing well!

    Best Regards,
    Issam”

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #39070

    Hi Issam,
    Thank you.
    I am back to work now. Let us troubleshoot it next week.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 25
    Issam on #39083

    Hi Brajesh,
    Thank you for your answer and see you next week.

    Best Regards,
    Issam

  • Participant
    Level: Initiated
    Posts: 1
    Annika on #42725

    Hi Brajesh,
    I have the exact same problem and would like to know if you found a solution for the problem?

    Best Regards,
    Annika

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #42746

    Hi Annika,
    Is there any chance that you are using BuddyBoss? The plugin is not tested with BuddyBoss and may not be compatible with it.

    We don’t see any issue with BuddyPress.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved