pbrink
Forum Replies Created
-
Forum: Plugins
In reply to: [Imsanity] [Plugin: Imsanity] Is the XMLRPC supported?Happy to help! Love your plugin, I disabled Resize at upload and network enabled your plugin for the 2000+ blogs on my network :D. This will be a good test for the fix :-).
Cheers,
PieterForum: Plugins
In reply to: [Imsanity] [Plugin: Imsanity] Is the XMLRPC supported?Oke.. Strange thing..
So I started looking in the code and the error and added one check to the plugin. At this point the Android WordPress App is working.
I changed the following two lines in imsanity.php.
- added && file_exists($oldPath) to the if on line 87
- moved line 89 $oldPath = $params[‘file’]; to line 85
The code around line 88 looks like this:
// make sure this is a type of image that we want to convert
$oldPath = $params[‘file’];if ( (!is_wp_error($params)) && file_exists($oldPath) && in_array($params[‘type’], array(‘image/png’,’image/gif’,’image/jpeg’)))
{// figure out where the upload is coming from
$source = imsanity_get_source();The only thing I added is checking if the oldpath image exists, if not then do not resize.
Could you check this code and test it on your Apple.
Hope it helps,
PieterForum: Plugins
In reply to: [Imsanity] [Plugin: Imsanity] Is the XMLRPC supported?I was checking the code and thinking about a fix. But perhaps the easiest fix would be to not resize pictures uploaded through a mobile app. Because the mobile app will doe the resizing of the pictures before sending.
Let me know what you think.
Forum: Plugins
In reply to: [Imsanity] [Plugin: Imsanity] Is the XMLRPC supported?That was a quick test.
After activating the plugin on my WPMU site (3.1). I opened the android wordpress app and created a new post with an image in it.
When I press publish on the app the post is publish but the app gives the following error:
org.xmlpull.v1.xmlpullparserException: PI must not start with xml (position: unknown ize(wpid-1331591232.jpg): failed to open stream: no such file or directory in /home/g/public_site/wp-content/imsanity/imsanity.php on line 96 @ 2:5 in java.io. InputStreamReader@4050bd58)
Hope you can fix this, if there is anything I can do let me know. I really love your plugin!
Thanks,
PieterForum: Plugins
In reply to: [Imsanity] [Plugin: Imsanity] Is the XMLRPC supported?Hi Marikamitsos,
I read your post on WPMU. Let me activate the plugin on my live website and re-test this.
Cheers,
PieterForum: Plugins
In reply to: [CubePoints] [Plugin: CubePoints] MultisiteGood question, I’m hoping to find a answer on this to… I’m using multisite subdomain setup voor a 1500+ blogs setup and would love to enable cubepoints on it.