leojonathanoh
Forum Replies Created
-
Forum: Plugins
In reply to: [Lazy Load for Comments] Doesn’t work with Cloudflare@joelcj91 pretty sure on this one. When I got a 403 on a cached page I opened up Developer Tools and changed the <input llc_ajax_nonce>’s value to a newly generated llc_ajax_nonce on another page that I cleared the cache on, and it went through.
At least for now I applied is_user_logged_in so the nonce is not checked for non-logged in users
/lazy-load-for-comments/public/class-llc-public.phpif (is_user_logged_in()) check_ajax_referer( 'llc-ajax-nonce', 'llc_ajax_nonce' );
Perhaps we could add in a referrer check. Can’t suggest much since I don’t do WP development.
Forum: Plugins
In reply to: [Lazy Load for Comments] Doesn’t work with Cloudflaresame problem on cloudflare, a 403 seen on click of button.
but after down debugging i found out that it due to the well-known incompatibility between caching and nonces that the plugin uses on the front end of non-logged in users.
so i cleared stale cache (>24hrs) because a WordPress generated nonce validity is up to 24hrs. then each fresh page came a newly generated nonce which worked for anonymous users.
so the solution would be to either remove the nonce on the front end for non-logged in users, or to disable caching (CDN and/or caching plugins) for articles’ HTML which would be hard.
Joel, i read that best practices recommend using nonces for Ajax loading (your plugin uses a POST to admin-ajax) but since we’re not doing any puts or deletes so can we have an option to remove the nonce entirely?
Thanks for the great plugin!
Forum: Plugins
In reply to: [Social Connect] site load slowsorry, made a mistake, my webhost was throttling the site and this is probably not the fault of this plugin. Thanks for a graet plugin
Would love to have this fixed.
My guess is that it isn’t working on online emulators for phones as well as on my windows phone 7 tango ie9
Just to add, IE9 compatibility mode works, except the counter buttons are skewed toward the right and a bit off alignment.
Forum: Plugins
In reply to: [Digg Digg] [Plugin: Digg Digg] Disable Digg-Digg on Three PagesWould like to know too. I want to disable digg digg in certain pages but there is no options to do so.
Forum: Plugins
In reply to: [Custom Contact Forms] [Plugin: Custom Contact Forms] IE 9Hello, still no solution. IE9 is not displaying this correctly, just because of that spacing.
Forum: Fixing WordPress
In reply to: Problems creating submenus in TwentyTen and TwentyEleveni think this theme doesn’t support submenus. Not too sure but it hasn’t worked for me too.
Forum: Plugins
In reply to: [Custom Contact Forms] [Plugin: Custom Contact Forms] IE 9Hey same issue!! IE9 isn’t working. I figured that the html code’s has an error for all fields.
<input class=" ccf-tooltip-field" id="ccf_phone-1335722896" type="text" name="ccf_phone" value="" maxlength="30">
Notice the space just before the class attribute after the “. That probably breaks the styling.. but i dont know how to fix this. Chrome, firefox all are smart enough to display this correctly.
Absolutely same problem here! Only for latest posts! But it seems more complicated than that. Because posting a dummy post to act as the latest post does not fix the problem still. The formerly latest post “Like” still doesn’t post on the Fb wall