Is there a way to block what is seen on the home page when not logged into CS

rated by 0 users
This post has 0 verified answers | 2 Replies | 2 Followers

2 Posts
Points 55
dohara posted on Fri, Apr 17 2009 2:15 PM

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?

  • | Post Points: 35

All Replies

77 Posts
Points 1,050

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.

 

  • | Post Points: 5
5,037 Posts
Points 78,430
TelligentSupportTeam
Suggested by Alex Crome

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

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

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