Browsed by
Tag: wordpress

Playing with Themes

Playing with Themes

Evidently the pretty green theme did not play nicely with IE7. Thanks much to Traci and Vance for letting me know about it.

Hope this one’s better. Lorelei Bliss is a stand-in until I find or make something closer to what I want.

I simply can’t resist the name – or that sky.

Nite nite.

WordPress 2.5 Upgrade a Breeze

WordPress 2.5 Upgrade a Breeze

Wow. That was easy. One-click upgrade at DreamHost worked like a charm.

I’m a fan of version 2.5. The dashboard is more intuitive and easier on the eyes, and the one-click update function for plug-ins is going to save me a lot of time and aggravation.

So, I changed my template, too. Isn’t this cheerful and spring-like?

I’ve moved my sidebar texts into text widgets, so I might play a bit with other templates as well, since it won’t be the laborious task that it used to be.

Only a few little problems to figure out:

  1. The included gravitar support isn’t working. I’ve checked the little box, but no-go.
  2. For some reason, the Recent Post list is doubling up.
  3. MyTwitter plug-in is giving me a warning – although it’s working. Hmm.
VirusHead Updates and Tweaks

VirusHead Updates and Tweaks

I’ve been trying to troubleshoot to find out what is making the blog take so long to load. In the process, I’ve been updating and optimizing the new design. Here’s what’s new:

  • Imported the tag database from the Simple Tags Plug-in to the new native tags function of WordPress 2.3, deactivated the old plugin, and implemented the new Tag format in the template file.
  • Installed the Technorati Tags and Related Posts for WordPress 2.3, and implemented them. Got rid of the old Related Posts plug I was using.
  • Added the new sidebar code from Techorati.
  • Got rid of the users online code that I was using and installed the Users Online plugin. Added a page so that you can how many guests, users and bots are on the blog.
  • Updated the Text Links code, and added a “Feedvertise here” button on the sidebar.
  • Deactivated the Twitter plugin, which doesn’t work with WordPress 2.3 and has not yet been updated.
  • Deactivated the WP-Amazon plugin, which really really needs to be updated (get on that!). Also took off the context-sensitive ad because it was slowing things down.
  • Deleted the Sociable plugin, since I prefer the AddThis Bookmark code.
  • Deleted WP-PostRatings, just because it seems a bit silly.
  • Deleted the Kill Preview plugin because the new version of WordPress doesn’t need it.
  • Updated the All in One SEO pack plugin.
  • Updated the WP-DB-Backup plugin.

Still to do

  • See if there are updated options at Amazon.com.
  • Find out when the Twitter update is expected.
  • Change the styling of the “VirusHead” text header at the top of the left-hand column. I don’t like it.
  • Research new anti-spam options. If nothing looks very good, consider updating Peter’s Custom Anti-Spam, and trying it again. I haven’t used it in a while, but I’m getting some leaks over Akismet again.
  • Look at the css stylesheet and figure out why all the links are suddenly underlined. I want them bold in the post, and unstyled in the sidebar.
  • Get rid of the space before the Related Posts are listed. It’s not in the template, so check the php file.

Any other suggestions? Is anyone still getting a script error?

Love the Sphere-ing it

Love the Sphere-ing it

Did you notice that I’ve added a new plug-in under the sociables links at the bottom of each post?

The Sphere related plug-in is easy to install. It interconnects blogs and other media sources.

Try clicking one of the Sphere: Related Content links – a pop-up window will show you links to content that it thinks might be related to what you’ve posted. Very fun!

Get and rate Sphere: Related Plug-in

See all my Plug-ins.

Geeking Out

Geeking Out

Here at VirusHead, I have a different host than at work. If any of you use WordPress at Yahoo Small Business, this post will interest you. If not – really – skip it.

I had to spend almost two days addressing the problems of upgrading WordPress at Yahoo Small Business hosting. Even now, I can’t really update any of the plugins that came with the Yahoo installation because of some funky permissions thing they do.

The first time I tried to upgrade, I could no longer access the blog at all. All that came up was a blank screen in the browser. I couldn’t find a solution. I gave up. I backed up the database with MyPhpAdmin, and recreated the blog at Yahoo.

I was only able to upgrade thanks to the resources at the WordPress codex and users’ forum and some very helpful advice from the comment left here by Ray on the previous post,. WordPress has upgrading instructions here, with common installation problems here.

I’m not sure I would recommend that you even try to upgrade unless you’re really comfortable with the things on the following list. Yes, it’s very much out of date, and so are the plugins. It might make more sense just to have more people giving Yahoo some feedback on servicing their WordPress client offer. Believe me, I would rather have done a one-click update like I do on my own host!

