Spam protection system for blog comments with nocaptcha

Silverstripe 4.10
silverstripe/spamprotection 3.2
undefinedoffset/silverstripe-nocaptcha 2.1
silverstripe/comments 3

Okay I am sure this has been asked before but when I add this following code to the yml nothing comes up on to protect comments and I am getting tons.

- CommentSpamProtection

I have the nocaptcha module setup for working with userforms okay but does not work on comments. I am getting much spam.


I haven’t used the Comments module before, but by looking at the versions provided it will be a namespace issue.

This is using the namespace of the Classes in your example:

    - SilverStripe\SpamProtection\Extension\CommentSpamProtection

Ref: silverstripe-spamprotection/CommentSpamProtection.php at 3.2.0 · silverstripe/silverstripe-spamprotection · GitHub
silverstripe-comments/CommentingController.php at 3.0.0 · silverstripe/silverstripe-comments · GitHub