Hey the plugin works great now. Just a couple things: is there a way to hide the search bar (only if logged out), and a way to center the login form on the bar?
@tarmentano - Here's some tips on how to add custom buttons.
http://sumtips.com/2011/03/customize-wordpress-admin-bar.html
You can use this. I made it for my site. It's a plugin. Just put it in a php file.
<?php
/*
Plugin Name: More buttons on the Admin Bar
Plugin URI: http://yoursite.com
Description: Facebook, Twitter, etc links on the admin bar
Version: 1.0
Author: YourSite.com
Author URI: http://yoursite.com
License: GPL2
*/
function my_admin_bar_menu() {
global $wp_admin_bar;
$wp_admin_bar->add_menu( array(
'id' => 'facebook',
'title' => __( 'Facebook'),
'href' => 'http://facebook.com/yourname' ) );
$wp_admin_bar->add_menu( array(
'id' => 'twitter',
'title' => __( 'Twitter'),
'href' => 'http://twitter.com/yourname' ) );
}
add_action('admin_bar_menu', 'my_admin_bar_menu', 30);
?>