It seems that my web host is becoming slower and slower. I’ve installed WP-Cache that caches the output in the blog which results in shorter loading time for the visitors. I’m using Counterize for website stats and to be able to run that together with WP-Cache I’ve had to make my own stats script that adds the stats without using any Wordpress functions. Since I had to make this change I took the opportunity to collect stats by loading the script via an image tag instead of loading it directly in the PHP. This is the way I did it back in the day. A benefit of this is that most bots aren’t logged since they don’t load the images, so there’s less maintenance needed for the bots exclude list.

The gallery is not a part of this caching yet. I’m going to make my own solution there when I have the time. Until then I’m afraid the long load times is something you’ll have to live with.

I’m happy to report that since I made my little alteration to the comment form I’ve had a total of zero spam comments. A couple of bots have been caught in the traps I’ve laid out, but most bots don’t even get that far. I know how I would develop the idea further, but I don’t have to worry about doing that until the bots figure out how to post the spam.


I’ve been getting an increasing amount of comment spam on this blog. You probably haven’t seen any of it since I use the Akismet spam filter, but it’s still a bit annoying to have to check the spam box for false positives (so few comments are made, so I want to keep every single one). I’ve been looking at different plugins for Wordpress that fight spammers in different ways, but they all have the same problem: as soon as they become popular, spammers will upgrade their bots to work around the protection. … Continue reading


Today I’ve written my first Wordpress plugin! It was surprisingly easy. I wrote a plugin that lets me add pictures from the gallery to my blog posts. I used to generate the HTML code for the thumbnails with a script and copy-paste that code into my blog post which is far from optimal. Now I let the same script generate a string like this: [\mrdeus_plogger:60,59,15,14] (without the backslash) and the plugin transforms that into the images below. The BoA image to the right is also generated by the plugin.

  • Cutie Nail 01
  • Cutie Nail 02
  • Cutie Nail 03
  • Cutie Nail 04

It’s generated on the fly, so any changes I make in the gallery are shown directly in the blog. It will also re-generate any missing thumbnails. Now I can take this off my to-do list, but while writing this plugin I found a number of bottle necks in the Plogger code the gallery is based on, so I’ll have to add a couple of new points to the list instead ;)


I was poking around my blog today doing some changes in the template and stuff and I noticed that my post with previews of BoA’s 2007 calendar was set to “private” which means that people who searched for “boa 2007 calendar” and ended up on my site never saw it! Argh! I’ll have to put a big warning in the template so that I can see clearly which posts are private in the future.


Today is an important day in the history of this site. I got my first comment spam! Yay, I’m popular! Luckily I installed Akismet a few days ago. “Luckily” if you didn’t want to hear about penis enlargment pills that is :lol:


I’m currently looking into some image gallery plugins I could use for this site. I was meaning to program the gallery myself. I was meaning to program the whole site myself, but I’ve come to realize that it would take me forever to make everything I want just the way I want it. Since I’ve settled for the Wordpress blog, I’m now installing plugins with the features I want. After I’ve tweaked the plugins a little and made my own site layout I’ll start filling this place with goodies. I got my J9 New + Party Collection CD today and it comes with some very nice images of Jolin Tsai that I’m eager to scan and put on the site.