pjfc
Forum Replies Created
-
Forum: Plugins
In reply to: [SyncFields] Can this be used simply t oadd a listing to a pageHi,
Thanks for checking out the plugin.What the plugin does is synchronize two fields in the WordPress database.
The way the SyncFields plugin could help is if you first upload the database on your computer to a separate table on the WordPress database, and sync that with another tool. Next, you can use SyncFields to safely sync that table with existing fields in the WP database.
Not sure that would help enough. I guess SyncFields would need a CSV import function to help you, that’s unfortunately not on the road map.
(If any dev is interested to write the code; feel free to, I’m happy to test and integrate it).Regards
Forum: Plugins
In reply to: [SyncFields] 2 Way Sync PlansHi @sphynxma,
Thanks for your question and sorry for the delay in my reply.We’ve tried a few coding sprints to reach that goal,but so far have not find any elegant solution which keeps the plugin simple, has low risk of database corruption and additionally prevents circular references.
Invitation to all:
If somebody knows a solution and wants to add two way sync code, we’d be happy to review and merge to production if it works.Forum: Plugins
In reply to: [SyncFields] How to sync the Users Image with CPT posts featured imageDid you see the FAQ regarding missing fields? https://wordpress.org/plugins/syncfields/#i%E2%80%99m%20missing%20usermeta%20fields
Please ensure fields you are trying to use are first populated with data. Once they are, and the field is in the usermeta database, they should show up.
Forum: Plugins
In reply to: [SyncFields] Install two copies of the pluginIt goes against the coding principles of WordPress codex to install several copies of a plugin in one site, WordPress is just not designed that way.
It will be like creating a new plugin, debugging code changes, and testing to make it robust which is important because of the nature of this plugin (directly manipulating the database). I just don’t have the time for that.Sorry that I can’t be of help.
Forum: Plugins
In reply to: [SyncFields] Install two copies of the pluginThanks for the nice feedback, I appreciate it very much!
I’m not sure why you would need a second copy of it in order to use it with WooCommerce and ACF. You can sync as many fields as you like with it from any plugin which uses usermeta fields.
Perhaps I’m misunderstanding your use case, could you elaborate a little so I can see if I can help?Forum: Plugins
In reply to: [SyncFields] Future OptionsHi @hamedsalari,
Thanks for your positive review!I see what you mean. The fields from the user table are not all properly picked up for selection at present, (including the user_email field and others).
I’ll see if I can fix that.I’m not 100% sure what you mean with the second suggestion:
add a specific text or number to a usermeta (for a binary meta for example)
Could you clarify?
Forum: Plugins
In reply to: [SyncFields] Not Working with Advanced Custom FieldsHi @elwazeery,
Thanks for your positive review!Like I wrote to @kkriss earlier, at this moment the plugin is focused on user(meta) fields and only selects those tables.
If you add Custom Fields (through ACF, or PODS, or another tool) to those tables specifically then yes, the SyncFields plugin will work with them. If not, then they will be ignored.
Question to the community:
If there is someone that wants to contribute code to the plugin to expand the current scope beyond user(meta) fields Iβm happy to test and encompass it in a next version.
I really donβt have the time to devote to it right now, sorry!Forum: Plugins
In reply to: [SyncFields] Custom fields mappingHi kkriss,
Sorry that I’ve been a bit absent in the Forum. Busy days and other bad excuses!At this moment the plugin is focused on user(meta) fields and only selects those tables.
If you add Custom Fields (through ACF, or PODS, or another tool) to those tables specifically then yes, the SyncFields plugin will work with them. If not, then they will be ignored.
Question to the community:
If there is someone that wants to contribute code to the plugin to expand the current scope beyond user(meta) fields I’m happy to test and encompass it in a next version.
I really don’t have the time to devote to it right now, sorry!Forum: Plugins
In reply to: [SyncFields] Sync Both ways?Hi,
Thanks. I’m happy to announce we are working on it. May take some time, please be patient..- This reply was modified 9 years, 6 months ago by pjfc.
Forum: Plugins
In reply to: [SyncFields] Sync with BuddyPress XProfile FieldsHi @mauromello and @ghascabra,
Hmm, interesting! I admit that working with this type of fields with WordPress is exactly what I made the SyncFields plugin for. So, a nice challenge πI have not worked much with BuddyPress so far. Is any of you familiar with the database structure of XProfile Fields? A pity BuddyPress doesn’t use the user meta fields. But okay, I suppose I cannot change their processes here π
It seems there is a table wp_bp_xprofile_fields, as well as a table wp_bp_xprofile_data.
What is the relationship between them? Which table should SyncFields query?If anyone already figured it all out and wants to contribute code to SyncFields, kindly contact me and I’ll test and include it.
If not, I will get into gear and see if I can get this to work.Forum: Plugins
In reply to: [SyncFields] Sync User Databse w/Simple MembershipHi Orchidrich,
Thanks for using SyncFields!Have you tried populating the fields with user data, by creating a first user in your WordPress setup which uses these fields, ensuring these specific fields are populated? (Oftentimes these tables are only created in the database when first populated with data).
Let me know.
Regards,
PJFCForum: Plugins
In reply to: [SyncFields] Adding fields to plug "Hide WP"Hi Wojto,
Great to hear you are enthusiastic!For now, I have restricted SyncFields to usermeta fields. It keeps the code clean and simple.
I can see your use case though!
If many people request to include other database tables I’ll think of adding the feature.
But remember WordPress has tons of tables, it could become messy. (WordPress codex database description).
I’m not sure how to keep it simple enough so intermediate WP admins can still use it, there is already so much to know.. πRegards,
PJFCForum: Plugins
In reply to: [SyncFields] Sync Both ways?Hi bmarolf,
Indeed the SyncField plugin syncs only one way. Thanks for highlighting it, I’ll make it more clear in the explanatory text.If many people request a two way sync feature I might consider coding it.
I could see use cases for both one- and two way sync.
Let me try to wrap my brain around it π
Forum: Reviews
In reply to: [SyncFields] Makes synced field read-onlyDoes not allow manual updates to synced field in a form or in the User Profile.
Hi bmarolf,
Syncfields is designed to be ‘set it and forget it’, in the sense that upon every update of a field, the synced field gets update too. So manual updates are not required, and not foreseen in a form or User profile, it doesn’t matter, it always should sync.To allow for a scenario where someone changes database values directly, or perhaps a misbehaving plugin, we have created a manual sync modus in the backend. This is just for the administrator, but should normally not be required.
Let me know if perhaps I misunderstood your use case, and it is something I could add.
Forum: Plugins
In reply to: [SyncFields] Adding fieldsHi Venturecore,
I did some testing.SyncFields Plugin presents usermeta fields from plugins immediately after they have been first created.
The issue is: Many usermeta fields are not created once a plugin gets installed and activated, but only upon first use!
So, SyncFields simply cannot present them as they do not exist yet πLet me give an example to clarify:
Once you install WooCommerce plugin, not much happens in the creation of fields in the usermeta table.
Only once an actual order is placed for a product by a customer, the usermeta table gets populated with new fiels, such as:
– billing_first_name
– billing_last_name
– billing_country
– shipping_country
Etc.So if you want everything to work properly in the example of WooCommerce, the order of things is:
– Install SyncFields plugin (you can also do this last)
– Install WooCommerce plugin
– Create a test customer
– Create a test order
SyncFields plugin now presents the new usermeta fields.In conclusion:
Although I cannot test the other plugins you mentioned, I suspect you have to start using the plugins with test customers before new usermeta fields are created in the database. Could you try and let me know if this fixed things?Hope this helps!
Regards,
PJFC