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.
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.
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.