luigitec
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Wincher Integration Not AvailableWincher integration is currently not available on a Multisite installation.
Thanks!! I appreciate your help @mateuszgbiorczyk I’ll mark the thread as resolved.
Awesome, it did the trick, and just a WordPress question, if the
do_action
requires 2 parameters ($output_path
and$source_path
), can I skip those on the function?do_action( 'webpc_convert_after', $output_path, $source_path );
add_action('webpc_convert_after', 'myUploadFunction', 10) function myUploadFunction() { rsyncCommand(); }
This question is because if I’m not using the parameters, the IDE complains about it.
Thanks a bunch for the help, 5 stars rating =)
I tried using that one, but for some reason it didn’t work as I expected, did I use it correctly?
add_action('webpc_convert_after', 'myUploadFunction', 10, 2) function myUploadFunction($output_path, $source_path) { rsyncCommand(); return $output_path }
Hello @mateuszgbiorczyk
When I upload an image, I want to sync both the images under the
uploads
directory, and the ones on theuploads-webpc
directory to a new location via rsync, so, I’m looking for a hook similar towp_update_attachment_metadata
(WordPress), by the time it reaches that filter, the image and its thumbnails are already under the directory, then the rsync can be executed.wp-content |_ uploads/path/to/images/ |_original.jpg |_original-150x150.jpg |_original-300x300.jpg |_ uploads-webpc/uploads/path/to/images/ |_original.jpg.webp |_original-150x150.jpg.webp |_original-300x300.jpg.webp
By the time the images are created, I plan to execute the rsync command to copy those images into a single directory:
|_ different/location/uploads |_original.jpg |_original.jpg.webp |_original-150x150.jpg |_original-150x150.jpg.webp |_original-300x300.jpg |_original-300x300.jpg.webp
Current problem is, I’m just able to sync the images under the core uploads directory. So, I’m trying to find out if there’s a filter/action I could hook on this plugin to execute the rsync.
- This reply was modified 3 years, 3 months ago by luigitec.
Forum: Plugins
In reply to: [JWT Authentication for WP REST API] How we know the secret-keyYou use your own key
Forum: Plugins
In reply to: [WP Fastest Cache] Plugin is not caching files.Forum: Plugins
In reply to: [WP Fastest Cache] Plugin is not caching files.Thanks @emrevona! That did the trick, caching is working as expected =)
Forum: Plugins
In reply to: [WP Fastest Cache] Plugin is not caching files.Hi Emre,
Of course, the URL is:
https://www.nursinghomelawcenter.org/news
Everything under news is WordPress.
- This reply was modified 5 years, 2 months ago by luigitec.
Hi @vmarko sure, I apologize for the late response, I didn’t receive the reply notification. I’ll go ahead and do that, and keep you posted with the results, hopefully it gets fixed.
Thanks!
Thanks @johnny5 Yeah I did that, I believe I did it via WP-CLI, we have hundreds of blogs and it was kind of hard to do it manually.
I hope this gets fixed soon for WP-CLI.
Thanks!
Forum: Plugins
In reply to: [W3 Total Cache] Broken Dashicons on Admin pageI see there’s already an open PR on github to fix this issue:
https://github.com/W3EDGE/w3-total-cache/pull/20Forum: Plugins
In reply to: [KC Settings] PHP Strict Standards error – Is there a way to fix this?Hello @dealtek
Since there’s not an available update, on kc-settings-inc/options.php you’ve to manually update the following lines:
from
function start_el( &$output, $post, $depth, $args, $id = 0 ) {
to:
function start_el( &$output, $post, $depth = 0, $args = [], $id = 0 ) {
In my case, lines 172 and 161
Forum: Plugins
In reply to: [W3 Total Cache] Homepage issueHello Marko,
I resolved this by adding the .htaccess rules on the global scope (global virtual host file), this way, even if the htaccess file is not available, the rules are already.
In other hand, now that you guys have an official Github repository, I was thinking in sending a PR to check for the .htaccess file existance on every page_enhanced mod (…and if file doesn’t exist, create it).
Thanks for your help!
Forum: Plugins
In reply to: [W3 Total Cache] Homepage issueThanks Marko, this is a VPC, and I’ve root access, is there something I can do to make it allow mime type overwrites? I guess we need gzip compression for performance.