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

Forums / Developing with Sitefinity / I can't stop ofensive spam

I can't stop ofensive spam

19 posts, 0 answered
  1. Gerardo
    Gerardo avatar
    15 posts
    Registered:
    20 Sep 2012
    12 Oct 2008
    Link to this post
    I get a lot of ofensive spam in comment on my blogs.
    I set moderate comments, but ofensive spam are avoiding the moderation. Only normal comments are under moderation.
    I set captch for blog comment  but the spam continues appearing

    In comment list (on administration side) not IP show for spam comments.

    Any idea???
  2. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    13 Oct 2008
    Link to this post
    Hello Gerardo,

    Could you please tell us what strategy you are using with CAPTCHA? You could get more information about the available ones from the following topic in the Developer Manual:Built-in Spam Protector Strategies


    Regards,
    Sonya
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Gerardo
    Gerardo avatar
    15 posts
    Registered:
    20 Sep 2012
    13 Oct 2008
    Link to this post
    Hi,

    the problem is with the blog comments.

    I set enableCaptcha to Blog Comments and i set moderate comments
    Ofensive spam are avoiding moderation (are visible).

    Thank.
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    14 Oct 2008
    Link to this post
    Hi Gerardo,

    Do you also have a trackback function enabled in your blogs? We had some problems with spam coming through the blog article trackback. This issue is fixed in Sitefinity 3.5 - there is a special spam filter for comments coming through the trackback.

    Best wishes,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Gerardo
    Gerardo avatar
    15 posts
    Registered:
    20 Sep 2012
    14 Oct 2008
    Link to this post
    I don't know.

    How i can disable  trackback?


    Thank in advance
  6. Ricky
    Ricky avatar
    12 posts
    Registered:
    24 Sep 2012
    16 Oct 2008
    Link to this post
    Hi Gerardo,

    You can disabled the trackback by removing the following handler from the web.config:
    <add name="Trackback" preCondition="integratedMode" verb="POST"  
     path="trackback.ashx" type="Telerik.Cms.Engine.Trackback.TrackbackHandler, Telerik.Cms.Engine"/> 

    One way to stop offensive comment is by enabling the spamprotector that comes with sitefinity 3.5 , you can get a free key from akismet, generally by registering for wordpress blogs.

    Remove the "disabled  = true" from the declaration:

    <spamProtector defaultProvider="akismet" disabled="true"
          <providers> 
            <add name="akismet" 
                 type="Telerik.Cms.Engine.SpamProtector.AkismetProvider" 
                 key="#YOUR_KEY#" 
                 siteUrl="http://www.telerik.com/" /> 
          </providers> 
        </spamProtector> 

    We hope this helps!

    All the best,
    Mehfuz
    the Telerik team

  7. Gerardo
    Gerardo avatar
    15 posts
    Registered:
    20 Sep 2012
    16 Oct 2008
    Link to this post
    Thank, i go to try it.

    I don't upgrade to 3.5 yet.



    Regards
  8. Gerardo
    Gerardo avatar
    15 posts
    Registered:
    20 Sep 2012
    16 Oct 2008
    Link to this post
    I remove
     <add verb="POST" path="trackback.ashx" type="Telerik.Cms.Engine.Trackback.TrackbackHandler, Telerik.Cms.Engine" />
     

    is it rigth?
  9. Ricky
    Ricky avatar
    12 posts
    Registered:
    24 Sep 2012
    20 Oct 2008
    Link to this post
    Hi Gerardo,

    Yes that's right! This will prevent third parties from posting comments via trackback.

    Kind regards,
    Mehfuz
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  10. Kieran
    Kieran avatar
    56 posts
    Registered:
    14 Aug 2008
    03 Sep 2009
    Link to this post
    Hi,

    I'm getting the same issue, did removing the web.config value work for you.

    Thanks
    Kieran
  11. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    08 Sep 2009
    Link to this post
    Hello Kieran,

    Can you please let us know which is the current version that you use? Did you use the Akismet approach?
     
    Kind regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  12. Kieran
    Kieran avatar
    56 posts
    Registered:
    14 Aug 2008
    08 Sep 2009
    Link to this post
    Hi

    I'm using version 3.2. I tried a few approachs captcha, removed trackback but nothing worked. All the spam comments have no IP address so I updated the database to make IPAddresses not null and it looks like that might have worked.


    Kieran
  13. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    08 Sep 2009
    Link to this post
    Hi Kieran,

    This sounds as a solution, but still we should not know what the cause is. Please let us know if you have any more details about the issue.

    Greetings,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  14. terrysmith
    terrysmith avatar
    11 posts
    Registered:
    15 Nov 2006
    12 Sep 2009
    Link to this post
    Do you change the www.telerick.com URL to your own domain? Is that sent to Akismet?

    <spamProtector defaultProvider="akismet" disabled="false"
          <providers> 
            <add name="akismet" 
                 type="Telerik.Cms.Engine.SpamProtector.AkismetProvider" 
                 key="#YOUR_KEY#" 
                 siteUrl="http://www.telerik.com/" /> 
          </providers> 
        </spamProtector> 

  15. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    14 Sep 2009
    Link to this post
    Hi Terry,

    That is correct. You need to change the siteUrl to your current site, and generate an API key for it. That is sent to Akismet indeed. If you disable it though, no data will be sent to Akismet and you can leave the siteUrl as it is.

    Let us know if you have any further questions.

    Best wishes,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  16. theksmith
    theksmith avatar
    5 posts
    Registered:
    19 Nov 2010
    23 Jan 2012
    Link to this post
    is the Akismet integration still present in 3.7? i can't find any documentation on it, nor is the block of code referenced by the above posts present in my web.config.

    my client is having an immense problem with spam on their blog comments. we have every option for the sfWeb:SpamProtector control turned on (enablecaptcha, enableautobotdiscovery, enablehiddentextboxstrategy, enablemintimeoutstrategy).

    they are currently having to moderate all comments even with these strategies in place, and the number of daily spam comments is simply too overwhelming to sort through in a reasonable time period.

    thanks
  17. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    24 Jan 2012
    Link to this post
    Hello Kristoffer, 

    Yes, it's available in 3.7. To enable it, open the web.config and set the highlighted to true:

    <spamProtector defaultProvider="akismet" disabled="false">
          <providers>
            <add name="akismet"
                 type="Telerik.Cms.Engine.SpamProtector.AkismetProvider"
                 key="#YOUR_KEY#"
                 siteUrl="http://www.telerik.com/" />
          </providers>
        </spamProtector>

    Don't forget to change the siteUrl property with the domain of your client, and to generate a key for it from the akismet website.

    Regards,
    Georgi
    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
  18. theksmith
    theksmith avatar
    5 posts
    Registered:
    19 Nov 2010
    24 Jan 2012
    Link to this post
    excellent!

    could you point me to some documentation or explain what it will exactly do when enabled? i.e. will there be a new button in the admin to check moderated comments against Akismet? or will it just reject spam comments when they are posted (what msg will the user see)? or what?

    thanks!
  19. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    25 Jan 2012
    Link to this post
    Hi Kristoffer,

    Unfortunately we do not have documentation on this, but here it is how it works. When a comment is submitted, it is sent to the Akismet servers for verification. If the comment is verified as safe, it's published on the Sitefinity powered blog. If it is identified as a spam, it is marked as hidden. All hidden comments can be checked via the administration interface, and can be marked as visible if they are marked as hidden by Akismet by mistake. 

    I hope this helps. 

    Kind regards,
    Georgi
    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
Register for webinar
19 posts, 0 answered