I’ve made a number of small updates to the Copperleaf Plus theme.

  • Added support for manual subscription if using subscribe-to-comments plugin.
  • Changed from deprecated function wp_list_cats to wp_list_categories.
  • Added support for “Identify External Links” plugin.
  • Moved option defines to theme options page.
  • Improved performance by reducing comment database queries.

Copperleaf Photolog Plugin Update

I’ve made an update to the CPL plugin that will hopefully help with performance by querying images for all the posts on a page at one time and caching the results. The size of the cache can be configured on the options page. If the cache isn’t large enough for a particular page, then it performs normal queries like it did before.

Wordpress Upgrade

Today I finally took the plunge and upgraded to Wordpress 2.1. This was a pretty significant upgrade but actually went well. I had to make some minor tweaks but nothing significant. Hopefully there will be a performance improvement. Let me know if you experience any problems.

Comment Subscriptions

Today I installed the subscribe to comments plugin which allows you to receive an email when new comments are posted.

I’ve made a small update to the Copperleaf Plus theme that will allow it to work with Wordpress 2.1.

Copperleaf Photolog Plugin Update

I’ve made another small tweak to the CPL plugin that adds a diagnostics tool to the bottom of options page.

The output is something like:

Cpl Diagnostics

* PHP Version: 5.2.0
* CPL Version: 0.12
* CPL Schema: 7
* GD Version: bundled (2.0.28 compatible)
* Exif Version: 1.4 $Id: exif.c,v 1.173.2.5.2.4 2006/10/10 22:22:43 tony2001 Exp $
* Convert Command: /usr/local/bin/convert -version
* Convert Result:
Version: ImageMagick 6.2.1 04/14/05 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC
* Photo Directory: /home/copperle/public_html/wp-content/cplphotos
* Photo Directory Permissions: 0755
* Photo Directory Owner: root
* System Umask: 0022
* Create Directory: passed
* Created Directory Permissions: 0755
* Create File: passed
* Created File Permissions: 0644

It’s been a while since I’ve posted anything. There’s no need to go into details here except to say there has been alot going on. Anyway, with the pending release of Wordpress 2.1, I needed to make a change to the CPL plugin to get it to work with the new release. While I was in there, I added a little feature that allows for photos to be grouped inside a post instead of only large group. Check it out.

DHTML Dialog

I’ve been playing around with some javascript and CSS for creating DHTML dialogs. It works on Opera, Firefox, IE, and Konqueror. I’m pretty sure it will work on Safari (if anyone can comfirm that).

Once I’ve cleaned up the code and documented references, etc. I’ll make a zip available.

Click on the sample image to go to the demo.

dialog.jpg

Inspiration and ideas from SubImage and Lightbox.

I’ve posted new releases to both the Copperleaf Plus theme and the Copperleaf Photolog Plugin.

The biggest change is that I’ve rewritten the “photo of the day” components to make them more efficient. I’ve also added two new modes: newestrandom & newestroundrobin. These modes will pick up the newest photo of the day if it’s posted in the last 24 hours. After that it returns to either random or roundrobin mode.

DHTML Calendar Update

A bug was found that was miscalculating the day of the week (Thx Leon for finding it). Additionally I set the minimum year to 1582 to align with the creation of the Gregorian calendar.

I’ve fixed the bug and posted the new release on the DHTML Calendar page.