Still about Wordpress MU plugin. I use Donncha’s Sitewide Tags Plugin to display all recent post from the whole users. The problem is, the comment count is displayed in the wrong way. It is always display 0 (zero), even there is a comment in the original post.

Search in the core code, and found this :

return apply_filters('get_comments_number', $count);

in the comment-template.php file. Voila, we can change how WP display the number of comment.

I add these lines into that plugin, and it works very well … Great WP !

function sitewide_tags_get_comments_num($count)
{
  global $blog_id,$wpdb,$post;
  $tags_blog_id = get_site_option('tags_blog_id');
  if (!$tags_blog_id || $blog_id!=$tags_blog_id) return $count;
  $base = $wpdb->base_prefix;
  list($post_blog_id,$post_id) = explode('.', $post->guid);
  $r = $wpdb->get_col(\"SELECT comment_count FROM $base{$post_blog_id}_posts WHERE ID=$post_id\");
  if (is_array($r)) return $r[0];
  return $count;
}
add_filter('get_comments_number', 'sitewide_tags_get_comments_num');

You probably need to also modify the Donncha’s core, remark this line :

$post->comment_status = 'closed';

to make the comment status same with the original ones.

I also have another idea to cut the post content before copy it, so the long text posting will not be displayed fully. The tags site usually for summary right ?

Hope it is usefull,