SyncFields

설명

What does it do?

With this plugin you can map and synchronize fields in the WordPress user and usermeta database.

Note:
This plugin syncs one way only!

The plugin adds a new menu in the backend called ‘SyncFields’, which allows you to control the plugin settings.

Give me an example please

When you install plugins such as WooCommerce, the WordPress usermeta database table is populated with new fields. You can map these fields and choose to automatically sync these with other usermeta fields, or with the WordPress regular user fields.
For example, you can choose to Sync WooCommerce billing_country usermeta field with the WordPress main Country user field. And lot’s of other ways to sync data within WordPress, and keep it synced automatically.

Does it work with plugin xyz…?

Yes, it works with ANY plugin which creates usermeta fields. The plugin automatically finds new fields every time you install a new plugin.

To create a new Sync between two database fields:

  • Click on ‘Add new mapping’. A list of available fields are collected. (This can take some time).
  • Choose the Primary Field.
  • Choose a field the primary field will sync with.
  • Click on ‘Create New Field’

Once you created a mapping between two fields, the data will remain synced for all users. (The way it works is that every time data is changed in a field the sync will trigger automatically).

To delete a field mapping:

  • Click the ‘delete’ button in the applicable mapping row.

To edit a field mapping:

  • Click the ‘edit’ button in the applicable mapping row.

주의:

Make sure database fields which you intend to sync are of the same type. So for example do not sync an email field with a Country field, this will result in invalid data in the synced fields.
If in doubt do NOT sync fields with each other, it may break your site in extreme cases.

Tested at plugintests.com

Wonder if it will slow down your site? Wonder it creates PHP errors?
It doesn’t. Check this out: https://plugintests.com/plugins/wporg/syncfields/latest

스크린샷

  • The main admin screen of the plugin.
  • The 'Add New Mapping' screen.
  • The 'Edit Mapping' screen.

설치

워드 프레스를 통해 자동 설치 :

  1. 당신의 워드 프레스 관리자 영역에서 ‘추가 새로운’플러그인 화면으로 이동
  2. Search for ‘SyncFields’
  3. ‘지금 설치’를 클릭하고 플러그인을 활성화
  4. Go the ‘Export User Data’ menu, under ‘Users’

FTP를 통해 수동 설치 :

  1. Upload the synfields directory to the /wp-content/plugins/ directory
  2. 당신의 워드 프레스 관리자 영역에서 ‘플러그인’화면을 통해 플러그인을 활성화
  3. Go the ‘SyncFields’ menu

대신 FTP의, 워드 프레스를 통해 플러그인을 업로드하려면 :

  1. 당신의 워드 프레스 관리자 영역에서 ‘추가 새로운’플러그인 화면 ( ‘업로드’탭 참조)에 다운로드 한 zip 파일을 업로드하고 활성화합니다.
  2. Go the ‘SyncFields’ menu

FAQ

I’m missing usermeta fields

So you activated a new plugin, and expected new usermeta fields to appear in SyncFields. But they didn’t.

Why does this happen:
Most usermeta fields only get created in the WordPress database once they are needed for the first time. This typically is when a user first populates a field, and not once a plugin gets activated!

What can you do about it:
If you miss a specific usermeta field, create a test customer and use the field you want to appear.
For example: to make WooCommerce billing_country usermeta field appear, create a testcustomer and purchase a test product whilst populating the checkout fields including the billing country for the test customer. At that moment new usermeta fields for WooCommerce are created for the first time in the WordPress database (Tip: use the ‘Cash on Delivery’ payment method so you don’t have to set up any real payment methods yet to place the test order). After this, these usermeta fields are created, and therefore available to SyncFields.

For details please check this:
https://wordpress.org/support/topic/adding-fields-6

Does this plugin work with Headless /JamStack WordPress sites?

Yes it works.

What is Cron Scheduling?

If you want to run a regular Sync on a Cron schedule, please use this option.
It normally should not be necessary because syncs are saved upon every commit.

Where can I find the documentation

The plugin is documented in the backend. If you have any questions, feel free to pose them in the Support section here https://wordpress.org/support/plugin/syncfields

후기

2017년 2월 28일
WooCommerce and other plugins come with lots of user meta fields. With this plugin it’s easy to automatically keep them synced. So no need to edit e.g. the customers first name in 6 different input fields (shipping, billing, user, crm, …). Three feature requests: - Two-Way Sync - change the dropdown to a searchable dropdown (my dropdown is > 400 field options) - ability to add custom fields that are not shown in the list.
2017년 2월 25일
A real time saver! I can now map my users that were registered by a Formidable form into my Woocommerce shop. Thank you!
2016년 9월 8일
Thank you for taking the time to create this plugin! It perfectly solves an annoying issue especially common in WooCommerce sites with syncing user meta fields. The cron is an even nicer touch. By automating this process, our team is able to avoid so many support requests in regard to profile updates. Well done! 🙂 -- LittleBizzy
모든 10 평가 읽기

기여자 & 개발자

“SyncFields”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “SyncFields”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

  • Version 2.0: Confirmed compatability with WordPress 6.1
  • Version 1.9.91: Confirmed compatability with WordPress 6.0
  • Version 1.9.9: Confirmed compatibility with latest WordPress
  • Version 1.9.8: Confirmed compatibility with latest WordPress
  • Version 1.9.7: Added FAQ, plugin works with Headless /JamStack WordPress sites
  • Version 1.9.6: Confirmed compatibility with WordPress 5.5.1
  • Version 1.9.5: Confirmed compatibility with WordPress 5.3
  • Version 1.9.4: Added security code suggested by Jeff Starr. Confirmed compatibility with WordPress 5.2
  • Version 1.9.3: Confirmed compatibility with WordPress 5.1
  • Version 1.9.2: Confirmed compatibility with WordPress 5.0 (first release with Gutenberg)
  • Version 1.9.1: Small edits, and confirmed compatibility with WordPress 4.9.8
  • Version 1.9: Confirmed compatibility with WordPress 4.9.8
  • Version 1.8: Small edits, and confirmed compatibility with WordPress 4.9.4
  • Version 1.7: Confirmed compatibility with WordPress 4.9
  • Version 1.6: Confirmed compatibility with WordPress 4.8
  • Version 1.5.2: Confirmed compatibility with WordPress 4.6
  • Version 1.5.1: Clarified plugin does one-way sync
  • Version 1.5: Corrected typos
  • Version 1.4: Backend updates to improve the flow
  • Version 1.3: Edited the FAQ
  • Version 1.2: Added to the FAQ about missing usermeta fields
  • Version 1.1.1 : Added background image
  • Version 1.0 : Stable release for production
  • Version 0.6.1 : Small changes
  • Version 0.5.4 to 0.5.9 : Edits in explanation and screenname to make things more consistent.
  • Version 0.5 : Stable enough to release to the public for further scrutiny 🙂
  • Version 0.4 : Stable enough to test in a production environment with WooCommerce. Beta testers feedback encompassed.
  • Version 0.3 : Debugging.
  • Version 0.2 : Added automatic sync functionality.
  • Version 0.1 : Initial rough thoughts, bugs to squash..