Archive for March, 2009

Weblog Tools Collection: WordPress Theme Releases for 03/31

vexed.box

vexed.box

Three column, widget ready, WordPress template capable of displaying large amounts of content without suffering aesthetically nor functionally.

AffiliatePress

AffiliatePress

AffiliatePress is intended to assist you in starting your own affiliate website. Start making extra income selling any products on the net that have an affiliate program. This theme is very easy to use and requires no custom fields to use. This theme is WordPress 2.71 compatible and comes with a variety of extra features you don’t receive with most free themes. These include a Tabbed Sidebar for recent posts, tags and most popular posts and built in banner ad management.

IsoTherm

IsoTherm

Two Column, magazine styled theme with everything you need to start publishing your own web journal with all the features you will need to attract new visitors.

Rez-V

rez-V

Two column, fixed width, mostly blue and white, threaded-comments, twitter and retweet button integrated theme. Perfect for affiliates.

Are you a theme author? Get featured in our daily releases. Submit your theme to us.

Tuesday, March 31st, 2009

Weblog Tools Collection: WordPress News for 3/31/09

Learn how to create a sleek and stylish WordPress theme in Photoshop with this tutorial from PSDVibe. A little tweak with a little creativity could land you a personalized theme. Once you put together your new theme, don’t forget to offer it to others to download and enjoy!

Learn some new tricks and discover new tools and plugins to speed up your WordPress blog. I have run into some scalability issues with this blog recently and have learned quite a bit.

Jean-Baptiste tells us about 10 awesome .htaccess hacks for your WordPress blog including the ability to redirect visitors to a maintenance page while you can continue to see and work on your blog.

Tuesday, March 31st, 2009

mdawaffe: WordPress __autoload() idea

PHP 5 introduces autoloading classes. The way WordPress is currently structured, I don’t think we’d get much benefit from switching to autoloading. There aren’t that many classes in core WordPress that don’t need to get loaded on every page load.

With some restructuring, though, we might be able to cut down on the number of bytes of code we load on every page (and we could get rid of some class_exists() and require_once calls).

We’d want an autoloader, though, that could handle plugin files as well as core files.

Idea: an autoloader that can load classes from some deterministic path (e.g., the usual $classname.class.php or what have you) but that can also register classes at specific paths.


if ( !defined( 'WP_AUTOLOAD_CLASSES' ) ) {
    define(
        'WP_AUTOLOAD_CLASSES',
        function_exists( 'spl_autoload_register' )
    );
}

if ( WP_AUTOLOAD_CLASSES ) {
   /**
    * PHP 5.1.2+
    * Called once per class during setup (each time
    * with two args) to tell it where the class is
    * located.
    * Don't need to call for a class if that class
    * exists in some easy deterministic path.
    * Called (with only one arg) when looking for a
    * not-currently-loaded class.
    */
    function wp_autoload( $class, $path = null ) {
        static $classes = array();

        // Being called by PHP's autoloader
        if ( is_null( $path ) ) {
            if ( isset( $classes[$class] ) ) {
               /* Use include, not require.  That
                * way we get a more meaningful
                * Fatal error: class does not exist
                */
                include( $classes[$class] );
            } else {
               /* Look in some default path(s) for
                * appropriately named files.
                */
            }
            return;
        }

        // Being called by us
        $classes[$class] = $path;
    }

    // Register it
    spl_autoload_register( 'wp_autoload' );
} else {
   /**
    * PHP 4 (PHP 5.1.1-)
    * Just require each file.
    */
    function wp_autoload( $class, $path ) {
        require_once( $path );
    }
}

// Core classes in WPINC probably wouldn't have
// to be explicitly registered, but as an example:
wp_autoload(
    'WP_Error',
    ABSPATH . WPINC . '/classes.php'
);
// OK to call multiple times per path
wp_autoload(
    'Walker',
    ABSPATH . WPINC . '/classes.php'
);
// …

// In some plugin file
wp_autoload(
    'My_Plugin_Foo',
    plugin_dir_path( __FILE__ ) . 'foo.class.php'
);

Tuesday, March 31st, 2009

Matt: WordPress Party Pictures

Pictures from the party at the Automattic lounge. It got a little rowdy! If you recognize, please help caption using the “tag” feature on the photo page.

It all started out so tidy




















































































Tuesday, March 31st, 2009

Matt: Pottery and Water

End of boating, pottery studio, and fishing in Hanoi.
































Monday, March 30th, 2009

Weblog Tools Collection: WordCamp China 2009 on April 4th

WordCamp China 2009 coming soon to Shanghai: WordCamp is coming to the Fudan University in Shanghai, China on the 4th of April. If you are close by, be sure to register and attend.

Monday, March 30th, 2009

Matt: Around Hanoi

Monday, March 30th, 2009

Matt: WordPress Party Tonight

Tonight (Monday March 30) at 7 PM we’re opening up the new Automattic space at Pier 38 for the first time because so many of our friends will be in town for Web 2.0 Expo and all their fun events. Come by our spot (on Embarcadero in between Brannan and Townsend) starting at 7 PM and enjoy good music, free booze, and geeky friends. We’re on the left corner and there’s a bunch of circles in the window and an Automattic sign over the door. (Sorry for the late announcement, if you could help us get the word out I’d appreciate it.) You can RSVP on Facebook here.

Monday, March 30th, 2009

