Categories
General

Contactz 0.2

The blank lines thing should now be fixed. If you’ve been using it and you have a bunch of blank lines, going to Edit and updating should get rid of them. To fix it easily, I made first name a required field – any objections? It’s also using Capabilities now, instead of Levels, so you should visit Options to make sure you like the capability I chose.

Download it: contactz.zip

Categories
General

Photopress 1.0.1

Watermarking is back, but as a plugin now! I’m pretty surprised it works, and I think it’s going to be a great way to add features without cluttering up the options and whatnot . If you’re interested in writing your own sub-plugin, take a look at watermark.php.

I think I fixed the query_posts error.

There’s now an option to replace the built-in upload tool with the Photopress upload/browse tool. I don’t love how it works, but it does seem to work.

Download it: photopress.tar.gz or photopress.zip

Update: To clarify about compatibility, I’m currently using this version with WP 2.1.2. It probably works with 2.1, but I wouldn’t expect it to work with anything earlier than that.

Categories
General

Upgrading WordPress using rsync

After the recent flurry of WordPress upgrades I started looking for an easier way to upgrade. This post at techites.com was a good start, but this comment on the post, using rsync, sounded much easier. Here’s the workflow I figured out:

  • wget http://wordpress.org/latest.zip (download the latest version)
  • unzip wordpress-XXX.zip (extract it)
  • mv wordpress [your-site's-folder-name] (rename the wordpress folder to the name of the folder your blog lives in on the server)
  • rsync -avrz [your-site's-folder-name] [username@server]:[path-to-blog-folder] (update the remote folder with the local folder)

Repeat the last two steps for each install you want to update. I’m sure it’s possible to write a script to do this for a whole bunch of installs at once if desired. You may want to test all this out on your local testing server beforehand.

Update: Jonathan’s right, Subversion is a VERY easy way to update WordPress…once you’ve got it set up. This Codex page describes the process. It’s easiest to do if you’re either just setting up your blog or if you only have a couple of plugins or themes installed. There are other benefits to using Subversion. You can easily switch from using the current release version to using the bleeding edge version, for instance to test out a release candidate. The WP Subversion repository also wasn’t affected by the recent security exploit, so there may be a security advantage.

Categories
General

Filez 0.5

I added a few features to make it more usable and configurable. You can now specify acceptable file extensions. I should probably do the MIME checking thing like in Photopress… It’s possible to change the visual editor icon if you’ve set the proper file/folder permissions – I included a couple of options. I switched over to using WP’s capabilities instead of the obsolete levels, but there’s no drop-down menu – you’ll have to check out the WP Codex if you want to see all the options. I left the Management page admin-only because I like it that way, but I can add an option to change that if there’s interest. I added the upload error handling stuff from Photopress. I’m using it now at my family blog, so there’ll probably be more changes once a few people try it out.

Here it is: filez.zip

Categories
General

Photopress 1.0

Please don’t take ‘1.0’ to mean I consider it to be perfect – I just ran out of 0.x space. This version does fix many bugs, including issues with editing categories. I know a bunch of you pointed out the problem, but when my mom noticed I had to fix it (no kidding).

The browse popup tool now has a drop-down menu for picking a page, which works much better with hundreds of images. In the process I fixed it so the filter choices are remembered, which makes a lot more sense.

Finally (I think), in the Mass Edit view the delete check boxes should be suppressed for images used in posts (if the right option is set). This makes it a lot easier to get rid of duplicates that aren’t used in posts. Oh yeah, there’s a new image for the visual editor icon. The old one is still there if you liked it better – poke around and you’ll find it.

Download: photopress.tar.gz or photopress.zip