Oregon Reddit Button WP Plugin

by Steve, May 22nd, 2008


Update, September 2009: This plugin has been rendered obsolete by changes to Oregon Reddit. If I find the time, I’ll try to update it.

I was browsing links over on Oregon Reddit this evening, and I noticed that Mike Vogel‘s got an Oregon Reddit button on his post. Now, I’ve had a “Share This” plugin on this blog for a while, but I don’t even use any of those social bookmarking sites.

I do use Oregon Reddit, though, so I thought I’d figure out how he did it. As best I can tell (and being too lazy to just send Mike an e-mail), it’s a hacked version of the WordPress plugin Reddit Button. So I grabbed that plugin and hacked it to work with OregonLive myself.

In addition to making it go to our regional Reddit, I also made it a little smarter about filling in both the URL and the title on the submission form (the original only sent the URL).

Now, I’ve hacked WordPress plenty for my personal use, and this seems to work. But I’ve never redistributed a plugin before. This is GPL 2, free, open source software; use it as you wish, redistribute, whatever, but don’t be surprised if something doesn’t work like it oughta.

If you’re interested in the reddit documentation that this WP plugin is based on, I found it both at the Oregon Reddit site, and the more readable main Reddit site.

The original author did a nice job making this configurable to use any of the three Reddit buttons, and control where on your blog the button appears, etc.

Download Oregon Reddit Button, make it better, and send me your edits! Leave me a note if you like it or have any suggestions.

Update, May 23: I’ve tweaked the formatting a little bit to make it behave a little nicer, at least with my style sheet. The archive linked above now contains version 1.0.1 with these minor tweaks.

2 Responses to “Oregon Reddit Button WP Plugin”

  1. Pingback from A button for Oregon Reddit addiction:

    […] Steve, at More Hockey Less War, noticed an Oregon Reddit button on Mike Vogel’s blog, and investigated. […]

  2. Comment from Mike:

    Thanks for the linkage. I actually stole the code from Silicon Florist’s blog, but he doesn’t have the button on his site anymore. I’ll give your button a try.