Custom filtering in the WordPress Manage Posts screen

This entry is part 4 of 5 in the series Pimp my Manage panel

This is the most recent post my series on customizing the Manage Posts/Pages screen. The first couple posts dealt with adding custom columns to the Manage Posts and Manage Pages screens and this post will demonstrate how one can add custom filtering to the Manage Posts screen using the restrict_manage_posts action.

Read the rest of this entry »

Würzburg International Film Weekend

Würzburg International Film Weekend Poster

Another year in Würzburg, another International Film Weekend. As I did last year, I bought a 10-pack of tickets a couple weeks before the festival took place. Unfortunately, I was only able to find time to use 5 of the tickets to actually see films, but I was happy with my choices. Here’s a quick run-down of what I saw and what I thought about them. There are probably some spoilers.

Read the rest of this entry »

Zensor 0.7.1 Released

In response to a bug found by shafeng, I’ve released a minor release to Zensor. It has the following big changes:

  • Removed a hardcoded database prefix. (thanks, shafeng)
  • Changed the minimum WordPress version required to 2.1. It was incorrectly set to 2.0.2. (thanks, Keith)

Download the new version.

WP Comment Notification, take two

I’ve updated the code that I published a couple days ago. It now supports multiple blogs and three notification methods:

  • Growl on Mac OS X
  • DBus on Linux
  • Standard out on any platform

Read the rest of this entry »

WP Comment Notification with AppleScript

A more primitive alternative to using a python script for notification about new comments is to just use good ol’ AppleScript. Apparently, it can do XML-RPC calls and Growl notifications out-of-the-box (with Growl installed, at least). The script below will go out and check for new comments on your blog. It’ll only do it once as I didn’t want to dig into this too much, but maybe it’s also possible to sleep in AppleScript.

Read the rest of this entry »

WordPress Comment Moderation Notifier for OSX

Matt Mullenweg mentioned earlier today a plugin/application combo that displays a system tray popup on Windows whenever you have comments awaiting moderation. He also expressed a desire to see something like that for OSX. I thought it’d be nice too and given the lovely weather, I had some time on my hands.

Here’s what I came up with. »

Using Django’s FormPreview with @login_required

As part of Django’s ‘batteries included’ philosophy, it comes with the FormPreview class to make it easy to automate this workflow: “Display an HTML form, force a preview, then do something with the submission.” Also provided is the @login_required decorator which makes it easy and obvious to mark functions as requiring a logged-in user. Both these features are awesome by themselves, but wouldn’t it be great to combine them and observe how much the awesomeness increases? Let’s give it a shot.

Bug patches for django-voting and django-tagging

As part of my top-secret Django project, I’ve enlisted the help of the django-voting and django-tagging packages to provide rating and tagging, respectively, to my models. These work wonders and serve their purpose to a T, however, I’ve come across a couple small bugs that I wanted to document here, in addition to the bug reports I’ve posted.

Read the rest of this entry »

Multiple File Uploads in Django

As part of yet-to-be-announced project, I’m working with Django. After only a couple days, I’ve been able to produce some pretty cool results. One of the requirements that I have is that a user be able to upload a bunch of files when editing a form. Using Django’s newforms package, I was able to quickly add the ability to upload 1 file, but I wanted the user to be able to upload as many as they wanted.

Read the rest of this entry »

Zensor 0.7 Released

I released Version 0.7 of Zensor a couple days ago. It can be downloaded from WordPress.org.

Read the rest of this entry »

Next entries » · « Previous entries