Browsed by
Tag: plugins

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?

Blog Adjustments and New Plugins

Blog Adjustments and New Plugins

VirusHead Blog changes and updates:

  • WP-EMail – You can email any post now. There’s a link at the bottom of each post that will open a pop-up window, and there’s a tally on the sidebar of the most emailed posts. At the moment, there is only one. I sent myself the Green Day post to test the system. It’s like butter.
  • Simple Tagging: I decided to go with the Simple Tagging Plugin rather than continue to use Ultimate Tag Warrior – Simple Tagging is easier for me to use, and it has a lot of features that I really like. The Technorati tags link directly to the tag page at the – guess what – Technorati site, and the others link internally to a page of all the posts with the chosen tag. The extra features I like (and I’m not using all of them) are the ability to list a specified number of related posts, the little menu of suggested tags, and the auto-complete type-ahead dropdown menu to add tags. I never used the heavy Yahoo tag suggestions in UTW. I prefer to do my own indexing regardless of the popularity of key phrases.
  • Bad Behavior – I’ve installed this plugin as a first line of defense against spambots. Akismet is already installed to pick up most of the rest. Some people were having trouble every once in a while with seeing the verification image used by Peter’s Custom Anti-Spam. I love Peter’s plug-in, especially since you can add your own words as verifiers; I made up words for fun every once in a while. Still, it’s not worth it if anyone has trouble. I’ll see how well the Bad Behavior/Akismet combination works out. At the moment, Bad Behavior has blocked 3659 access attempts in the last 7 days. The total can be, and is, displayed in the footer.
  • Recent Comments List – updated to version 1.9.

You can see all the plugins that I’m using at any given time (care of WP-Plugin List) here.

To Do:

  • Create a separate page with Simple Tagging tag cloud. I don’t really want it on the sidebar. I’ve read the documentation, but the page template they refer to simply doesn’t appear and I’m a little stymied. I’ll do a little more research on that. Done 5/27 – but I still need to play with the format.
  • Consolidate some of the tags – there are far too many and there is a lot of topic overlap. I still have some hundred or posts that don’t have tags at all.
  • Now that this design is well and truly complete, I’m getting tired of it. It would be a real pain to change it now. I’m not using the WP widgets yet – everything has been hand-inserted except for the features that originally came with the SeaBeast theme. I would like it very much if I could figure out how to put the two sidebars on the left while keeping them SEO-friendly. I just prefer to read text that is on the right-hand side of the page.
  • Experiment a little bit with web-friendly fonts. Is there a better one than I’m using?
  • Figure out how to make the font a little smaller in the footer display of Bad Behavior. Never mind. I just adjusted the code in the plugin.
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.

Blog Changes

Blog Changes

Ok – I think I’ve got the basic template tweaked enough for now. I’ve added ratings and a post readers count.

If you weren’t able to access the blog yesterday, it’s because I lost all my previous changes to the template when I upgraded my version of WordPress. What a pain. When I downloaded the backup, it was somehow in the wrong format. I basically had to cut and past sections into Notepad and edit each template page by hand.

There are still some troubled bits of script that I want to display, but there’s quite a lot going on right now (including baby kitty care) so I’ll see how this works for a bit. I’ve got a new page that lists my plug-ins, and I really like the new contact form.

Feel free to contact me with any questions or comments, using the blog commenting system or the contact form.