Weblog Tools Collection: WordPress Plugin Releases for 03/30

New Plugins

Simple Referal Stat

This plugin is a simple blog stat. You can see where does your traffic come from and how many page view.

Twitter LiveBlog

Twitter LiveBlog integrates with Twitter and lets you liveblog on your WordPress blog.

Image Optimizer

Reduce uploaded images’s size with Optipng and Jhead. There is no option for this plugin.

Silverlight for WordPress

Silverlight for WordPress allows a WordPress user to specify a Silverlight application (XAP) to embed within their WordPress content

Link Hopper

Easily set up links like /hop/google/ to redirect users to www.google.com. This can be useful in masking your affiliate links. If your affiliate link needs to change, you can just change the HOP values in a single place, without having to search your site for outdated links.

Updated Plugins

GD Star Rating

GD Star Rating is post, page and comment rating plugin for WordPress. Plugin supports different image sets, rating moderation, vote rules, time restricted voting, templates, trend calculations, has a widgets build in and extensive shortcode support.

Shout Stream

Shout Stream plugin is a widget that embeds a mini Player at your sidebar to connect to a shoutcast stream along with LIVE stats. You can select Media player which is readable from all major browsers or Minicaster flash player.

Now supports popup windows for multiple shoutcast streams along with minicaster flash player or media player and live stats (ajax) from your shoutcast page.

Stray Random Quotes

Stray Random Quotes helps you collect and display random quotes everywhere on your blog. The quotes can be reloaded with ajax automation. The plugin is widget compatible, and the appearance of the quotes can be highly customized. It comes with a easy to use management tool and a option page.

AVH Amazon

The AVH-Amazon WordPress plugin gives you the ability to add a widget which will display a random item from your Amazon wish list, baby and/or wedding registry.

Related Websites

The Related Websites plugin is the Blog Traffic Exchange. By a blogger for bloggers. No advertising on member blogs. Just a pure, highly relevant blog traffic exchange. Think of it as a related posts for the blogosphere.

SyntaxHighlighter

SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without loosing it’s formatting or making any manual changes. It uses the SyntaxHighlighter JavaScript package by Alex Gorbatchev and a bit of code by Automattic.

Monday, March 30th, 2009

BuddyPress: What BuddyPress Did For Parenting

When my wife became pregnant, as a first time dad I was over the moon. At that point, your life sort of changes. You start to read baby books and leaflets, meet health advisers and hospital staff. You’re plunged into a world of baby care, lactation, compromise and change. It can be quite daunting at first. I would say it’s quite common to feel a little out of your depth. You certainly start wanting answers to questions that doctors and midwives can’t answer like - can I really be a dad? I can’t even look after myself! Or, how will my life change when the baby is born?

After weeks of contemplation (possibly confusion to some degree), I read a book - a baby diary. What a revelation! The raw truths of mother and fatherhood were reassuring. Many of my questions were answered in that book, the rest were answered by speaking to other mums and dads, reassuring me that these questions I had were normal. It was a weight lifted from my shoulders.

So, what has me becoming a dad got to do with BuddyPress? Well, about 3 months into the pregnancy, after reading this baby diary I had an idea. I was so reassured by the raw truths of parenting that I thought, why not build a web site that lets mums and dads create their own pregnancy diary or baby diaries and chat with each other? Not only will it allow parents to remember and read back on the unforgettable special moments, it will also serve as a really useful tool to reassure others on the quirks of parenting like I was reassured by the book i read.

As I started on my quest to build such a site I already knew I was going to use Wordpress MU. I’ve used it a lot in the past (and practically daily for my job) nothing else comes close. Shortly after setting up the foundations of my site I came across BuddyPress. Initially I was looking for a messaging / chat plugin for WPMU when I stumbled on this wonderful social networking plugin suite. I took one look at the site which was running an early incarnation of BuddyPress and I was hooked - and quite frankly taken aback by what it could offer.

In fact, BuddyPress opened up a whole host of opportunity for my conquest for an online community for parents. It is feature rich, built on an already excellent WP platform and supported, built and maintained by people like me and you. Who wants software supported by the hardcore of coders who speak to you in pseudo bable?

The customization of BuddyPress didn’t stop at the first glance. As soon as I installed it I managed to customize the language to suit my needs, branding my site as a diary site and not a blogging site. I created and plugged in a parent based theme and concentrated heavily on usability.

The administration of BuddyPress also allowed me to completely customize the member profile pages. Not long after the first few releases in alpha and beta, I had forums integrated into groups for my network. Honestly, I could be here all day singing its praises. It opened my eyes and allowed me to take my idea that extra step, a fully fledged social networking platform that’s actually easy to use.

In fact the BP guys have included most of the important features any good social network should have and it’s only a beta! Social networking is the future, it’s even taking over email for some people here in the UK. BuddyPress 1.0 looks to solidify those excellent features with yet more in the pipeline.

I’m very happy with the results, I’m giving something back to the parent community now. Even though it is early days, I’ve already had very positive feedback. I’ve even had the local paper contact us and we have an article going in next week!

Parent Diary.co.uk - with special thanks to BP and WPMU.

This post was written by Ben (oldskoo1), a member of the BuddyPress developer community. If you’re interested in contributing to the BuddyPress blog, please log in and head to the “Write Post” link in the menu bar.

Monday, March 30th, 2009