BuddyDev

Search

[Resolved] Profile Name is not Syncing when activating BP-Multi-Network

  • Participant
    Level: Initiated
    Posts: 3
    Ricardo Chinchilla on #6900

    Hi…

    Im just start using BP-Multi-Network and must say is doing very well except for one thing…

    When BP-Multi-Network plugin is active the WP’s profile fields and xprofile Name are not syncing.

    I mean that if the user try to edit his/her name in buddypress edit profile frontend page only changing the publicly name on WP fields profile but firts name, last name and nickname still without change.

    If I deactivate BP-Multi-Network plugin then the edit profile name process works well again.

    Can you help me with this please??

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #6908

    Hi Ricardo,
    My apologies for the delayed reply. We have been a bit off due to holidays.

    Do you need Profile fields specific to each network? If not, we should make profile fields global and that should fix it.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 3
    Ricardo Chinchilla on #6909

    Hello Brajesh

    Thanks for reply.

    I don’t need specific profile fields for each site. All sites have same BP xprofiles fields.

    ¿ Could you help me with this.?

    Happy new year.

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #6914

    Hi Ricardio,
    Thank you for clarifying. I will post some code a little late today to make it work that way.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 3
    Ricardo Chinchilla on #7147

    Hi Brajesh…

    Im sorry to bother you.

    How can I make profile fields global to fix the not-syncing xprofile issue?.

    I’ll appreciatte your help.

    P.D.

    BTW I have this other question:
    What if I import a batch of users with some third party plugin? Have some problem with buddypress-multi-network plugin?

    Have a good day!

  • Participant
    Level: Initiated
    Posts: 3
    Ricardo Chinchilla on #7263

    Any help here, please.

    I’m interested in a suscription for further professional assistance, but no one has replyed my last request with bp-multi-network.

    Can you help me.!

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #7268

    Hi Ricardo,
    I am sorry for the inconvenience. We are a little bit on staff till 10th Feb, that’s why there have been delays.

    There is no need to buy subscription just for this plugin.

    Please put the following code in your bp-custom.php

    
    function buddydev_make_profile_tables_global( $tables ) {
    
    	global $wpdb;
    
    	foreach ( $tables as $key => $name ) {
    		$tables[$key] = str_replace( $wpdb->prefix, $wpdb->base_prefix, $name );
    	}
    
    	return $tables;
    
    }
    add_filter( 'bp_xprofile_global_tables', 'buddydev_make_profile_tables_global');
    add_filter( 'bp_xprofile_meta_tables', 'buddydev_make_profile_tables_global');
    

    That will make the Profile fields/meta global and hopefully resolve the issue.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #24550

    Marking resolved due to lack of activity.

The topic ‘ [Resolved] Profile Name is not Syncing when activating BP-Multi-Network’ is closed to new replies.

This topic is: resolved