[WordPress] « Available for Hire » plugin

Par défaut

It was when reading Dr Nic blog that I noticed the big banner at the bottom announcing his availability for hire.

So, after a few moment in my source editor, this banner is now available as a WordPress plugin, with few options inside WordPress admin to select the specialities you want to be hire for 🙂

Download the Plugin or Follow the project on Github

[Blogsfera] Localized WordPress-Mu

Par défaut

After few months of wordpress-mu customization for BBVAblogs, we’re currently opening the code so you all can play with it.

Here are the links to follow the dev of this platform:

Project page: manual, feature requests and bugs

Source code: version control with git, clone it, fork it, enjoy it!

It includes wordpress-mu with various plugins, and some homemade templates to manage a blog community, feel free to leave your comments and feature requests and the project page.

Final version should be ready for the Campus Party at Valencia on the 28th of July.

[WordPress] Pressmark: Bookmarks with WordPress CMS

Par défaut

Pressmark with a WordPress installation with all you need to start a social bookmarking website (like del.icio.us, sabros.us, …).


You can see a demo of Pressmark installation on bookmark.alexgirard.com

Pressmark includes WordPress Prologue theme, which has been used by WordPress team to have a twitter-like dev-blog.
Prologue include Gravatar support, so go to upload your avatar on gravatar.com to have a nicer output!

If you feel like adding your own modification to the code, you can clone/fork the project on Github: http://github.com/alx/pressmark/. All contributions will be welcomed!

Ideas to extend Pressmark:

  • Bookmarlet, Jabber bot for easy posting;
  • Import from bigger social-bookmark accounts (delicious, magnolia, …)
  • Cross-blogging to decentralized bookmark management in various blog spaces

Installation

  • Get Pressmark sources:
    • Download it from Github
    • If you’ve got git installed, clone it from Github (to easily get last updated)

      git clone git://github.com/alx/pressmark.git pressmark
  • Move the source to your webserver, ask a geek how to do it if you don’t know 🙂
  • WordPress configuration: copy ‘wp-config-sample.php‘ to ‘wp-config.php‘ and fill up the MySQL database information.
  • Access to the website where you’ve installed Pressmark, and begin the « 2 min. installation » from WordPress
  • Now that your website is ready, go in the administration pages and activate the following options:
    • In ‘Design‘: select ‘Prologue‘ theme;
    • In ‘Setting‘: select ‘Anyone can register‘ and set the ‘New User Default Role‘ to ‘Author‘ if you want your users to post links;
    • In ‘Plugins‘: activate ‘WP-OpenID‘ plugin

[WordPress] Register hooks hacks

Par défaut

On the way to launch Live Clöthing, I had to hack this morning the register action hooks for WordPress, that don’t work as simply as excepted.

‘register_post’ action

You won’t be able to add more errors in $errors if you do not make it global in register_new_user() of wp-login.php:

function register_new_user($user_login, $user_email) {
global $errors;

‘user_register’ action

For some strange reason, $user_id is not available, you’ll need to add this hack to read it in your hook function:

$user_id = (int) func_get_arg( 0 );

[WordPress] Theme viewer plugin

Par défaut

Paco wanted a wordpress installation with one purpose: test different themes for the same blog.

The idea was nice, but know it’s even more fun with this new plugin: user controls which theme to display on the blog they are reading.

Try it yourself on lasindias.info

Theme viewer

There’re surely some more feature to add before the plugin is complete:

  • Use cookie to keep plugin whil navigating on the blog
  • Add form for admin to add or upload a new theme
  • Fun factor: save last selected theme as the default blog theme, users now control your blog presentation!

Download Theme viewer plugin for WordPress

Thanks to Dougal Campbell for the original Preview Theme plugin.

[WordPress-Mu] Community Tag Cloud

Par défaut

A new and better plugin, MuTags by MrHenry, is now available on WordPress Mu forums

Because the last version of WordPress-mu is quite new, there is no proper plugin to start using new tag system available with WordPress 2.3 system.

Here is a quick hack I’ve put in wpmu-functions.php to display a proper tag cloud of all blogs, please send me feedback and tell me if you find any bugs:

Code for get_community_tag_cloud()

Copy this funtion in your /wp-include/wpmu-functions.php and then add to your theme:


get_community_tag_cloud($display=true);

For more updates, please follow the Mu Forum thread about this hack.