I’ve documented all the bits and pieces. In case you really need to do this, here’s how.

  • First, update your plug-ins (Akismet will update itself in the upgrade).
  • Use the WordPress backup plugin to do a backup of your WordPress directory. Download it for safekeeping. You can also use your friendly ftp program to download the entire WordPress directory onto your hard drive, too. You’ll need this if – after all – you change your mind about upgrading.
  • Use MyPHPAdmin to export a back up your WordPress SQL database, too. Make several versions if you are unfamiliar with this. Make sure that use the right character set for export. If the upgrade fails, you’ll need this.
  • Go to the WordPress dashboard and disable all your plugins.
  • VERY IMPORTANT: From your WordPress backup on the hard drive, open the current wp-config.php file in the main directory. Delete the line “Define(’WP_CACHE’, true); //Added by WP-Cache Manager” and then save the file. Also save a copy of it under another name, like wp-configorig.php. You’ll need this file later.
  • Edit wp-config.php file in the main WordPress directory that you downloaded and change DB_USER and DB_PASSWORD with your yroot user and yroot password (the username and password you set up to administrate your databases. Ftp the new wp-config file.
  • Now run upgrade.php by browsing to http://YOURSITE.com/YOURBLOG/wp-admin/upgrade.php. It should succeed, in theory.
  • However, before you go any further, look at your blog and make sure it’s there. If you get a blank page, then you’ve put the wrong yroot user and password in the config file. Make sure it’s right and try again.
  • You may have to play with the permissions settings in MyPhpAdmin. Make sure that you have any needed permissions. Customer Care can help you with this part if you run into trouble.
  • If none of this is working for you, you’ll have to download the latest version of WordPress, ftp it up, and then run upgrade again.
  • Assuming that your blog is up, check to make sure that your category links and other links are displaying. If you see an error like [Unknown column ‘link_count’ in ‘where clause’], you’ve got to detour at this point (a web search on the exact phrase of that error will give you a sense of how many blogs are affected). If you’re upgrading from the version at Yahoo, there has been a major change in the way categories are indexed. I haven’t been able to find the perfect fix for this if the upgrade doesn’t do it, but there are two suggestions. The first didn’t work for me in MyPhpAdmin on Yahoo – perhaps because of yet more permissions issues, or maybe an older version of MySql – but you could try it because it’s probably the better fix:
    Run this SQL query:
    ALTER TABLE --database--.wp_categories ADD COLUMN link_count BIGINT(20) NOT NULL DEFAULT 0 AFTER category_count,
    ADD COLUMN posts_private TINYINT(1) NOT NULL DEFAULT 0 AFTER link_count,
    ADD COLUMN links_private TINYINT(1) NOT NULL DEFAULT 0 AFTER posts_private;
  • The second suggestion did work on Yahoo, but I hope it doesn’t mess anything up:
    First, save your home copy of wp-admin/upgrade-functions.php under another name, like you did with the wp-config file. Then, edit the original file and delete where it says
    // We are up-to-date. Nothing to do.
    if ( $wp_db_version == $wp_current_db_version )
    return;

    Ftp it up and run upgrade.php again. Then upload the original version of the file to restore it.
  • Now, go get the wp-configorigin.php you saved earlier. Rename it back to wp-config.php and ftp it up.
  • In your blog template, replace the current call for your blogroll with < ?php wp_list_bookmarks('title_after=&title_before='); ?>. Some of the older tags have been depreciated.
  • Enable your plug-ins one by one to make sure they are compatible. If something breaks the blog, use ftp or the online file management at Yahoo to delete the applicable folder from the wp-content/plugins.

Another problem that surfaced: The bottom navigation on the index page disappeared. Some think that it has to do with plugins as well. I’m not running a “sticky post” plugin, which seems to be the primary problem for others. There is also a thought that there might be an incompatibility between the upgraded Akismet plugin and the Yahoo hosting. In my case, I finally figured out that I needed to remove a hand-coded call to the FAlbum plugin (which isn’t enabled) on the Index page.

I still have minor problems. Do not attempt to use the newer version of the WP Cache plugin or the Yahoo version of the Customizable Permalinks Plugin! Keep them disabled or they will break the blog, and you’ll have to go back and do a lot of this again. You’re pretty much stuck with the versions of third-party plugins that Yahoo gave you. If they included them, it’s probably because they have set it up in some special way – if you update the plugin, it probably won’t work anymore. If you know workarounds, please comment.

Yahoo Small Business Blogging

Yahoo Small Business Blogging

When we moved to Yahoo hosting at work, I had hoped that the WordPress blogging would be a real service offered.

No-one in customer support knows anything about it, of course. There is no-one in charge of updating the WordPress installations.

Dreamhost and Bluehost both have one-click updates to the WordPress installation. Not only doesn’t Yahoo, but if you update manually, it breaks the blog.

WordPress as installed in the “Beta” is several versions behind, and there is no-one responsible to business owners for that service.

I put in a feature request some time ago, with no response.

After letting me know that they knew nothing, and had not power to do anything, and knew of no-one who had power to do anything, a representative at “Customer Care” finally gave me a number to call corporate headquarters for the team in charge of feature requests.

They gave me 408-349-3300 and said that once I called there, I would be directed to the right people.

Instead I got a truly rude operator who informed me that unless I had a specific name, she wasn’t transferring me anywhere.

And this is all for Small Business Owners! I’ve had to recreate that blog four times since we started there. What of the small businessperson who is less web-savvy than myself?

I’m really thinking about recommending that we use another host. We went to Yahoo for better reliability on uptime, but this is beyond annoying.

They need to either enable a one-click update, or else allow people to manually update.

The way it’s handled now is shameful. I am disappointed in Yahoo!