This used to work like a charm for a standalone wordpress, but I haven't been able to find the MU equivalent.
Any ideias?
function get_user_info () {
if(isset($_GET['author_name'])) :
$curauth = get_userdatabylogin($author_name); // NOTE: 2.0 bug requires get_userdatabylogin(get_the_author_login());
else :
$curauth = get_userdata(intval($author));
endif;
}
/**
* function user_profile() - outputs default user information + gravatar
*
*/
function user_profile() {
?>
<h1>About: <?php echo $curauth->display_name; ?></h1><?php
echo get_avatar($curauth->user_email);
?>
<dl>
<dt>E-mail</dt>
<dd><?php echo $curauth->user_email; ?></dd>
<dt>AIM / MSN</dt>
<dd><?php echo $curauth->aim;?></dd>
<dt>Gtalk</dt>
<dd><?php echo $curauth->jabber;?></dd>
<dt>Website</dt>
<dd>user_url; ?>"><?php echo $curauth->user_url; ?></dd>
<dt>More profile information</dt>
<dd><?php echo $curauth->user_description; ?></dd>
</dl>