RSS2.0 Feed button

"I have often depended on the blindness of strangers."
Adrienne E. Gusoff

Sam Devol

Running with Scissors

Reading This

Quick look at WordPress issues in July:

Posted on July 29th, 2006

wp-button-4.png WordPress 2.0.4 was released on the 29th. With over 60 bugs squashed since 2.0.3 (including what little substantive portion there was of Dr. Doom’s(sic) “OMG-The-Sky-Is-Falling” reference) this is the most secure, stable release or WordPress. Upgrade now. Shh. Zip it! Just do it. In addition, Mark Jaquith has posted a 2.0.3 > 2.0.4 changed/diff list and .zip (especially handy for custom sites and multiple upgrades).

Admin Autumn Theme Version 2.0 was released on the 23rd. 2.0 has optimized CSS, better IE6 rendering and menu icons.

Bad Behavior is at 2.0.4 now. I wouldn’t manage an internet blog without it. However, if you have “Display statistics in blog footer” then to validate (and look right for my theme) I had to change line 138 of bad-behavior-wordpress.php to: echo sprintf('
%1$s %2$s %3$s %4$s’, __(’Bad Behavior’), __(’has blocked’), $blocked[0]["COUNT(*)"], __(’access attempts in the last 7 days.’));
I removed the

and changed the leading

to
.

“Activate this and you have phpMyAdmin in your WordPress admin pages,”

Came across a rockin’ plugin released by Chris Hwang, WP-phpMyAdmin. Activate this and you have phpMyAdmin in your WordPress admin pages, same interface, colors and layout… I love it, and if you ever find yourself bouncing between the admin pages and phpMyAdmin, you’ll love it too. Damnit. ;’) Careful when installing, some users are digging too far into the zip file (directory structure should look like wp-content/plugins/wp-phpmyadmin NOT wp-content/plugins/phpmyadmin.

Dagon Design’s Secure Form Mailer Plugin For Wordpress is at 4.2 now. I’ve had good success with this, and it allows me to have multiple forms/layouts as well…

I’ve been having fun with the Hot Dates Plugin for Wordpress

Some time ago I changed the lyrics displayed by the ‘Hello Dolly’ plugin (distributed with WordPress) to “Papa was a Rolling Stone” by the Temptations ;’) Sharing it now, for those interested. Hello Dolly plugin with different lyrics.

Trevor has added Arabic to his Translator Widget.

Ultimate Tag Warrior 3.14 was released, note:

