roadsunknown
Forum Replies Created
-
Forum: Plugins
In reply to: [Media File Renamer: Rename for better SEO (AI-Powered)] Meta Data on RenameThanks for the reply. I don’t think caching is the issue but I’ll check next time. I did not explicitly clear the host cache in any of the workflows described as far as I know. What I do know is as soon as I used your Media Meta plugin to fix the meta data, it worked perfectly. I was hoping Media File Renamer could just do the same as part of its process as it did not appear to do so. I’ll try to record it the next time.
I have the same error, maybe the similar issue. When I create a staging copy of a site on a different domain, the “Domain Name” in PostSMTP settings is changed automatically by PostSMTP rather than keeping the original value from production.
mg.mydomain.com (in Production)
mg.staging.mydomain.com (in Staging after copy from Production)As this is not a valid domain with my Mailgun account, I get the error “Your credentials are incorrect.”
Why does SMTP automatically change the Domain Name, pulling from the Site Domain setting and adding the “mg.” (which isn’t the same for all domains)? Odd.
Forum: Plugins
In reply to: [Cloudflare] Compatibility with WP-Rocket / SG OptimizerSame question on the WP-Rocket compatibility, for both options:
a) WP-Rocket with CloudFlare option enabled (and obviously no CloudFlare plugin)
b) WP-Rocket with CloudFlare option disabled + CloudFlare plugin (3.8.2)Hey @verygoodplugins / Jack,
Thanks for the continued thoughts on this. Perhaps the simplest solution for this use case is to hook into the wpf_user_update and wpf_user_register filters as you suggest. This does require duplicating the code but its only a few simple lines. I’ve tested and deployed this and all appears to be working as expected. If you do decide to make any more complex architectural changes do let me know but for now we’re at least getting cleaner data into the CRM 🙂
// WP Fusion Sync - Raw Form Data is Synced so Format (again) function wpf_format_user($user_meta, $user_id) { if( isset( $user_meta['first_name'] ) ) { $user_meta['first_name'] = (ctype_upper(str_replace(' ', '', $user_meta['first_name'])) ? ucwords(strtolower($user_meta['first_name'])) : ucwords($user_meta['first_name'])); } if( isset( $user_meta['last_name'] ) ) { $user_meta['last_name'] = (ctype_upper(str_replace(' ', '', $user_meta['last_name'])) ? ucwords(strtolower($user_meta['last_name'])) : ucwords($user_meta['last_name'])); } if( isset( $user_meta['email'] ) ) { $user_meta['email'] = strtolower(sanitize_email($user_meta['email'])); } return $user_meta; } add_filter('wpf_user_update', 'wpf_format_user', 10, 2); add_filter('wpf_user_register', 'wpf_format_user', 10, 2);Hi @verygoodplugins. I understand why you use unfiltered to optimize compatibility. Using this method however would mean any other custom filters applied by any other plugin would not be compatible.
It’s a compromise but I can work with it for my use case since WordPress core does provide pre_ filters for the fields I need before sync: first_name, last_name and user_email. (I do apply filters to other fields but in my use case I do not sync these.)
https://developer.ww.wp.xz.cn/reference/hooks/pre_user_email/
Alternatively, checking if matches database and/or sync after save to database for new users via https://developer.ww.wp.xz.cn/reference/hooks/user_register/ or updated users: https://developer.ww.wp.xz.cn/reference/hooks/profile_update/ (which there is reference too but is removed?).
Thanks for the help.
@verygoodplugins Thanks for the reply. I was able to sync wp_capabilities as a multiselect to a multiple checkbox field in HubSpot.
@verygoodplugins Thanks for the confirmation.
One follow up issue. When user meta data is updated in the WP Admin, it is not syncing automatically back to HubSpot. For example, changing the user role does not sync field “role” (mapped to custom field). However, “first_name”, “last_name”, billing_xyx fields are synced.
Related, the “role” field may have multiple values, but only the first role is synced. For example, Subscriber and Customer roles may be assigned to a user, but only “subscriber” is synced.
Aha, this is what I think I was looking for: Batch Operations (https://wpfusion.com/documentation/tutorials/batch-operations/). I assumed this was automatic, but alas it is not.
As per informational post above, this issue was resolved by deactivating and reactivating the plugin.
- This reply was modified 5 years, 9 months ago by roadsunknown.
Glad to share feedback. I haven’t had the chance to fully utilize the plugin yet so I thought it not fair to give 5 stars yet…but once I do, I’ll be sure to update to 5! Cheers!
Integromat uses the key [1] as the first in an array (yes, confusing for devs but I guess not for the non-coder).
The odd thing is I have recreated the scenario (no luck). I do have a previous scenario that does display the [user_meta] data but it only appeared AFTER a real record was sent. When just the “Send Demo” test is sent, no [user_meta] so I think it might be an issue with the “Send Demo” record that is used to first define the data structure on the webhook module not including [user_meta].
Can you confirm when “Send Demo” is sent, it includes the definition for [user_meta]?
I tested “Send Demo” on Zapier to compare against Integromat. Zapier also does not receive the array for [user_meta] but it does populate [meta_data].
Hi Jordan, thanks for the reply. I previously contacted Mediavine directly and was asked to create a post here. Let me know if I can provide any further help in debugging.
Forum: Plugins
In reply to: [Central Color Palette] Astra compatibility is lostI can confirm 1.4.6 works again with Astra. Thanks! Can you release this update to the plugin repo? (You can install manually but only if you delete the existing version first as it returns a “Destination folder already exists.” error.)
Forum: Plugins
In reply to: [Page Builder Gutenberg Blocks – Kioken Blocks] Post Title StylesGood to hear semantics will be improved. Any update on ETA?
Forum: Plugins
In reply to: [Page Builder Gutenberg Blocks – Kioken Blocks] Post Category Not VisibleHi. I understand, but this is not the issue (though I am looking forward to more advanced queries).
The issue is the setting Showing Post Category does not display the Post Category when Post Type = Posts and Taxonomy = Tags.
See screenshot: http://j.mp/2Q7rMhe