Page 1 of 1

How to force comment moderation?

Posted: Thu Mar 27, 2008 11:58 pm
by psiege
I'm interested in forcing all comments to be moderated, except for comments made by approved users. Is there a method to allow this functionality?

Thanks in advance for any help!

Posted: Fri Mar 28, 2008 12:42 am
by Don Chambers
From the admin screen, select Configure Plugins and scroll down to Event Plugins. Click on Spam Protector, which should have been installed by default. You will see a number of options for enforcement of captchas, comment moderation, trackback moderation, etc.

Posted: Wed Apr 02, 2008 12:06 am
by psiege
I need to force comment moderation for ALL comments. I can't seem to get that to work. Any suggestions? Thanks!

Posted: Wed Apr 02, 2008 10:49 am
by garvinhicking
Hi!

For this, set your editor's personal preferences to default to "Entry requires moderation" to "Yes". Then you must edit all entries that you already created and also check the "Entry requires moderation" checkbox next to the save button.

Regards,
Garvin

Posted: Wed Apr 02, 2008 5:05 pm
by psiege
That's what I was thinking. I was hoping that I was missing a global setting somewhere that said "Force Moderation on all Comments". This would be nice, as it would prevent an editor from unchecking that option.

Thanks again!

Posted: Thu Apr 03, 2008 9:36 am
by garvinhicking
Hi!

You could globally force it with a small trick; use the "Wordfilter for author names" and enter the regular expression ".*" there, and then set this wordfilter to "auto-moderate". This will moderate all comments :)

Regards,
Garvin

Re: How to force comment moderation?

Posted: Mon Aug 03, 2009 3:32 pm
by rewl
'forcing all comments to be moderated, except for comments made by approved users' is not possible - or did I miss something in the replies ?

Re: How to force comment moderation?

Posted: Mon Aug 03, 2009 4:34 pm
by garvinhicking
Hi!

This should work as well, but requires some more RegExp-Magic. Sadly I always forget about grouped submatches.

It would be something along the lines of:

Code: Select all

[^(?:user1|user2|anotheruser|evilknieviel)]
That means "Everything BUT". I don't tthink that the (?: syntax is the right one here, but I don't know where to easily look that up right now...

Regards,
Garvin

Re: How to force comment moderation?

Posted: Tue Aug 04, 2009 10:17 am
by rewl
very nice - thanks a lot !
For my needs it was enough to 'Disable Spamblock for Authors' in SPAM-Protector and use a catch all '.*' RegExp in Wordfilter for author names