Straight from the Shrink-Your-URLS-With-A-Custom-Branded-Self-Hosted-Solution Department: if you’re following my tweets, you already know that I released YOURLS 1.4.1 yesterday. What’s in there? Good stuff for sure, but even better stuff are on their way :)
Read More (461 words)
At first I tried to answer in less than 140 characters but Twitter has its limitations. Plus, for the record, posterity, or anybody new to Gmail (you mean there is still someone out there not using it?), I thought this might be of some interest. So here it is: my shuper shmart aweshome Gmail label and filter strategy. You’ve read all this a million times before, but this time it’s from me ;)
Read More (534 words)
Related posts
The essence of plugins is giving to WordPress users more control over their blog, that is, most of the time, more options. Typically, a plugin adds a page under the Settings menu, where you can modify the options (see this article on register_setting() for best practices).
But if you think about multi user blogs, it can make sense to implement per user options instead of “global” settings. And guess what? It’s dead easy.
Read More (338 words)
Related posts
Christmas is around the corner, so how about a little giveaway? I feel like offering one of my readers a copy of The Smashing Book (313 pages, paperback, full-color images on coated paper, seems like a pretty book indeed). Drooling yet? Enter the giveaway!
Read More (220 words)
Related posts
I've recently moved to WordPress an active community site which is run and moderated by several editors and administrators. Each post gets dozens of comments, and I wanted to highlight those made by staff members.
What not to do
If you've googled a bit for a solution on how to identify authors' or admins' comments, you've probably seen several explanations on how to implement this by comparing emails. Something like:
-
<?php
-
if( $comment->comment_author_email == 'admin@blog.com' ) {
-
$class = 'admin';
-
}
-
?>
While this is sort of OK for a single author weblog, it's totally inconvenient and not scalable for a community site run by several editors and administrators: you would need to edit the template file whenever there's a new member in the staff, and nothing prevents an unlogged user from commenting using your well known email address.
So, what to do instead?
Read More (393 words)
Related posts
A few months ago (yeah, that long) I was asked by Packt Publishing if I would like to review a copy of WordPress Plugin Development: Beginner's Guide by Vladimir Prelovac. Needless to say, I thought this could be fun and interesting, so I jumped on the occasion, and finally found some time to read the book and share my thoughts about it.
Read More (496 words)
Related posts
By Joel Fisher in the wp-hackers mailing list:
I in fact choose to use a coffeemaker to boil vegetables. Why?
Because if I used something else that just makes coffee, my client would ask me "Can it boil vegetables?".
WordPress is a powerful and flexible tool. Period.
I love this :)
Related posts
I've finally released the much awaited and long overdue YOURLS version 1.4. It's still not perfect but there are no more blocking issue that I know of. This version brings a much better installer, an upgrader from version 1.3 of course, lots of code improvements, and, yum yum, stats (example). Honestly, bit.ly and such, you're not better any longer :)

Please pay attention to the included readme file, especially if you're upgrading from version 1.3 (and if so, please backup your database before upgrading)
While I'm at it, I'm sending out warm thanks to anyone who have filed issues and feedback regarding bugs, especially to a guy from Das Literatur-Café for detailed, fast and frequent reports.
If you encounter unexpected behavior, the best thing to do is file an issue so I can keep track of them easier than in blog comments here (of course, before file it please search in older and closed one to make sure it's not already there). Have fun shrinking your URLs!
Related posts
As you may know already (and if you don't, dude, follow me) I was one of the judges in the WordPress Plugin Competition held by Weblogtoolscollections.
The podium for this year's comp has been finally revealed so, as promised, I'm now publishing the 43 reviews of the 43 contestant plugins. Warning: this is going to be a long one.