Why can’t this plugin be used to synchronize any custom field and not just the profile meta data?
Is there anyway that we can do that?
Thanks
Is there a way to sync Ultimate Membership fields with WordPress using this plugin? I’ve looked and the fields that I’m looking for are not listed.
]]>Hi, this plugin looks great. It’s a shame it can’t be extended easily. One issue I have had is the WordPress user email is stored in get_userdata, not user_meta. I would so buy a pro version that could handle custom fields, get_userdata etc..
Hopefully you’re sitting around doing nothing waiting to create a pro version of the plugin for little old me ??
In response to the earlier question (see below) from @loge99:
First, apologies, I was too slow with my reply and meanwhile the topic is closed to new replies. Hence this new topic..
Reply:
Thanks for your pre-sales question ??
As long as the fields are user or usermeta fields, they should be picked up.
]]>Hi,
?Pre-Sale“
I have not tried the plugin yet but I have two CPTs and I want to make the data that I add to one meta field of one CPT automatically appear as a meta field of a second CPT. Is it possible?Thank you so much,
Lorenzo
In response to the earlier question (see below) from @amoses0612.
First, apologies, I was too slow with my reply and meanwhile the topic is closed to new replies. Hence this new topic..
Reply:
Indeed strange! This must have something to do with the way WordPress triggers the storage of data.
Is it conceivable that you fire a field in a frontend form twice? For example Gravity Forms (and probably other plugins too) have the option to add a hidden field to a form, and populate it with any dynamic field value already present in the form. Perhaps if you trigger the form to store field X twice it might fire in SyncFields and do proper syncing?
Just a long shot…
]]>Hi, thanks a lot for such a useful plugin.
According to my test,User A changed and saved the field X in the frontend profile form, A’s field X wasn’t synced to field Y.
User B changed and saved the field X in the frontend profile form, A’s field X was synced to field Y. B’s field X wasn’t synced to field Y.
User C changed and saved the field X in the frontend profile form, B’s field X was synced to field Y. C’s field X wasn’t synced to field Y.
User C made no change but saved the form again, C’s field X was synced to field Y.
So strange.
I am using MariaDB Galera Cluster and InnoDB. Is it the possible reason causing the result above? Is it possible to trigger the sync twice every time data is changed?
Hi, welcome to the SyncFields plugin!
Apologies for having been a bit absent recently, I was bogged down with other things. I’ll try to be more responsive to your questions!
]]>Hi, thanks a lot for such a useful plugin.
According to my test,
User A changed and saved the field X in the frontend profile form, A’s field X wasn’t synced to field Y.
User B changed and saved the field X in the frontend profile form, A’s field X was synced to field Y. B’s field X wasn’t synced to field Y.
User C changed and saved the field X in the frontend profile form, B’s field X was synced to field Y. C’s field X wasn’t synced to field Y.
User C made no change but saved the form again, C’s field X was synced to field Y.
So strange.
I am using MariaDB Galera Cluster and InnoDB. Is it the possible reason causing the result above? Is it possible to trigger the sync twice every time data is changed?
]]>Hi,
?Pre-Sale“
I have not tried the plugin yet but I have two CPTs and I want to make the data that I add to one meta field of one CPT automatically appear as a meta field of a second CPT. Is it possible?
Thank you so much,
Lorenzo
I would like to create a book list ( or similar? that changes based on a database or csv file etc that I keep on my computer. So that the WP page will reflect my new list as I add or take off titles – is this good for this or can you recommend something else ?
thanks a bunch
]]>I love this plugin, I am trying to use it to update another field when a woocommerce address field is updated.
Documentation says the sync is triggered when the user meta field is changed.
That works EXCEPT that it appears to do the sync BEFORE saving of the user meta field instead of after, so it is syncing the wrong value.
So if I start with AddressField1-Value1. AddressField2 is blank.
I change AddressField1-Value2 –> AddressField2 gets Value1.
I change AddressField1-Value3 –> AddressField2 gets Value2.
Do you have any plans to make this a two way sync plugin? I am looking for that type of solution. ??
]]>Hi, I’m in develop a dating site, I have create a CPT where the users can create only one post per user.
Now, I need to sunc the users image with the CPT posts featured image.
Can this plugin do that? I’m trying to find the featured image field and the user image field but I don’t found them.
What shuold I do to do that?
Hello
It’s really a very powerful plugin and It really did a very big change in my website
But I need to install another copy of it to do some awesome ideas with it using woocommerce and ACF.
So could you help me to duplicate your plugin and install it without conflict with the first copy?
Thank you
Hello. I hope I found the plugin I’m searching for. I need to map some form fields with the corrispondent fields created with Advanced Custom Fields plugin, to let users submit content automatically in my blog. Does your plugin allow to do that? I see you hardly answer in this forum. Is there a site or a premium plugin support?
Thank you
Hello
Very helpful plugin
But I tested it with “Advanced Custom Fields” but its not showing the fields I created
So I think Its Not Working with Advanced Custom Fields
Hi
It’s a great plugin
It’s better to add a option wich we can use user_email
And another option is which we can add a specific text or number to a usermeta (for a binary meta for example)
Regards
This topic was raised earlier, but is now closed for new answers.
In BuddyPress there is a built-in mechanism for synchronizing profile fields from WordPress.
By default, it synchronizes only the “display_name” field, which is not always sufficient.
Here is an example of the code by which you can synchronize any available fields in the WordPress field with the Buddypress fields
function xprofile_sync_bp_profile2( &$errors, $update, &$user ) {
// Bail if profile syncing is disabled.
if ( bp_disable_profile_sync() || ! $update || $errors->get_error_codes() ) {
return;
}
// Querying data from a table "usermeta", first we get the value of the custom field "address" and substitute this value for the "Address" field of the xprofile BuddyPress
$address = get_user_meta( $user->ID, 'address', 'true' );
xprofile_set_field_data( 'Address', $user->ID, $address );
//Similarly with other fields
$firstname = get_user_meta( $user->ID, 'first_name', 'true' );
xprofile_set_field_data( 'Name', $user->ID, $firstname );
$lastname = get_user_meta( $user->ID, 'last_name', 'true' );
xprofile_set_field_data( 'Lastname', $user->ID, $lastname );
$description = get_user_meta( $user->ID, 'description', 'true' );
xprofile_set_field_data( 'Bio', $user->ID, $description );
// Querying data from a table "user"
xprofile_set_field_data( 'E-mail', $user->ID, $user->user_email );
xprofile_set_field_data( 'Site', $user->ID, $user->user_url );
}
add_action( 'user_profile_update_errors', 'xprofile_sync_bp_profile2', 10, 3 );
Unfortunately, the fields are synchronized only when the profile is updated. I do not know how to start mass synchronization ??
As far as I understand, the output of the available fields BuddyPress is the function: bp_xprofile_get_groups – taken from here: https://github.com/buddypress/BuddyPress/blob/master/src/bp-xprofile/bp-xprofile-functions.php
]]>Hi PJFC
I am trying to automatically sync the user profile after a customer purchases a Woocomerce product.
On my website, when a product is purchased, the buyer is automatically assigned to a particular role (e.g. t-shirt, shoes, etc).
Is it possible to automatically sync the user profile when a user gets a new role?
If so, how do I get to do that?
Cheers
]]>Feature Request:
Ability to sync two fields and merge them in another one:
E.g. “First Name” + “Last Name” = “Display Name”.
Hello,
First off, thank you for making this helpful plugin.
I’m not sure if it can accomplish what I want though, so I thought I’d ask in case it help others as well.
Various plugins are creating different membership roles and I want to map specific values of one field to specific (but different!) values in another field.
Here’s an example, PM Pro creates membership level field, and we have created 4 or 5 different levels there such as “Premium Membership 1” but we want this membership level to sync with the User Role of “Subscriber”. And a Membership_level of “None” would sync the User_role field to “Guest”
Does that make sense? And is it possible with this plugin?
Thanks again!
]]>firstly, thanks for awesome plugin.
i use ‘cimy user extra fields’ plugin for adding extra field on registration.
and i made a field for getting contact number.
i sync this contact number with woocommerce billing_phone field.
but i can’t find extra contact number meta on add new mapping page.
please help…i’m a not professional dev.
i have no idea.
make this sync.
please let me know any solution.
thanks
]]>Awesome plugin with a clear, simple, yet powerful purpose! Thank you.
I wanted to suggest adding support for more database tables, at least perhaps allowing for custom database tables to be added manually.
For example, the field user_email
is under the wp_users
table and cannot be synced with the other fields from the wp_usermeta
table with the current plugin version, which would be a very helpful addition if possible.
Anyway thanks for your time, and great stuff! ??
]]>Is there a way to sync data with BuddyPress Xprofile fields?
]]>Does not allow manual updates to the synced field. My woocommerce billing fields will not update with this plugin enabled.
I have custom_address_1 as Primary field (for user registration) and woocommerce billing_address_1 as synced. If the customer updates their billing field it will not save. Disable plugin and works fine.
Going to try this as an alternative – https://shoobm.wordpress.com/2014/04/30/sync-wordpress-and-woocommerce-user-profile/
]]>I’m trying to sync the WP user database with the Simple Membership Plugin (https://simple-membership-plugin.com/) and the plugin’s add on, Simple Membership – Form Builder Addon.
The Simple Membership Plugin creates two tables, “wp_hlpa_swpm_members_tbl” and “wp_hlpa_swpm_form_builder_custom”.
When I installed the SyncFields plugin, I selected “Add New Mapping” but none of the fields from the two table above were listed.
Am I doing something wrong?
]]>Plugin “SyncFields” is amazing. Ideal for creating multisite.
Please add a field to synchronize the line “option_name” with a value of “hide-wp” in table “options” (“prefix_options”, “prefix2_options”, etc).
Thank you very much ??
]]>How can we add database tables to sync? I have several addon plugins for woocommerce and the tables are not showing up.
codecanyon(net)/item/woocommerce-events/11753111
codecanyon(net)/item/woocommerce-custom-fields-product-addons/11332742
woothemes(com)/products/product-add-ons/
codecanyon(net)/item/woocommerce-customer-relationship-manager/5712695
Any help would be appreciated
]]>Welcome to the SyncFields plugin!
I’m looking forward to your comments and suggestions, and will implement changes and improvements as soon as I can.
]]>