Shaun Robinson
Forum Replies Created
-
Forum: Plugins
In reply to: [Enable Media Replace] Add a hook for CloudFlare file purgeHi,
I actually just realised that it would be more useful to get the ID of the attachment, instead of the guid. This is so I can purge all the generated image sizes as well as the main image.
Sorry to ask after you’ve already published it, but perhaps you could change it to:
do_action(“enable-media-replace-upload-done”, $_POST[“ID”]);
Forum: Plugins
In reply to: [Enable Media Replace] Add a hook for CloudFlare file purgeThat worked a treat, thanks. Will you be adding that to the next version? 🙂
Forum: Plugins
In reply to: [Enable Media Replace] Add a hook for CloudFlare file purgeThat does work in that it fires the hook, but $new_guid is empty. I will need the full URL of the new file so this is important. Do you have any idea why this is not working?
I’ve done the following:
Line 158 of upload.php:
do_action("enable_media_replace_upload_done", $new_guid);in my functions.php:
function upload_done_function( $new_guid ) { $email = 'my@email-address.com'; wp_mail( $email, "File changed", 'I just changed the following file: ' . $new_guid . ' I will now tell CloudFlare to purge it.' ); } add_action( 'enable_media_replace_upload_done', 'upload_done_function', 10, 1 );Forum: Plugins
In reply to: [CloudFlare(R) Cache Purge] Problems with W3 Total cacheI’m talking about the plugin “CloudFlare Cache Purge” which is designed to purge the post/page cache each time you update it, however because it triggers after W3C purges its cache, you need to save twice to make any changes.
Perhaps the need for this plugin could be taken away if W3C also purged single page caches from CloudFlare on save? This is if you have the PRO account and “cache everything” on all pages.
Forum: Plugins
In reply to: [Enable Media Replace] Add a hook for CloudFlare file purgeI just need somewhere in your code that I can hook into which runs after a file has been replaced. So as soon as the file has been replaced I can add in some custom code to contact CloudFlare and purge the file.
I’ve started a support request with JetPack.me and posted a URL there, I’d rather not put it on a public forum thanks.
Will you also be fixing the problem I have, where Facebook shows a blue “Gravatar” instead of the featured image?
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] Redirecting to https when I log outBoth.
I think the Force SSL Exclusively is only not working because I can’t change the setting. Is there an entry in the database I can just change to get this working?
But of course we really need to get the settings page changes working too.
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] Redirecting to https when I log outI have set everything in the plugin folder to CHMOD 755, no change
I am running PHP version 5.3.5.Interestingly I have made a complete copy of the site and deactivated all plugins except HTTPS and it works. I did a process of elimination to find out which plugin was causing problems and it is WooCommerce.
If WooCommerce is active, this problem happens. If I deactivate it the problem goes away.
Also, each time I activate or deactivate the WooCommerce plugin it asks me to log in again. Not sure why that is.
It is WooCommerce Version 1.6.5.2
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] Redirecting to https when I log outNo error logs are showing up for this error. Not sure how I can debug it now?
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] Redirecting to https when I log outI’m trying to switch debug mode on but when I tick the box and press save there is an error:
POST https://www.[..].co.uk/wp-admin/admin.php?page=wordpress-https 500 (OK) load-scripts.php:4
send load-scripts.php:4
f.extend.ajax load-scripts.php:4
b.fn.ajaxSubmit load-scripts.php:35
ajaxFormUnbind.bind.bind.i load-scripts.php:35
f.event.dispatch load-scripts.php:3
h.handle.iForum: Plugins
In reply to: [WordPress HTTPS (SSL)] Redirecting to https when I log outI just tried that, it seems the Force SSL is not working at all, pages are not redirecting to the non-SSL page.
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] Redirecting to https when I log outI’m using CloudFlare Flexible SSL if that makes any difference?
Yes they are. I’m also using CloudFlare for the SSL by the way (Flexible SSL, no actual SSL certificate)
Yes tried that, that just resets the settings and then when I turn them on again the problem comes back.
I assumed as this is the support forum for the plugin the developer will be reading this…