markhuot
Forum Replies Created
-
Forum: Plugins
In reply to: [Facebook Connect] [Plugin: Facebook Connect] BugWoo! Just tested it and it works great so far. Thanks Valentinas!
Forum: Plugins
In reply to: [Facebook Connect] [Plugin: Facebook Connect] BugValentinas, you’re absolutely right. I’m pretty sure this is an issue in the latest version of Safari on OS X 10.6.5. When you sign into a service with Private Browsing on, then later disable it, it won’t let you sign out (or for that matter back in if your session times out). Nothing to do with your plugin, which is awesome by the way. I can’t wait to see how it evolves (hopefully with avatar support ;-).
Forum: Plugins
In reply to: [Facebook Connect] [Plugin: Facebook Connect] BugThanks Valentinas, I updated just to be safe, but it seems to have been an issue with Safari’s Private Browsing refusing to reset/release/create cookies.
Forum: Plugins
In reply to: [Facebook Connect] [Plugin: Facebook Connect] BugYou mention grabbing it from SVN, is that public and something you can share? I have a version that seems to work great if you’re already logged in but fails if you’re not. If you’re not logged in it just refreshes the login form (in the popup window).
Thanks!
Forum: Fixing WordPress
In reply to: Thumbnails not working, no error messages!Yea, the code above did get messed up. To revert back to GD 1.6.2 or anything before 2.0 you’ll have to replace the following two lines:
$thumbnail = imagecreatetruecolor($image_new_width, $image_new_height);
@ imagecopyresampled($thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $image_attr[0], $image_attr[1]);with this:
if (gd_version() >= 2) {
$thumbnail = imagecreatetruecolor($image_new_width, $image_new_height);
@ imagecopyresampled($thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $image_attr[0], $image_attr[1]);
} else {
$thumbnail = imagecreate($image_new_width, $image_new_height);
@ imagecopyresized($thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $image_attr[0], $image_attr[1]);
imagejpeg($thumbnail, substr($file, 0, strrpos($file, '/')) . "/temp.jpg");
$thumb = @imagecreatefromjpeg(substr($file, 0, strrpos($file, '/')) . "/temp.jpg");
}Then add the gd_version() function from above and you should be good to go. You’ll notice the code above is missing two forward slashes and fails to rename the ‘imagecoypresampled()’ function.