Andrew Ferguson
Rejecting Your Reality and Substituting My Own Since 1986
WordCamp Denver

Last weekend I attended WordCamp Denver, the “conference created for enthusiasts, users, developers, designers, and fans of WordPress“. It was basically a time to geek out with fellow programmers, developers, and bloggers.
For me, the highlights were Matt Mullenweg’s State of the WordPress, Ben Huh’s I Can Has WordPress, and learning about the Carrington Theme Framework. I also got to meet (and have a quick photo op) with Matt, Ben, and Lorelle VanFossen. Matt even took a picture of me…well, my t-shirt at least.
It was also great to finally meet Alex King and most of the rest of his crew (Devin, Shawn, Sean, Gordon, and Jeremy) at Crowd Favorite. They did a great job organizing the event and without them this would have never gotten off the ground. I also think that if I ever got tired of engineering and wanted to do web development full time, Alex/Crowd Favorite would be the first person I’d talk to.
Interesting side note: Alex grew up in Seattle just around the block from me. Small world, eh?

Me and Matt Mullenweg

Lorelle and Me

Me and Ben Huh
Per usual, you can see the rest of my photos on Flickr at: WordCamp Denver
You can see the rest of Matt’s photos at: http://ma.tt/2009/02/wordcamp-denver/
And you can see all photos tagged with “wordcampdenver” at: http://flickr.com/photos/tags/wordcampdenver/
By the way, I think Matt Mullenweg is infinity better/cooler/more awesome than Mark Zuckerberg. And I feel safe in saying that without actually having met Mark. Two words: Open. Source.
Tags: Alex King, Ben Huh, Crowd Favorite, Devin Reams, Gordon Brander, Jeremy Harrington, Lorelle VanFossen, Mark Zuckerberg, Matt Mullenweg, Open Source, Sean Klein, Shawn Parker, WordCamp Denver, Wordpress
New Plugin: WP Plugin Data
For better or worse, I’ve released a brand new plugin. It was one of those things I did spur of the moment because I wanted to implement something and the way I wanted to do it wasn’t available (insert some comment about necessity being the mother of invention here).
The new plugin is WP Plugin Data. It’s designed to use the WordPress.org Plugin API to get data about a specific plugin. John Blackbourn already wrote a plugin, Plugin Info, that does something similar. However, it requires that you set a Custom Field to the plugin name. I didn’t like this approach because I could only grab data for one plugin per a page.
So, using John’s plugin as a template, I wrote my own plugin that used shortcodes to add the data. And then I released it. This is why I love the GNU GPL. As for naming, I really hate it when plugins use the “WP” moniker in their titles. Typically, the plugin has absolutely no affiliation to WordPress and I feel the only reason they put “WP” in their name is to gain some form of (undeserved) recognition. For this reason, I really didn’t want to put “WP” in the title. However, I did end up using because this plugin actually does integrate itself into the WP.org backend using the API…so I feel the use is justified.
Anyway, enough about that.
Read more, or download version 0.5!
Tags: API, Custom Field, GNU GPL, John Blackbourn, plugin, Plugin Info, shortcode, Wordpress, WordPress.org API, WP Plugin Data
Countdown Timer v2.3.5
Hot off the press, Countdown Timer 2.3.5 is now available for consumption.
This is a small update that resolves a few issues, including:
- Updated calculation routine to ensure that dates are accurately when “Months” are not displayed.
- Updated readme.txt file to make some things more clear
- Fixed small display issue in the administration menu
Also included are six new languages:
Latvian, Romanian, Russian, Danish, Lithuanian, and Serbian.
Read more or download version 2.3.5!
Tags: Countdown Timer, date, i18n, PHP, Wordpress
WordCamp Denver
I just submitted my registration and I’ll be attending WordCamp Denver, “a conference created for enthusiasts, users, developers, designers, and fans of WordPress[1].”
Critical Details:
From denver.wordcamp.org:When: Saturday, February 28, 2009
Where: Denver Art Museum, 100 W 14th Avenue Pkwy, Denver, CO 80204
How: (much) $20, click to register for WordCamp Denver 2009
Who: Local bloggers, web developers, publishers, designers, internet and marketing enthusiasts, companies interested in blogging and/or building on WordPress.
If you would like to attend, visit: http://denver.wordcamp.org/
Yes, I’m super nerdy. Deal with it.
- WordPress is what I use to power this blog [↩]
Tags: Denver, Denver Art Museum, WordCamp, WordCamp Denver, Wordpress
Force User Field Registration End-of-Life
For better or for worse, this is the End-of-Life announcement for Force User Field Registration.
This history behind the plugin is rather odd for me. I originally wrote it as a proof-of-concept for Add Custom fields to User Profile & Registration Pages. I never planned to actually implement it and support it, which I suppose it what I get for trying to be helpful
.
In fact, the orginial code was just posted as a snipnet on my blog over two years and required the user to copy and paste the code into a file themselves! I finally released the code in a file you could download a four months later. It’s seen several upgrades, mostly to deal with WordPress updates that broke stuff and I even forked it into a version for WordPress MU.
I think one of the most difficult things about maintaining this plugin over the last few years is the fact that I never use it myself. I really enjoy using my own plugins and not using them on a regular basis creates a very wide disconnect for me, I don’t get to eat my own dog food.
I digress.
I was answering a request related to the Force User Field Plugin and doing some research when I came across a superior plugin that not only meets all goals set out by Force User Field Registration, but far exceeds them.
It’s called Register Plus and is coded by Skullbit.
I downloaded it and played with it briefly; and I have to say, I really like it. There are a few quirks that I’m sure the developer will work out, but nothing blocking. It also implements a number of requests that users have asked for in the past and I have not added because they fall outside the scope of the plugin or I never got around to.
Thanks to everyone who has ever used the the plugin or left a comment. At last check, there were over 1600 downloads and 143 comments (probably half of which are mine, though).
The formal announcement:
Force User Field Registration is going End-of-Life on or before December 31, 2008 23:59 PST.
I will continue to provide official patch releases (i.e. 0.6.x) as needed to maintain compatibility with WordPress 2.6.x and WordPress MU based on WordPress 2.6.x.
On or before January 1, 2009 00:00 PST, I will provide help on a case by case basis, however I will no longer be releasing updates.
The code will remain posted and licensed under the GNU GPL. The official plugin page will remain up: Force User Field Registration
What I believe to be a suitable replacement:
Register Plus by Skullbit.
Tags: dog food, End-of-Life, Force User Field Registration, GNU GPL, plugin, Register Plus, Skullbit, Wordpress, WordPress MU
Force User Field Registration v0.6
So it seems like WordPress 2.5 ended up breaking some things in the previous version. So I did some work over the weekend and brought everything back up to speed. Here’s a list of what’s been updated:
- Added PHPDoc
- Updated add_action to use inbuilt filter rather then have users add their own
- Update admin UI to 2.5 LnF1
- Updated input tag to make it look like native input tags
- Updated fergcorp_forceRegistrationField_updateFields to use passed variable instead of DB query
- Updated error handling in fergcorp_forceRegistrationField_checkFields to use the new WP_Error object (note: this makes WP 2.5 a minimum requirement)
I think the best news is that you don’t need to modify files anymore to get the plugin to work, you can just drop it in and go. WordPress also has implemented a new error handling framework (WP_Error) which is pretty spiffy.
On a side note, I did take a gander at the MU version of the plugin and it appears to be working properly…at least for now.
Read more or download it!
1 LnF: Look and Feel
Tags: Force User Field Registration, PHP, PHPDoc, plugin, Wordpress, WordPress 2.5, WP_Error
Countdown Timer v2.2
I wanted to release this earlier, but between finals, being sick, and field session, I haven’t had a lot of time. This version of Countdown Timer (almost) updates the UI to 2.5 look and feel. As it turns out, there’s actually some function calls I can use to better create the UI and I’ll be using those in the future. There’s a couple of bug updates and added some new functionality.
Also, Countdown Timer v2.2 requires WordPress 2.5 or higher!
The run down:
- Updated some phrases that missed being i18n.
- Updated i18n to use use sprintf’s to assist in proper translation.
- Update the admin page to WordPress 2.5 Look and Feel.
- Users are now able to define the data (text/HTML) that comes after the title and before the actual countdown.
- Implemented a new function, fergcorp_countdownTimer_single($date), that allows users to create a one-off event outside of The Loop. $date should be PHP strtotime parseable string.
- Plugin output is now XHTML 1.0 Strict compliant.
Read more or download version 2.2!
Tags: Countdown Timer, Countdown Timer v2.2, fergcorp_countdownTimer_single, i18n, PHP, plugin, sprintf, Wordpress, WordPress 2.5, XHTML 1.0 Strict
Call for Translations: Pending Release of Countdown Timer v2.2
The release of Countdown Timer v2.2 is just around the corner (May 15th at 18:00 GMT). In preparation, I released the PO files for translation last night and sent out an email to all the wonderful participants who’ve translated in the past. Here’s the basic jist of what’s going on:
I’ve updated the PO files and uploaded them to my website. All you should need to do is find the language that’d you like to translate and click on the link below. The page will load with the existing data filled in that has not changed. The blank fields represent data that has changed and needs to be updated.
Also, there are a couple of special fields you should be aware of: “translator_name” is for your name as you’d like it to appear in the credits within the plugin (if you want it displayed). “translator_url” is for the URL link that will be associated with you name (again, if you would like it included).
There are a handful of fields that go something like: %d years,
The %d is a place holder for an integer (such as 5 days,) and can be moved around if needed depending on the localization requirements.
Similarly, there is a %s ago and in %s. Where %s represents a string (in this case, the countdown). This allows the translation of “in” and “ago” to be put in its proper place depending on the localization.
I really hope all that makes sense. If it doesn’t, I’d be more then happy to answer any questions you have. If you’re unsure of the context of certain strings, you can also download the trunk version version at http://downloads.wordpress.org/plugin/countdown-timer.zip
Languages already (mostly) completed:
- Czech (cs_CS)
- German (de_DE)
- Spanish (es_ES)
- French (fr_FR)
- Dutch/Holland (nl_NL)
- Portuguese/Brazil (pt_BR)
- Swedish/Sweden (sv_SE)
- Turkish (tr_TR)
As always, if you’d like to add a new translation, you can start here: http://fergcorp.com/project/phPo/phPo.php?poFileName=afdn_countdownTimer.po
And stay tuned for the pending release on Thursday!
Tags: Countdown Timer, fergcorp, i18n, languages, phPo Translator, plugin, PO, translation, Wordpress
Subscribe to RSS Feed


Stay Up To Date on Comments
As I work on planning my upcoming trip abroad, there’s been some great discussion and feedback in the comments. Those of you who are super-savy WordPress users might know about the sort-of-secret Comment RSS feed that you can subscribe to, however most people don’t.
So I figure I’d make it super easy for everyone and provide the RSS URL for those using RSS Readers (such as Google Reader) and an email sign up in case you’re not ready to make the plunge into the RSS realm.
RSS URL: http://feeds.andrewferguson.net/afdn_comments
Email Signup: Subscribe to Comments for Andrew Ferguson dot NET by Email
Note: The email list is run by FeedBurner (aka Google) and is the same organization that I use to send out the regular AFdN updates.
Tags: comments, FeedBurner, Google, Google Reader, RSS, Travel the World, Wordpress