Archive for the 'announcements' Category

Welcome to the Innernette!

If your interested in seeing what fuels my creativity, I have started a new blog on Tumblr to collect, process and share the digital bits of inspiration I collect in my daily jogs around the infosphere.

Welcome to the Innernette!

WP-Orphanage v1.2

If you’ve implemented the Shared Users Table trick you know that there is a side effect: Users on one blog are not immediately given privileges on the others. To resolve this I wrote a little plugin, WP-Orphanage, that will promote these ‘orphan’ users to a role of your choosing.

WP-Orphanage v1.2 has been released. It addresses a nasty bug where only the first 50 users were promoted. I have refactored the code to iterate over the full list of users. This action only takes place when an Admin visits the User page. Users that login to a blog where they have no privileges will continue to be given a role “just-in-time”, when they login, but if you’re looking to upgrade all your users in one go, the plugin will now oblige. This is a recommended upgrade for all users. Thanks to everyone who reported this issue!

WordPress 2.9 Contributors

WordPress 2.9 has just crossed 3 million downloads, and had 140+ contributors to its code base for that release cycle. I have the unique distinction of being the person responsible for removing the word ‘janky’ from the UI for this release. Infosec posted an article naming all of the contributors to WordPress 2.9 they could track down.

Nginx Virtual Host Recipe for Drupal

Since more than one person has asked me for my Nginx Virtual Host recipes, I figured I’d post it to my blog. The attached file should be good to go out of the box, but be sure to change domain.tld to your actual domain name. The wildcard record will allow your site to respond to ANY sudomain request, which may not be something you want.

You’ll also need to change the path to your log files, as well as the path to your public webroot folder. Finally, up the client_max_body_size to match your upload_max_filesize and post_max_size settings in php.ini.

Finally, this assumes you are running your PHP fast cgi process on port 9000.

This is the recipe for Drupal. I’ve also posted one for WordPress and WordPress MU / BuddyPress.

Download Nginx vhost for Drupal with imagecache support

Please post ways to improve this in the comments. I use this on a number of production sites, but there is always more one can do. Thanks to all of the blogs and articles that I ripped off helped me understand Nginx and got me started.

WP-Orphanage v1.1

If you’re using the Shared Users Table trick to create an ad-hoc blog network, then you need to be using WP-Orphange. When you set the constants CUSTOM_USER_TABLE and CUSTOM_USER_META_TABLE in your wp-config.php file, your users can log into any blog that defines the same Users table. However, if the blog isn’t the one they registered on they won’t be assigned any Roles or Capabilities on the other blogs, and they will be shown an error. I call these users ‘orphans.

WP-Orphanage is a WordPress plugin that automatically adopts all of your orphans automatically, and will set a Role for them on the blog they are trying to log into. You have control over which Role they are set to in wp-admin.

The v1.1 update fixes a bug introduced in the option screen in v1.0.1 and is recommended for all users of this plugin.

Many thanks to Vince from Alphak.net – Born to Be Wired for reporting this error and helping me debug the solution.