Posts Tagged ‘upgrade’

Top Commentators Widget upgrading works

Wednesday, February 20th, 2008

I am in the midst of updating the Top Commentators Widget, and have a few changes in mind for this:

  1. Modifying commentator queries based on e-mail addresses instead of URLs. I have read a few posts currently in the Web about how Top Commentators plugin can be hijacked by spammers, by way of typing in legitimate site URLs of honest commentators in a particular blog, then possibly inserting the spamming URL in the content of a comment. The suggested fix to this issue is to do queries of top commentators based on e-mail addresses, which are hidden from comments (as is most often practiced). I have suggested a fix that does just that in one of the comments of the Top Commentators Widget, but I have not tested it extensively. I’ll be doing so before releasing the next version of this widget.
  2. Fixing the unclickable form fields in the Control Form. There’s only one, really, that I have identified as problematic, and that is the “Specify number of days” field under the reset period. The problem is apparently caused by the label tag wrapping around both the reset period and reset day fields. I have redone that part in my current test.
  3. Option to list only commentators with URLs.
  4. Fix the exclude URLs field, which seems to not work the way it suppose to.
  5. (Added 4/Mar/08) Option to display or not display comment count.
  6. (Added 11/Mar/08) Option to set NoFollow on all links in the list.

There were a few more issues I would like to fix but which may be out of my control. For example, a few commented that changes were not reflected even when saved (this could be permissions issues or browser not refreshed after changes were applied), and the control form not showing at all (certain browsers can’t display the JavaScript-and-CSS-based form properly; you may want to try using a different browser just to make sure).

If you’re currently using the widget and have anything else to add before the update is released (probably end of March), please use the comment form in this post, instead of the widget home post, and I’ll see what I can do with the request.

  • Share/Bookmark

WebGrrrl.net now on WordPress 2.3

Tuesday, October 2nd, 2007

Hallelujah! I thought I couldn’t complete ironing out the kinks that WP 2.3 blasted on my blog by today, but I finally did it. The new database schemes definitely wreaked havoc on the site, particularly due to my heavy reliance on plugins. Yeah, I know I should have tried the upgrades out in my sandbox before putting the upgrade in production. Blame it on my overconfidence.

I spent most of my time trying to hack the Category Visibility Plugin-RH Rev (CatVis Rev) to no avail. My struggle has mainly to do with modifying the SQL so that the parent-child category support is reflected using the new category tables; now that a category’s parent ID is separated into a different table (term_taxonomy), I needed to do a tricky JOIN statement with the table terms in order for the plugin to function the way it should. I finally surrendered, browsed the 2.3 compatible plugins and got myself the Advanced Category Excluder which, although not as extensive as CatVis Rev, will do just fine for my blog as I only need category filtering on my front page and feeds.

Thank God the Top Commentators Widget is spared from the DB taxonomy change, or else that’s another headache to handle.

If you’re planning on upgrading to 2.3, here are a few handy tips:

  1. Download the WordPress Upgrade Preflight Check and run it to identify which existing plugins you have will work or won’t work with 2.3.
  2. If you’re unlucky and do have non-compatible plugins, go to the 2.3 Plugin Compatibility list to find out if you can get an alternate plugin that will work as well as your existing one.
  3. Do the same with your theme, if you’re not using the default WordPress version or if you didn’t create the theme yourself.
  4. Do a back up of both your theme and database before the upgrade; you’ll never know if you need to roll back to the older version if WordPress 2.3 doesn’t work for you. I don’t know of an automated way of downgrading should you need to. The manual way would be (at least that’s how I do it, and takes me around 15 minutes tops):
    1. Deleting all WP files, except wp-config.php file and the wp-content folder.
    2. Uploading your older versions of WP and theme, making sure not to overwrite wp-config.php.
    3. Logging into MySQL, drop all of the newer tables, and restore the backup database.

    If you use CPanel’s Fantastico, even better — just delete the install, including the database, and then re-install the whole thing again and restore your database using MySQL. That should take you about 7 minutes, based on my experience.

  • Share/Bookmark