nunosaraiva91
Forum Replies Created
-
Forum: Plugins
In reply to: [Web Stories] Offload Media Lite don’t work for Poster imagesHi @adamdunnage I was expecting some feedback from your side about you being able to reproduce this problem.
As it seems there are more cases like this, considering @pablodias replies to this thread.
In the mean time, I was able to “fix” this problem by str_replacing the “bad” URLs with the wp_get_attachment_url hook as I mentioned in the reply above.
Forum: Plugins
In reply to: [Web Stories] Offload Media Lite don’t work for Poster imagesHi @adamdunnage my hosting provider is DigitalOcean and I’m using 2 web-servers (droplets) with 1 loadbalancer and 1 Managed Database.
That’s why I need to offload everything to a CDN and not keeping files on the filesystem, so my web-servers are pure atomic and stateless. That enables me to replace them with new servers everytime I need to publish a new version
Forum: Plugins
In reply to: [Web Stories] Offload Media Lite don’t work for Poster imagesHi @luckynasan
I don’t have any public URL with this problem at the moment as having this problem in production is not ideal. Is it strictly necessary? If yes I’ll try to have one isolated page with that.
Either way, I’m fixing this problem by using the hook “wp_get_attachment_url” and fixing each URL with this pattern:
if (str_contains($url, 's3euwest1://cdn')) { $url = preg_replace('/^.*s3euwest1:\/\//', 'https://', $url); } return $url;
which is not ideal at all, but it works while I figure a proper solution to this.
And just to explain what output I get on the frontend when using the “stories” block on the Gutenberg editor is basically that widget with broken poster images with the following URLs:
https://<my-domain>/app/uploads/s3euwest1://cdn.<my-domain>/uploads/2022/10/<image-name>.jpeg
Clicking on each story from the widget, works as expected (opens the story), but the poster image is broken
Let me know if you still need a public URL with the Gutenberg “stories” widget.
Thanks!
Forum: Plugins
In reply to: [Web Stories] Offload Media Lite don’t work for Poster imagesHi @luckynasan !
I’ve just filled out the form with the requested information.
Thank you for your support!
Forum: Plugins
In reply to: [W3 Total Cache] Save settings on DatabaseThat’s awesome! thank you very much.
This will help me a lot!
Cheers!
Forum: Plugins
In reply to: [Nobs ? Share Buttons] PHP 8 IncompatibilityIts working now!
I reviewed and it seems all good ??I’ll be trying it out and will let you know if I find any other issue
Thank you once again for the fast response
Cheers!Forum: Plugins
In reply to: [Nobs ? Share Buttons] PHP 8 IncompatibilityThank you for your fast feedback!
I’ll stay tuned for more updates ??
Cheers!
Forum: Plugins
In reply to: [Advanced Ads –?Ad Manager & AdSense] PHP 8 IncompatibilityIt Worked!
Thank you!
Cheers
Nuno Saraiva