Jump to:

23001 Posts in 11702 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » Spam protection

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 225 Views
  • kindlemanwill
    Avatar
    Community Member
    63 Posts

    Spam protection Link to this post

    I can't get any of the spam protection modules to show a captcha / maths test etc for page comments.

    I have a default install of the comments module, spamprotection module & iv'e tried the mollum, recaptcha and maths spam protectors

    I'm setting the site config like this:

    SpamProtectorManager::set_spam_protector('MathSpamProtector');

    and setting the various api keys. dev/build/flush=all and testing in a different browser so im not logged in as admin. Iv'e cleared the cache and have the site in dev mode.

    At no point has any spam protection shown up. I know it dosn't by default with mollum so i tried to trigger it with some nice spammy looking content - no dice. The mollum report dosn't get listed in the admin/reports area either.

    what am i doing wrong here? I must be missing something in setting up the base spamprotection module right? but what?

  • kindlemanwill
    Avatar
    Community Member
    63 Posts

    Re: Spam protection Link to this post

    should have mentioned: i'm on SS 3.1

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Spam protection Link to this post

    Make sure you have added the optional extension CommentSpamProtection to the CommentingController class.

  • kindlemanwill
    Avatar
    Community Member
    63 Posts

    Re: Spam protection Link to this post

    yep thanks. simon on irc directed me to the module config file where that was demonstrated.

    CommentingController::add_extension('CommentSpamProtection');

    225 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.