Khang Minh
Forum Replies Created
-
OK, let’s take this one step further. Can you contact me via http://betterwp.net/contact/ ?
OK can you try each of the following and then reenable the friendly minify feature:
1. Comment out this section:
<FilesMatch "(\.css)$"> AddType text/css .css Header set Content-Type text/css </FilesMatch>2. Comment out this line:
AddOutputFilterByType DEFLATE text/css text/javascript application/javascript application/x-javascript
Forum: Plugins
In reply to: [Better WordPress reCAPTCHA (with no CAPTCHA reCAPTCHA)] Remove api.js?Opps sorry, can you try 99999? It must be exactly the same priority. Can I see the whole codes and which file did you put them into?
Forum: Reviews
In reply to: [Better WordPress Minify] This plugin did exactly what I was looking forOr even better: https://github.com/OddOneOut/bwp-minify/issues/35
Thanks for the review!
Forum: Plugins
In reply to: [Better WordPress reCAPTCHA (with no CAPTCHA reCAPTCHA)] Remove api.js?You’re almost there, use this instead:
global $bwp_capt; remove_action('wp_footer', [$bwp_capt->get_captcha_provider(), 'printRecaptchaJS'], 9);Notice the 9 priority.
You can put this in your theme’s functions.php file, but only remove the action for non-contact pages (you can use
is_page()to do that).Forum: Plugins
In reply to: [Better WordPress Recent Comments] Recent Comments not refreshing!Thank you for your effort. Have you tried adding more compound indexes as this answer http://stackoverflow.com/a/32916748 suggested?
Forum: Plugins
In reply to: [Better WordPress Minify] BWM and WP Engine Compatibility@bjwilson22 what I want to make sure is staging and live have same nginx rules. Hopefully you can get the nginx.conf file.
Hmm all look good to me. What is in your main .htaccess file (i.e. the one in the root of WordPress?)
Forum: Plugins
In reply to: [Better WordPress Recent Comments] Recent Comments not refreshing!The comments grouped by post feature is expected to be slow, especially when you have that many comments. The query is different in the next version but I’m not confident that it will be faster, but will let you know when a beta version is ready.
Are you using nginx for anything? If not you’re probably having a different issue. Are you using WordPress multisite and you’re on a subdomain?
Can you try changing the cache directory to
wp-content/cache/minify? In fact any folder underwp-contentis ok. And of course, please re-enable “friendly minify url” to check.If you can post your
.htaccessfile’s contents here that would be great. Thanks.I can’t seem to reproduce the issue with your setup. Can you contact me via http://betterwp.net/contact/ ? We shall continue discussion there.
I can’t seem to reproduce the issue. Couple of questions:
1. What version of CF7 are you using? If you’re using the latest, have you configure its built-in recaptcha integration?
2. What CF7’s shortcode tag are you using?[recaptcha]or[bwp-recaptcha]?What do you see when you visit http://ask.fitforlife.fr/cache/minify-b1-bootstrap-0f8daac43b4dc6a234767952b48b7f8c.css ? If it’s an HTML page, my guess is something on the server is messing with this particular file/url pattern.
Did this happen right after you update the plugin to 2.x? Do you add the captcha to anything else (the comment form, for e.g.?) and if so does it work in those forms?
In order to debug this more easily, you can open two browsers, one as a guest, and one as an admin (tick “remember me”). In the admin browser, enable/disable the plugin and in the guest browser you can try to login without having to use FTP.
Also, if possible, please add this line:
var_dump($response->getErrorCodes()); exit;
to
bwp-recaptcha/includes/provider/v2.php, before line 97, and then try to login again and post the output you see.Thank you for all provided details.
Forum: Plugins
In reply to: [Better WordPress Recent Comments] Recent Comments not refreshing!That feature is already implemented in my dev version, please follow updates here: https://github.com/OddOneOut/bwp-recent-comments/issues/4