Tonight I got a comment on my blog, and noticed that it displayed on the homepage in the "What's New" list. That's weird; certainly not how Community Server used to behave. Anyway I set about to fix it. I found a couple
of
articles on the subject, but none that I felt were quite right.
The last one I found, while not an ideal solution IMHO, lead me to a much better solution.
Near the top of the Themes/[theme]/Common/home.aspx file, there is a C# code block which performs the search if there is nothing in the cache. It is within this code block that I added the following line of code:
query.UsersToSearch = new
int[] { <enter user id(s) here> };
I tried using the UserNamesToSearch property first, but it didn't seem to change the results. The value passed in is the value in the UserId column for the desired users in the cs_Users database table.
Along with restricting which results display, you can also change how many results are displayed on the home page by changing the PageSize property assignment.
Note: the user restriction works for my site because I am the only user. If you have more than one user on your site, you can either add all the users, or you may need to use one of the other solutions.
Update (7/21/2007):
When I came up with this solution, I somehow overlooked the fact that I myself might post a comment in reply to another comment. So I am back to implementing the last one I found.