- Mark wrote a thing which caches tags, so a whole-bunch less database queries will take place. Thanks Mark! (:
- There?s a shiny new option (on the options page) which will automatically include the appropriate tags in a meta keyword field, in the page header.
- I think I?ve fixed the thing with tag suggestions that was causing javascript errors for people. (Also, you can push both buttons and both sets of tag suggestions will display)
- There?s also a new predefined format that will create a tag cloud in the form ordered list of coloured/sized tags. It?s called tagcloudlist. It?s not as important as the other three, but someone wanted one, so there you go.

I noticed a changed Sidebar Widgets was released. This one has a version number of 1.0.20060711.

About a month after my release of the About Me widget for WordPress there have been over 300 downloads and 6 revisions (thanks for the feedback!).

Related Posts:

17 Users Commented on " Quick look at WordPress issues in July: "

Subscribe to these comments Comment RSS or TrackBack URL
Martin says,
7-29-2006 at 18:48:51 from 172.188.79.187    

Hi Sam,

I follow your blog (and darn good it is too).

I’m hoping you, as a WP guru, may be able to point me in the direction of an answer to an annoying problem.

I use widgets for my sidebar, and thus the old code in the sidebar.php, which excluded much of the sidebar except on the homepage, no longer works.

Is there anyway you can exclude some of the sidebar menu when using widgets? Any clues would be lovely!

Cheers.

Sam says,
7-29-2006 at 19:53:42 from 65.78.97.147    

Really good question that I don’t have an answer for :-(

You can have multiple ‘widgetized’ sidebars in one theme, so why not qualify which is displayed according to whether is_home() or is_page()?

Unfortunately you can’t duplicate widgets on both sidebars and I suspect that may reflect the real issue/conflict with this approach.

I’m going to cc this back to the thread you already started at http://wordpress.org/support/topic/81313?replies=1 and see if we can’t get some better ideas there…

Martin says,
7-29-2006 at 20:06:34 from 172.188.79.187    

Thanks, Sam.

I’ll follow the progress (or lack thereof…) over in the WP support forums.

I’m actually quite amazed this hasn’t already had a thorough going over since widgets were implemented; evidently people didn’t feel the need for it!

Sam says,
8-1-2006 at 11:43:17 from 65.78.97.147    

Posted there and will add for continuity here: WP won’t do this natively, but this plugin looks pretty good for the job:

Sidebar Modules

nita says,
8-2-2006 at 04:13:53 from 69.250.166.77    

I modified the about me widget to allow for my “Adventures in Discretionary Money”. You can see it on my page

8-2-2006 at 20:48:58 from 207.88.114.210    

This is off-topic, but I couldn’t reach you via your Contact page (there’s an error with the validation image code).

I ran into the same problem you posted about on WordPress.org about Widget and Page and XHTML validation. I solved it after tracing the problem back to /wp_content/plugins/widgets/widgets.php, line 54. My custom stylesheet didn’t even use the widgettitle class, and the escaped quotes around it were driving me nuts. At line 54, remove the class=”widgettitle” part and you’ll validate no problem, unless your theme relies on it being there.

Sam says,
8-2-2006 at 21:53:48 from 65.78.97.147    

nita: Very cool!

Jacob: Between upgrading widgets.php and 2.0.4 the problem went away ;’)

I did add a ‘widgettitle’ class to my test site, experimenting with bg’s for the titles, so I’m glad this got resolved.

Thanks for the heads-up on the contact form, just updated it and ASSumed it was fine! All better now…

8-7-2006 at 23:32:37 from 71.145.157.74    

I got the following error message when I tried to include my picture in the widget:

Warning: getimagesize(): URL file-access is disabled in the server configuration in /home … /kilcrease.com/blog/wp-content/plugins/widgets/aboutme.php on line 35

Warning: getimagesize(http://kilcrease.com/ … Portrait 120X150.GIF): failed to open stream: no suitable wrapper could be found in /home … /kilcrease.com/blog/wp-content/plugins/widgets/aboutme.php on line 35

The Dreamhost documenttion recommended a cURL change in the code, but I couldn’t find where to put it in your code. Do you have any suggestions?

Thanks,
Worth

Sam says,
8-23-2006 at 08:39:19 from 65.78.50.139    

Worth: I don’t, not yet at least. Still trying to see about implementing a cURL wrapper. I will probably send you an email directly as soon as I get something ‘testable’.

Gal says,
8-29-2006 at 20:48:20 from 84.94.173.240    

Hi
I got a same error message:
Warning: getimagesize(): URL file-access is disabled in the server configuration in /home/content/XXX/html/wp-content/plugins/aboutme.php on line 35

Warning: getimagesize(http://www.XXX): failed to open stream: no suitable wrapper could be found in /XXX/html/wp-content/plugins/aboutme.php on line 35

Sam says,
8-29-2006 at 22:07:43 from 65.78.50.139    

Gal: Adding you to that email ;’) I really hope to get something done this week. I want to make sure it will still work in non safe_mode environments…

Gal says,
8-30-2006 at 01:04:24 from 212.150.188.226    

Thanks!

Danny says,
9-10-2006 at 10:17:49 from 132.178.197.235    

Sam: Tack me on the list, too ;)

This getimagesize CURL stuff is killin’ me, and there is NO documentation in the entire internet that makes sense to me.

If you come across a working solution, please let me know!

Thanks again.

Billy says,
9-20-2006 at 00:15:12 from 69.22.233.139    

Yup, ran into this Deamhost / getImageSize() too when i migrated my site from MT to Dreamhost. As nice as the Dreamhost folks are, they couldn’t help me out here…

Anyway, I found a way to deal with this - its pretty damn ugly, but ill describe it quickly here.

Using curl, you can suck the image into memory, then write it to a local file, then perform getImageSize() on it.

Here’s a quick snippet that gets the image size of an image off flickr:


$ch = curl_init();
$timeout = 5; // set to zero for no timeout

curl_setopt ($ch, CURLOPT_URL, 'http://static.flickr.com/81/241245048_ae78cfa7f7.jpg');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$file_contents = curl_exec($ch);
curl_close($ch);
$fp = fopen("temp.jpg", "w+");
fwrite($fp, $file_contents);

$parts = getimagesize();
print_r ($parts);
exit;

My situation is a mess, because I am running this on a flickr image for users to my site. This means I have to create a temp work space and give these files a unique name, then delete them.

I’ll post a full description to my blog (http://www.slowerbetter.com) when i get this ironed out for anyone who needs it.

Billy

Sam says,
9-21-2006 at 07:14:49 from 216.164.16.166    

Billy: Thanks for the comment… What if the server isn’t using safe_mode/cURL? Is there a test/conditional for that?

Bubs says,
7-5-2007 at 17:43:13 from 71.228.180.87    

Sam: I think if (!function_exists(’curl_init’)) should work :)

Sam says,
7-19-2007 at 05:19:08 from 151.197.17.59    

Thanks Bubs!

Leave Your Reply Below

 Username

 Email Address

 WebsiteI follow icon

About The Site

myimg

Observations of a Troubleshooting Monkey and

ex IT Director

ex Digital Video Director

ex Missile Mechanic

ex Motorcycle Mechanic

Work Background Contact me

This blog contributes to the web with Nofollow Reciprocity.