Recent Global Posts plugin + Avatars plugin

Hey Guys.

I’d like to modify the Recent Global Posts plugin to display the blog avatar (Avatars plugin) instead of the user avatar in the widget. Looks like the edit would be around line 104.

I’ve tried a few things but can’t seem to figure out how to make it work. Any hints?


Oh, actually, I think this might do it:

echo '<a href="' . $post['post_permalink'] . '">' . get_blog_avatar( $post['post_author'], $recentglobalpostsavatarsize, '' ) . '</a>';

I didn’t think it was working because I was posting as the super admin. Posting as a subscriber that has reg’d on a sub site seems to display that site’s avatar.

I guess sometimes it just helps to talk it out ;p