Archive for March, 2005

WP Subscribe To Comments updated

Thursday, March 10th, 2005

A huge huge thanks to Mark - who took it upon himself to update the WP Subscribe To Comments plugin. Many of the issues people were having should now be fixed.

(Please note that with this latest version - support for WP 1.2 ceases - but the previous version of subscribe to comments worked fine with that version, and is still available for download. So - if you haven’t upgraded WP to 1.5 - you don’t need to do this upgrade)

Photo Plugin

Wednesday, March 9th, 2005

I haven’t been posting any plugin notifications (not that weren’t mine anyway) basically because Weblog Tools Collection and Blogging Pro do a much better job of that. But once in awhile I need to make note of a plugin that I KNOW I’m going to want to use.

PhotoPress
(quoted from that site) “Photopress is a plugin that adds a set of helper tools to Wordpress to make working with images much easier. It adds a pop-up uploader and a pop-up image browser to the posting page and a groovy random image function for your template.”

[found via Weblog Tools Collection]

RewriteEngine Tutorial

Tuesday, March 8th, 2005

Needed to do some fancy footwork with htaccess and rewriting urls for redirection. Found this tutorial on yourhtmlsource.com, which so far seems pretty simple to understand and helpful.

Image as buttons (and IE issues)

Monday, March 7th, 2005

Oh, this one was going to drive me NUTS! I had to use images as buttons in a form. That’s easy enough:

<input type="image" SRC="blahButton.gif" ALT="blah" name="blah" id="blah" value="blah" />

Which works fine when simply submitting the form when there’s ONE button. But on one page I had TWO buttons. The form would submit to itself, and then depending on which button was clicked, I would handle the form as appropriate. Worked fine in firefox - nothing happened in IE. I found this page in a search.

What I had been doing was simply (in php)

if (isset($_POST["blah"])) {
//do stuff
} else if (isset($_POST["blahblah"])) {
//do different stuff
}

What fixed the problem was changing that code to this:

if (isset($_POST["blah_x"])) {
//do stuff
} else if (isset($_POST["blahblah_x"])) {
//do different stuff
}

Now my form works…