Segregated xProfile Fields for Multisite
-
Hi There,
I have a (potentially) large multisite installation that calls on xprofile fields for each user on a particular site in order to return users for a specific item. Due to all the sites having this info, but only needing to pull from users from each specific site, I used the code in the link below to make sure that the profiles aren’t syncing xprofile info between all the sites, problem is, the code supplied doesn’t work, here it is… https://codex.buddypress.org/themes/guides/segregated-x-profile-fields-for-multisite/
I am getting a ton of error messages on the site and it has to do with these 4 lines, looks like this code hasn’t been updated in a while, is there any way we can get an updated version that will work?
$bp->profile->table_name_data = $wpdb->prefix . ‘bp_xprofile_data’;
$bp->profile->table_name_groups = $wpdb->prefix . ‘bp_xprofile_groups’;
$bp->profile->table_name_fields = $wpdb->prefix . ‘bp_xprofile_fields’;
$bp->profile->table_name_meta = $wpdb->prefix . ‘bp_xprofile_meta’;Thanks,
K
- The topic ‘Segregated xProfile Fields for Multisite’ is closed to new replies.