Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

enableing spam protection on comments.


Reply


3 Posts   1756 Views

Avatar
Matt Hardwick

Community Member, 61 Posts

17 September 2008 at 2:27am

Edited: 17/09/2008 2:28am

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.

Avatar
simon_w

Forum Moderator, 474 Posts

17 September 2008 at 7:57am

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

Avatar
Matt Hardwick

Community Member, 61 Posts

17 September 2008 at 11:52pm

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)!