Paul Bunkham
Forum Replies Created
-
Forum: Plugins
In reply to: [Square Thumbs for User Photo] This plugin crashes WP 3.9If you update your square-thumbs-for-user-photo.php in the plugin directory with the contents of this:
the plugin will work again. I would have pasted just a diff, as there’s only 3 lines that have changed, but I’m not sure how to do that on here in a way that it could be easily applied.
Hi,
I’ve installed that development version, and it does fix the problem.
Cheers,
Paul.
Forum: Plugins
In reply to: [eShop] [Plugin: eShop] Shipping Method 4 Exclude ZonesThat’s a shame, that’s the one thing that eShop doesn’t do. I’m happy to hack about with the code a bit, could you point me in the direction of how I would make different shipping options available for different zones?
Cheers,
Paul.
Forum: Themes and Templates
In reply to: current_user_can not working with custom rolesWhich version of WordPress are you using? I think I’ve discovered a problem like this with user capabilities that is in 3.1. It had me stumped for a while and then I tried using 3.0.4 again and everything worked fine.
Worth a try if you’re on the development version.
Forum: Fixing WordPress
In reply to: Uploaded image ratiosThat’s a shame, I was hoping to control the ratio of the images generated as they’re uploaded. I’m sure I must be missing something…
Forum: Fixing WordPress
In reply to: Uploaded image ratiosHi,
Thanks for getting back to me. I suppose I’m looking for an automatic version of your solution, although does that generate a resampled image or does it just change the properties in the image tag that’s output?
The problem is that I can’t see where I can control the image resizing, as I can’t see any hooks in the code when the image size is being calculated. Writing some code to change the dimensions in the advanced settings could work. I’ll do some investigating.
Thanks again.
Forum: Everything else WordPress
In reply to: How To Sort From Older Post To New PostHi,
You can set the order as a parameter to query_posts, which is described here
Forum: Plugins
In reply to: Sortserialize and hash output problemOops, that’s wrong the last line should have read:
$('input[id=FORMFIELDID]').val(temp);Forum: Plugins
In reply to: Sortserialize and hash output problemDon’t know if you’re still looking for a solution to this, but you should be able to get the desired output by doing something like:
function serialize(s) { serial = $.SortSerialize(s); var hash = serial.hash; var temp = hash.replace(/sort3\[\]=/gi,'').replace(/\&/g,','); alert(temp); };and you can set the valud of a form field by swapping the alert call with something like:
$('input[id=FORMFIELDID]').val(s)