AggregateBlogList / Bloggers.aspx Shows Disabled Blogs

rated by 0 users
This post has 0 Replies | 1 Follower

Not Ranked
Posts 41
Points 700
Wayne Bynum Posted: Fri, Mar 23 2007 12:33 PM

When looking at the list of "blogs on this site" which maps to bloggers.aspx and control AggregateBlogList.cs, disabled blogs show up in the list. When looking at a user's profile who owns a disabled blog the "view their blog" link does not show up, which is how it should work in the bloggers.aspx page as well.

I fixed this by modifying Components/Sections.cs - FilterByAggregated and changed

if(s.IsCommunityAggregated == isCommunityAggregated)

to

if(s.IsCommunityAggregated == isCommunityAggregated && s.IsActive == true)

Wayne Bynum Application Developer
Page 1 of 1 (1 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com