+1-888-365-2779
Try Now
More in this section

Forums / Security / How do add CAPTCHA to blogs comments

How do add CAPTCHA to blogs comments

8 posts, 0 answered
  1. lzabik
    lzabik avatar
    4 posts
    Registered:
    21 Aug 2009
    03 Feb 2010
    Link to this post
    I have question how to add CAPTCHA to blogs and news comments. I am looking some time how to do this but I cannot find solution. Can anyone help me.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    03 Feb 2010
    Link to this post
    Hi lzabik,

    You have to map the external template for details mode of NewsView and BlogPosts control. You have to work with mode template - ListPageDetail.ascx. The template have to be mapped through Advance tab of each control >> Appearance >> SingleItemTemplatePath property.

    In the template you have to enable the Spam protection from the template by setting EnableCaptcha property to true. You can download the external templates from your account >> downloads section.

    <sfWeb:SpamProtector
                    EnableCaptcha="true"
                    id="spamProtector" runat="server"
                    enableautobotdiscovery="true" enablehiddentextboxstrategy="true"
                    hiddentextboxerrormessage="Hidden TextBox has some text in it!" hiddentextboxlabel="Do not fill this textbox!"
                    hiddentextboxlabelcssclass="hide" hiddentextboxinputcssclass="hide" enablemintimeoutstrategy="true"
                    mintimeout="2" mintimeouterrormessage="Submission too fast!" />
                <asp:Button ID="submitBtn" runat="server" Text="<%$Resources:PostThisComment %>"
                    CssClass="sf_commentSubmit" />


    Greetings,
    Ivan Dimitrov
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  3. JAllen
    JAllen avatar
    34 posts
    Registered:
    23 Dec 2010
    11 Mar 2011
    Link to this post
    Hi Ivan,
    I'm trying to do this in 3.7 for *NEWS* and the ListPageDetails.ascx doesn't have the Spam Protector, but rather a Comments List:

    <div id="comments" class="sf_contentComments">
        <sfWeb:CommentsList id="commentsList" runat="server" cssclass="sf_commentsList" ValidationGroup="commentInfo"></sfWeb:CommentsList>
    </div>

    I can see the CommentsLists.ascx in the External Templates folders and this does have the Spam Protector, so presumably I need to enable it here, but where do I have to specify to use my version of CommentsList.ascx instead of the built in one?

    EDIT:  Nevermind - I realized I needed to map it in the ControlsConfig.xml in App_Data/Configuration!
  4. Jay
    Jay avatar
    2 posts
    Registered:
    27 Apr 2011
    27 Apr 2011
    Link to this post
    Hello,

    I am new to using Sitefinity and I was wondering if you could give me step by step instructions on how to add CAPTCHA to the comments of a blog posting.

    Thank you!
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    29 Apr 2011
    Link to this post
    Hi Jay,

    Download the external templates and then follow the suggestions above.

    Greetings,
    Ivan Dimitrov
    the Telerik team

  6. Jay
    Jay avatar
    2 posts
    Registered:
    27 Apr 2011
    03 May 2011
    Link to this post
    Ivan,

    I am a developer and my client does not have immediate access to those credentials.  Is there a direct link to download the external templates?  This is not available when I log into my account.

    Also, is the version dependent?  If so, what is the minimum version and how do I check which version I have.

    Thanks!
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    03 May 2011
    Link to this post
    Hello,

    Please use the same account from which Sitefinity has been downloaded. The templates are valid for editions from 3.6 to 3.7 SP4. Note that there are changed in some of the templates.


    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Ken Coumerilh
    Ken Coumerilh avatar
    1 posts
    Registered:
    15 Sep 2009
    15 Feb 2012
    Link to this post
    This is exactly my problem on blogs for allstarradio.com at "Free Access" and for example look at "Ask Mike MIchaels" which is a blog.  It and others are bombarded with SPAM.  The problem I have here is that I read this solution and well, it's greek to me.  I need someone to help me plug this hole.  Anybody want to make an offer?  kwc*at*allstarradio.com
Register for webinar
8 posts, 0 answered