• Resolved jamaloos

    (@jamaloos)


    Hi, I want to create a registration form and I am using Ultimate Member, how can I take the information from Ultimate Member to yousify profile

    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Youzify

    (@kainelabsteam)

    Hello @jamaloos

    Could you please clarify if you intend to use a form from Ultimate Member instead of the Youzify form and then synchronize the fields from that form with Youzify user data? Is that correct?

    Best Regards, KaineLabs Team.

    Thread Starter jamaloos

    (@jamaloos)

    yes exactly that’s what I want.

    thank you

    Plugin Support Youzify

    (@kainelabsteam)

    Hi @jamaloos

    Basically, Youzify uses BuddyPress XProfile Fields. If Ultimate Member can sync data from their forms with BP XProfile Fields, then it should be possible. However, I’m not sure if that plugin has this capability. You may want to reach out to the plugin author for clarification.

    Best Regards, KaineLabs Team.

    Thread Starter jamaloos

    (@jamaloos)

    I try hooks but it doesn’t work

    add_filter(‘bp_get_the_profile_field_value’, ‘display_um_fields_on_bp’, 10, 3);
    function display_um_fields_on_bp($field_value, $field_type, $field_id) {
    $user_id = bp_displayed_user_id();

    // Associer les champs UM aux champs BuddyPress
    $um_fields = [
        'Nom'             => 'first_name',
        'Prénom'          => 'last_name',
        'Ville'           => 'um_city',
        'Pays'            => 'um_country',
        'Langues parlées' => 'um_languages',
    ];
    
    foreach ($um_fields as $bp_label => $um_key) {
        if ($field_type == $bp_label) {
            return get_user_meta($user_id, $um_key, true);
        }
    }
    
    return $field_value;

    }

    Plugin Support Youzify

    (@kainelabsteam)

    Hello @jamaloos

    We appreciate your inquiry. However, this matter is beyond our control, as it involves Ultimate Member’s functionality. To sync their form with BuddyPress, we recommend reaching out to the Ultimate Member support team for guidance. They will be able to provide the best assistance on this integration. Let us know if there’s anything else we can help with!

    Best Regards, KaineLabs Team.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘registration form’ is closed to new replies.