When you look at someone's profile, up near the avatar shows how many posts the person has made. The number is a link which brings you to a search results page. The problem is that this number counts things like comments that were made on other people's profiles, and when you click the number it doesn't show those comments in the search results.
Hi bspilove,
Not sure where you got that information, but Community Server does *not* include profile announcements or comments in the post counts.
One is glad to be of service...
Media and Blog comments are included in the post count, but they are not indexed.
CS Documentation - now available in downloadable PDF form
My CS Site
CS did for a short time when CS2007 was released index comments (blog, files and photos), but i think Telligent got sick of the number of times that was reported as a bug, and so changed CS back to not indexing comments.
As for the profile comments, as profile comments aren't stored as posts in the database, so i don't believe it's possible fo rCS to search them at this moment in time.
That's ok, its fine if CS doesn't search profile comments and such. Just the number in the "x Posts" shouldn't count them then.
It's hard for me to tell exactly what it is counting because when I click the link, the results are missing the additional items that it is counting. Like, it will say "5 posts" and when I click the "5" it will show me 2 results. I think maybe it is conversation posts (PMs) that it is counting, or it could be media comments.
Ok isn't this a bug? Can it be fixed?
It's by design. For a short time when CS2007 was released, comments (blog, files and photos) were indexed, but i think Telligent got sick of the number of times that was reported as a bug, and so changed CS back to not indexing comments. Comments are included in the post count as comments do contribute to the community.
If you would like to include comments in your search index, then you'll need to modify the SearchReindexPosts method in the WeblogSqlDataProvider, and a similar method in the MediaGallerySqlDataProvider to include comments in the query. (You'll need the SDK to do this).
But I don't necessarily want to include comments in the post count. I don't really care if they are included or not. The only thing I want is for the numbers to match, whether it includes media comments or not. If it says "5 posts", then when I click on it I should get 5 results. If all 5 are media comments, and they aren't indexed, that's fine but it should say "0 posts".
I'm going to disagree there. A post count is a way of showing how active someone is in a community. If a user regularly comments on blogs and media, and doesn't participitate in the forums, is it fair to bunch him together with the people who've signed up to your community and made no posts, and no participitation at all?
I'm not arguing with you there. If you think the media/blog comments should count towards your post count, then that sounds great to me. However, in general if a link says "5 results", then when you click on it you should see 5 listings. The numbers should match, no?
Thinking about it, if that's what you want, if you could always change the link to link to the User's Activity list (e.g. http://dev.communityserver.com/members/afscrome/activities/default.aspx) instead of searching for posts by that user.
Even that solution is not prefect. If a user makes a profile comment those will appear in the activity list, but not in the post count. Also if you've upgraded from CS2007 or earlier, only those posts made during your CS2008 install will be displayed there. If however you've started fresh with CS2008, the benefit of linking to the activity list is that if it says 5 posts, the activity list will never display less than 5 post, but may show more.
Allright that's an OK workaround. I'd rather have more results than less. I really appreciate you trying to help here, thanks a lot.
I still think this is a bug that should be fixed. By the way, anyone know where's Ben? He's been noticeably silent lately.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com