Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » enableing spam protection on comments.

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1668 Views
  • Matt Hardwick
    Avatar
    Community Member
    61 Posts

    enableing spam protection on comments. Link to this post

    Hi one of my blog posts just got spammed with 25 comments about ephedrine and pornography. I thought it was meant to pick up such comments automatically, it obviously didn't - so is there something I need to do to make it moderate comments? If it is already trying to catch these kind of comments (and it just didn't pick these particular ones up) is there any way that I force all comments to need to be manually moderated (I have to login and approve them manually) before they are published.

    TIA

    Matt.

  • simon_w
    Avatar
    Forum Moderator
    467 Posts

    Re: enableing spam protection on comments. Link to this post

    To enable the maths spam question (like the one on the SilverStripe blog), add

    MathSpamProtection::setEnabled();


    to mysite/_config.php

    To enable moderation of all posts, add

    PageComment::enableModeration();


    to mysite/_config.php

  • Matt Hardwick
    Avatar
    Community Member
    61 Posts

    Re: enableing spam protection on comments. Link to this post

    Thankyou so much.

    Site goes public on Saturday - we are getting jitters already.

    Word has leaked and we are getting 100s of (unique) users a day and we haven't advertised the address yet or anything (just word of mouth traffic as 90% of our hits are direct address typing in)!

    1668 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.