By Cindy ( January 16, 2007 at 4:53 pm) · Filed under general
, plugins
, security
, spam
, upgrade
, wordpress
So there is yet another update to WordPress (now at 2.0.7), which I urge you to go out and get. If you have 2.0.6, you can get just the diffs to 2.0.7. If you are not up to 2.0.7, I strongly suggest you do so, as many of the updates since the 2.0 release have consisted of security fixes, not just whizz-bang features.
In the same vein, akismet is up to 1.8.1 (although their website gives an earlier version number, I had 1.8.1 after updating). If you have already installed it and are just updating it, all you have to do is unpack the new version in the same plugin directory, you are already set up with your API key and everything (their faq doesn’t make it clear what is involved in updating versus newly-installing, probably because it’s so trivial).
Plus which I use the plugin Bad Behavior for further spam killing (now at version 2.0.9). It works a charm. It’s also been pretty recently updated, so I suggest installing it if you haven’t got it, or updating it if you’re behind.
Permalink
By Cindy ( January 8, 2007 at 2:28 pm) · Filed under general
, upgrade
, wordpress
It’s a few days later, but I’ve upgraded my wordpress installation, and y’all should too. If you’re upgrading (as opposed to installing), you might want to check out Mark at Wordpress’ zipfile of changed files that makes upgrading much easier (and safer in some ways, especially with regard to the wp-content directory) than trying to use the whole enchildada from WP’s download repository.
Permalink
By Cindy ( October 31, 2006 at 5:18 pm) · Filed under general
, plugins
, wordpress
Paolo has been kind enough to translate into Italian an article I wrote detailing how to put together a simple wordpress plugin. The translation may be found here, and I have added the text to the article itself at the end. Thank you for your hard work; I only know a little Italian but it looks good to me & I’m pleased that its available to a wider audience.
Permalink
By Cindy ( October 30, 2006 at 11:03 am) · Filed under browsers
, css
, debugging
, msie6
, msie7
, wordpress
As I noted earlier, while IE6 displayed this site (in Nearly-Sprung) correctly, IE7 did not.
The reason is this: the bug in IE6 and previous that allowed the following CSS hack to work
* html .anelement { layout fixes }
has been fixed in IE7. However, many of the layout issues that were fixed in the escaped code have NOT been fixed. In my case the particular culprits were these:
/* Essential Layout (IE Fix) */
* html #leftsidebar {
left: 150px; /* RC fullwidth */
}
/* Hides from IE5-mac \*/
* html li {height: 1%;}
/* End hide from IE5-mac */
/* Hides from IE5-mac \*/
* html #postnavigation {width: 145px; height: 2px;}
/* End hide from IE5-mac */
IE7, like IE6, needs the left: setting, but as it no longer works with the * html escape (for an explanation of why this is, see the excellent article here) it is not getting these settings as it should. The result on my site was the left sidebar’s utter disappearance.
The workaround is to isolate the IE hacks into a separate .css file and call it with an escape that all IE derivatives still honor. (Wonder how long this escape will last…) While tedious, this is overall a better solution than embedding hacks within a css file. Such hacks can be relegated to a separate file which can later be removed when IE is finally fixed (these glasses seem awfully pink, don’t they?).
So, in general this is the way to fix such problems. I checked my css files for any instances of
* html
Some of these might be in a “holly hack,” which should be moved along with the rest of the markup.
I created a new css file, iehacks.css is fine, and dumped all the hacks into this file. Now, I removed all instances of * html (this is the crucial part, otherwise no improvement is seen for IE7). In my case, this new file wound up containing the following:
#leftsidebar {
left: 150px; /* RC fullwidth */
}
/* holly hacks to fix peekabo bugs in IE */
/* Hides from IE5-mac \*/
li {
height: 1%;
}
/* End hide from IE5-mac */
/* Hides from IE5-mac \*/
#postnavigation {
width: 145px; height: 2px;
}
/* End hide from IE5-mac */
(Note the holly hacks in the last two rules.) Now, I needed to modify my <head> element to include this css file, which was easily done via adding
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="iehacks.css" />
<![endif]-->
In WordPress, this meant modifying my header.php file (of course I made a backup copy of it first) as follows:
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/iehacks.css" />
<![endif]-->
I added this just before the call to wp_head. This would make a VERY simple plugin; I could create one if people wish. But this is pretty straightforward as is.
Update
Probably the best way to do this, allowing for testing in IE7 before proceeding completely, is to copy the suspect elements over to the new css file. Since IE7 doesn’t work with the current css file anyway, it doesn’t hurt to leave the elements in place while getting the iehacks file to work. Add the [if IE] call to the headers and check in IE6, IE7. Once everything looks okay, then remove the suspect elements from the original css file, one by one.
Permalink
By Cindy ( October 29, 2006 at 11:44 pm) · Filed under applications
, browsers
, firefox
, msie7
, ubuntu
, wordpress
Seems everything’s updating all at once –
Internet Explorer 7 for XP
Updated to this at work, no problems. Seems to be running just fine. I’ve snagged the standalone version for 6.0 so that I should be able to continue with testing/development on both. Sigh. Not quite at the point of setting up multiboot between XP and Vista, but we’ll see.
Firefox 2.0
Update on my Windows machine, no problems. Looks VERY nice. I appreciate the tabbing features except for the fall-off scrolling at both ends. I was prepared to hate the close tabs, but they only show up once the tab is active, which means I don’t hit them by accident the way I used to when I tried an older extension. I love the integration with the various feed readers, I was able to remove the Bloglines button and with the MiniMenu extension save some serious real estate on the top. Will be nice to upgrade to 2.0 on my laptop, where the real estate would really be handy.
Ubuntu 6.10
I had no trouble with upgrading from Hoary to Dapper, but a friend did. So this time ’round I’m sitting out the upgrade for a little while. And it sounds like Edgy has some rough spots, so I’m in no hurry. A fresh install may work better than an update over Dapper, but I’ll monitor it for a while longer.
Wordpress 2.0.5
Important security upgrade, you should do it — here and also here. It only takes a few seconds to upgrade if you use Mark’s diff zip file, which I did. Even with the potential bug (which he has a fix for), I would go ahead and update. Keep an eye on Mark’s blog for more info on 2.0.5.
Permalink