monkinetic weblog | redmonk.net

Since 1999, IX Ed.

Archive for the ‘WordPress’ Category

Making Dreamhost stats accessible with Wordpress’ rewrite rules

Tuesday, February 28th, 2006

I just upgraded this site to Wordpress 2.0.1, and my stats page at Dreamhost stopped working. This happened once before, and I had fixed it, so I had to go Googling for the answer again. Here it is for posterity:

Making stats accessible with htaccess.

I’ve also added it over at the Wordpress Codex:

Wordpress broke my site stats at Dreamhost

Flickr-powered pics

Thursday, December 1st, 2005

I’m playing around with FAlbum, a Wordpress plugin that pulls recent posts from my flickr account. It’s nicely done, though the documentation is somewhat lacking. I’ve added several recent pics to the top of the blog.

Dynamic Text Replacement

Friday, April 1st, 2005

I’m trying out a new plugin, from coffe2code, called Dynamic Text Replace. It’s a simple macro plugin for |WordPress|.

Google link: ::google(”steve ivy”,”Google me”)::

Amazon link: ::amazon(”0596009283/truerwords-20″,”Seth contributed to Firefox Hacks”)::

IMDB link: Jodi and I rented ::imdb(”garden state”,”Garden State”):: recently.

Wikipedia link: Yesterday I linked to ::wikipedia(”Pavaroti”,”Pavaroti”)::

So, that’s kinda neat.

More BlogPulse fun

Tuesday, November 9th, 2004

Hehe. I should tell Matt.

Testing: Image Uploading from MarsEdit

Friday, September 24th, 2004

cathedralRockMedium.jpg

This is kind of cool. MarsEdit will upload images to WordPress, if you install this patched version of the xmlrpc.php file.

BTW - this is Cathedral Rock, from our hike over Labor Day this year.

Upload additions diff

Tuesday, August 17th, 2004

Someone asked for a proper diff of my changes to upload.php in |WordPress|, so here it is:

upload_additions.diff

I’m a diff/merge idiot, so you’re on your own in using it.

WordPress: Thumbnail HTML addition for upload.php

Monday, August 16th, 2004

(This post is copied from this one on the support forums, I want to make sure my |WordPress| code has a home on this site.)

The Context: |WordPress| allows you to upload images, optionally creating a thumbnail of the image automagically.

The Problem: The handy HTML it gives you after uploading an image does not include any reference to the thumbnail.

The Solution: I modified wp-admin/upload.php so that, if you specify a thumbnail, it will find the size of the thumbnail and create HTML that displays the thumbnail image, wrapped with a link to the original image. It actually gives you two versions of the HTML - the first has the thumbnail code included, the second is the same HTML that the page used to generate.

There’s a pseudo “diff” here:

http://redmonk.net/uploadwiththumbnail_code.phps

I’d be very interested in feedback. I’ve tested it on my server, and it seems to work fine.