We want to block things like site activity and most active users from showing up when folks go to our CS site but are not logged in.
Our site is a members only site and we really don't want outsiders being able to view any type of content, can we for example just show a log in screen only maybe?
I'm pretty much a beginner, but you can use something like this:<CSControl:ConditionalContent ID="Conditional1" runat="server"> <ContentConditions><CSControl:Conditions runat="server" Operator="Not" ><CSControl:UserPropertyValueComparison runat="server" UseAccessingUser="true" ComparisonProperty="IsAnonymous" Operator="IsSetOrTrue" /></CSControl:Conditions> </ContentConditions> <TrueContentTemplate>
!! This area will display if user is not anonymous !!
</TrueContentTemplate>
<FalseContentTemplate>
!! This area wil display if user is anonymous !!
</FalseContentTemplate>
</CSControl:ConditionalContent>So you can either leave out the FalseContentTemplate entirely and just control visibility on the TrueTemplate by having that display condition, or you can put a message telling the user to login in the FalseContentTemplate.
Take a look at http://docswiki.communityserver.com/wikis/cs20085docs/how-do-i-prevent-anonymous-users-from-accessing-my-site.aspx for detains on how to lock down your community from anonymous users.
Community Server Documentation
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com