Hi, I like the blog module, but how do I configure so that when a user enter a comment, it requires approval first before going to the public??
I cant get it to work yet (been flushing lots)
The solution shouls be here
static $defaults = array(
"ProvideComments" => false,
'ShowInMenus' => false
But sounds like it only turns off the comment for a blog entry.
So I want the work flow is
1) User [A] can enter comment as usual
2) User [A] comment won't show up in public by default
3) Admin will need to approve User [A] comment before the comment shows in the public.
I go through the blog module code.
You can change the PageComment.php to have comments moderated as default.
static $moderate = false;
and replace it with true;
( location: /cms/code/sitefeatures )
the much better solution would be to call the enableModeration() method of PageComment.php in your mysite/_config.php like this:
This way, you won't need to edit core files and keep the ability for easy updates.