theinnographer
Forum Replies Created
-
We are seeing this same problem on many of our sites.
If we upgrade from PHP 7.4 to PHP 8.0 then we can’t edit posts and pages for any post type without triggering a fatal error.
If we deactivate this plugin, it doesn’t happen.
If we go back to PHP 7.4, it doesn’t happen.
Similar error logs as above.
We submitted a video to support on your website of what we’re seeing.
Could you help us address this ASAP? Our host is moving all sites to 8.0 in a few weeks.
Thank you!
- This reply was modified 3 years, 7 months ago by theinnographer.
We just noticed that the same update seemed to cause the same problem for content on our site made with this block:
https://wpspectra.com/docs/faq-schema-or-accordion
from that free plugin.
i.e. Those blocks were also replaced on the back end by a message saying “Your site doesn’t include support for the Typing Text block. You can try installing the block, convert it to a Custom HTML block, or remove it entirely.”)
The front end of those blocks still worked.
But, in this case, the blocks weren’t recovered on the back end even when we deactivated your Number Counter plugin. We needed to restore those blocks from a backup site.
Thanks again for your help.
Alex.
Forum: Plugins
In reply to: [Admin Custom Font] Conflict with Astra themeHi again,
Thanks for the quick turnaround on this.
With your advice we were able to enqueue some styles with a late priority on the customize_controls_enqueue_scripts hook, which seem to have done the trick.
Cheers,
Alex.Forum: Plugins
In reply to: [Admin Custom Font] Conflict with Astra themeThat’s the one!
Forum: Plugins
In reply to: [Admin Custom Font] Conflict with Astra themeHi,
You bet.
I just checked and same seems to be happening with the free version of their theme which can be downloaded here by clicking “Download Free Astra Theme”:
Thanks again!
Alex.
Forum: Plugins
In reply to: [WP Remote Users Sync] Password doesn’t sync when I create or update usersHi there,
A quick follow up.
Upon further testing, I can confirm that the password sync between sites IS working just fine when the user updates their own password.
It seems both @donbeni and I were expecting it to happen when an admin updates a user’s password via their profile page.
So it seems that the plugin is doing exactly as it is designed to do, i.e. Fires “when a user resets their password. The expected result is the password being reset for the user on all registered remote sites accepting incoming Password actions.”
Is synching passwords upon profile updates something you would consider adding to the plugin Alexandre?
For our part, it was surprising that it doesn’t do this and leads to the user having multiple passwords when they / we don’t expect it.
Thanks again for the great plugin!
Alex.
Forum: Plugins
In reply to: [WP Remote Users Sync] Password doesn’t sync when I create or update users(Although I don’t see the token warning.)
Forum: Plugins
In reply to: [WP Remote Users Sync] Password doesn’t sync when I create or update usersHi there,
I have this exact problem too. Fresh WordPress sites. All ping tests work great, including passwords. And yet the passwords don’t actually sync.
All other syncs work fine.
This used to work fine and I’m afraid I didn’t monitor this one closely enough to say when it stopped working.
Appreciate any help you can provide!
Alex.
Forum: Plugins
In reply to: [WP Remote Users Sync] Sync only specific user rolesOne more thought 🙂
This functionality would also avoid workarounds such as having to use the same administrator passwords on all synched sites if you’re synching passwords.
Thanks again and have a great day!
Alex.
Forum: Plugins
In reply to: [WP Remote Users Sync] Sync only specific user rolesOne more thought, to support the request for adding the user and/or user role filters suggested above.
It’s quite possible to lock an administrator out of a remote site by mistake.
Sounds silly, I know. And sounds like something you have to be clumsy or stupid to do.
But consider the following example:
1. You set up role sync between sites with a role being synched, e.g. editor
2. You don’t setup to sync the administrator role between those sites, but you also don’t “merge with existing roles”
3. You add the editor role to an administratorIf that administrator also exists on any synched remote sites, then after the actions are fired they will only have role editor. And not the administrator role any longer!
This may be a fringe example and I know it’d be odd to add the editor role to administrator user, but something quite like this happened to us. And I believe we’ve been very careful and thoughtful.
I guess my points are that: 1) it might be better not to allow administrators to sync by default in any event; and 2) it’d be great to have the ability requested above to select which users / user roles are impacted – globally for all sync pairs, or on a case by case basis for each sync pair.
All that said, thank you again for this wonderful plugin Alexandre.
We really appreciate you providing it and hope our experiences and comments are helpful to you.
Sincerely,
Alex.Forum: Plugins
In reply to: [WP Remote Users Sync] Sync only specific user rolesHi again,
Yikes. It was definitely too late at night. I was using the wrong number of arguments in my add_action statements, e.g. should be:
add_action( 'wprus_before_firing_action', 'check_whether_user_sync_between_sites_should_proceed', 10, 3 );not:
add_action( 'wprus_before_firing_action', 'check_whether_user_sync_between_sites_should_proceed', 10, 2 );And should be 4 for wprus_after_firing_action.
I would welcome and appreciate any other feedback on taking this approach.
Sincerely,
Alex.Forum: Plugins
In reply to: [WP Remote Users Sync] Sync only specific user rolesHi there,
We’d really love to see this functionality added too. We only want the sync to happen for one user role.
Meanwhile, is this the right idea to implement what you’re suggesting above?
add_action( 'wprus_before_firing_action', 'check_whether_user_sync_between_sites_should_proceed', 10, 2 ); function check_whether_user_sync_between_sites_should_proceed( $endpoint, $url, $data ) { global $block_http_requests; $block_http_requests = true; if( ... user role checks out ... ){ $block_http_requests = false; } return; }add_filter( 'pre_http_request', 'short_circuit_http_request', 10, 3 ); function short_circuit_http_request( $preempt, $parsed_args, $url ){ global $block_http_requests; if ( ! $block_http_requests ) { return false; // i.e. Don't intervene so it can proceed as planned } // Otherwise, block the request: return new WP_Error( 'blocked', __( "HTTP request manually blocked due to disallowed user roles.", $this->plugin_name ) ); }add_action( 'wprus_after_firing_action', 'reset_http_blocking_after_checking_whether_user_sync_between_sites_should_proceed', 10, 2 ); function reset_http_blocking_after_checking_whether_user_sync_between_sites_should_proceed( $endpoint, $url, $data, $response ) { global $block_http_requests; $block_http_requests = false; }I ask because we’re getting an error when we update the user profile, so must have misunderstood something. … or it’s just too late at night as I write this 🙂
Would be grateful if you could let me know if anything jumps out at you.
Thank you!
Alex.
- This reply was modified 4 years, 6 months ago by theinnographer.
- This reply was modified 4 years, 6 months ago by theinnographer.
- This reply was modified 4 years, 6 months ago by theinnographer.
Phew! Been a busy week, but I wanted to write again to thank you both @pmenard and @morganhvidt for your help on this. Thanks too to LearnDash’s Jarett.
For those following along, the current version of Conditional Blocks + the next version of LearnDash to be released should fix this one for you.
Thanks all!
Alex.
- This reply was modified 5 years, 10 months ago by theinnographer.
Thank you again @frogerme. Awesome.
And just to clarify for anyone else this might help. The site on the main domain wasn’t visible at www. before Cloudflare but was visible there after it. And the sync did work before Cloudflare, did not work with it, and did work again after it was deactivated.
Hi @harishabib19,
Not sure of the details of your setup / design intent, but one way you might get by without custom development is to have each membership purchased assign a different user role, e.g. https://www.paidmembershipspro.com/add-ons/pmpro-roles provides functionality such that “New members will have their role set after completing checkout”.
Then use WP Remote Users Sync to sync the user roles between the sites.
Doesn’t provide full membership info / update on the remote site, but content could be shown by (synced) user role, e.g. with something like this: https://en-ca.ww.wp.xz.cn/plugins/content-control, which would be driven by the membership assigned / purchased on the first site.
Hope that’s helpful!
Alex.