Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Disabling Comment Moderation?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Braden  
View profile  
 More options Apr 1 2008, 5:56 pm
From: Braden <goo...@dabrado.net>
Date: Tue, 1 Apr 2008 14:56:58 -0700 (PDT)
Local: Tues, Apr 1 2008 5:56 pm
Subject: Disabling Comment Moderation?
Hi,

Is there a way to disable comment moderation, preferably while
preserving spam filtering?

Sorry if this is covered elsewhere, but it didn't come up in any of my
searches.

Thanks!
   Braden


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rick c  
View profile  
 More options Apr 1 2008, 7:13 pm
From: rick c <rickcock...@gmail.com>
Date: Tue, 1 Apr 2008 16:13:28 -0700 (PDT)
Local: Tues, Apr 1 2008 7:13 pm
Subject: Re: Disabling Comment Moderation?
No, there isn't, Braden. However, there is a Preapproved plugin in
Habari Extras ( http://habariproject.org/dist/plugins/ ). This plugin
automatically approves comments from people who already have approved
comments in your database so they aren't held in moderation. Spam
filtering, if you have it activated, still continues. I hope this
helps.

Rick
http://sagrising.cockrumpublishing.com

On Apr 1, 5:56 pm, Braden <goo...@dabrado.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Braden  
View profile  
 More options Apr 1 2008, 9:43 pm
From: Braden <goo...@dabrado.net>
Date: Tue, 1 Apr 2008 18:43:17 -0700 (PDT)
Local: Tues, Apr 1 2008 9:43 pm
Subject: Re: Disabling Comment Moderation?
Thanks!

Seems to be a fairly straight-forward plugin... presumably I could
modify it to just always approve new comments?

I ask just in case there is a particular reason why it would be bad to
make the plugin do this... other than the general problems that could
arise from not having moderation.

  - Braden

On Apr 1, 4:13 pm, rick c <rickcock...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rick c  
View profile  
 More options Apr 1 2008, 10:07 pm
From: rick c <rickcock...@gmail.com>
Date: Tue, 1 Apr 2008 19:07:08 -0700 (PDT)
Local: Tues, Apr 1 2008 10:07 pm
Subject: Re: Disabling Comment Moderation?
Braden,

From looking at the code you could modify Preapproved to always
approve comments. You would, of course, have the general problems you
talk about. Make sure you have your spam filters active. You could
also look into the Simpleblacklist plugin. It scans for specific
phrases, urls, and ip addresses you give it to mark as spam. With the
hooks they're using, the spam filters look at the comment first, then
the Simpleblacklist plugin, then at the end Preapproved gets its shot.

Rick
http://sagrising.cockrumpublishing.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael C. Harris  
View profile  
 More options Apr 1 2008, 10:37 pm
From: "Michael C. Harris" <michael.twof...@gmail.com>
Date: Wed, 2 Apr 2008 13:37:04 +1100
Local: Tues, Apr 1 2008 10:37 pm
Subject: Re: [habari-users] Re: Disabling Comment Moderation?

On Tue, Apr 01, 2008 at 06:43:17PM -0700, Braden wrote:

> Seems to be a fairly straight-forward plugin... presumably I could
> modify it to just always approve new comments?

If you did do this, it might make senes to simply have it as a
configurable option in the PreApproved rather than as a whole separate
plugin. You might consider submitting a patch.

--
Michael C. Harris, School of CS&IT, RMIT University
http://twofishcreative.com/michael/blog


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Braden  
View profile  
 More options Apr 2 2008, 3:42 am
From: Braden <goo...@dabrado.net>
Date: Wed, 2 Apr 2008 00:42:16 -0700 (PDT)
Local: Wed, Apr 2 2008 3:42 am
Subject: Re: Disabling Comment Moderation?
On Apr 1, 7:37 pm, "Michael C. Harris" <michael.twof...@gmail.com>
wrote:

> On Tue, Apr 01, 2008 at 06:43:17PM -0700, Braden wrote:

> > Seems to be a fairly straight-forward plugin... presumably I could
> > modify it to just always approve new comments?

> If you did do this, it might make senes to simply have it as a
> configurable option in the PreApproved rather than as a whole separate
> plugin. You might consider submitting a patch.

That's a good idea, I'll try it!

One thing about the PreApproved plugin is that it seems to cause an
"Internal Server Error" when I activate it or (attempt to) deactivate
it.  It seems to happen due to a call to EventLog::register_type in
its action_plugin_activation function, and also
EventLog::unregister_type in its action_plugin_deactivation function.
Do those need to be there...?

  - Braden


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael C. Harris  
View profile  
 More options Apr 2 2008, 4:43 am
From: "Michael C. Harris" <michael.twof...@gmail.com>
Date: Wed, 2 Apr 2008 19:43:08 +1100
Local: Wed, Apr 2 2008 4:43 am
Subject: Re: [habari-users] Re: Disabling Comment Moderation?

On Wed, Apr 02, 2008 at 12:42:16AM -0700, Braden wrote:

> One thing about the PreApproved plugin is that it seems to cause an
> "Internal Server Error" when I activate it or (attempt to) deactivate
> it.  It seems to happen due to a call to EventLog::register_type in
> its action_plugin_activation function, and also
> EventLog::unregister_type in its action_plugin_deactivation function.
> Do those need to be there...?

That's an excellent question. I've CC'd this to the developers list.
There's a comment in the code that asks if we should be unregistering
the 'PreApproved' type. I haven't looked into the implications of
unregistering a type (yet); perhaps someone can now say if it's a bad
idea?  The evidence above suggests it may be ...

--
Michael C. Harris, School of CS&IT, RMIT University
http://twofishcreative.com/michael/blog


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Merrill  
View profile  
 More options Apr 2 2008, 11:09 am
From: "Scott Merrill" <ski...@skippy.net>
Date: Wed, 2 Apr 2008 11:09:47 -0400
Local: Wed, Apr 2 2008 11:09 am
Subject: Re: [habari-users] Re: Disabling Comment Moderation?
On Wed, Apr 2, 2008 at 4:43 AM, Michael C. Harris

I don't like the idea of unregistering log types when the plugin that
provides that log type is deactivated.  It means that there could be
logs stored in the DB for which no log type is defined.

For the record, I also dislike the idea of removing statuses and
content type indicators when plugins that create them are deactivated.

Can someone provide a compelling argument for why it would be
beneficial to remove a log type, status type, or content type record
when the associated plugin is disabled?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Braden  
View profile  
 More options Apr 4 2008, 5:31 am
From: Braden <goo...@dabrado.net>
Date: Fri, 4 Apr 2008 02:31:02 -0700
Local: Fri, Apr 4 2008 5:31 am
Subject: Re: [habari-users] Re: Disabling Comment Moderation?

On Apr 2, 2008, at 8:09 AM, Scott Merrill wrote:

Just to follow up here, the consequence to unregistering a log type is  
that any log entries that reference that type get marked as  
"Unknown".  As such, I would think it is not desirable to remove the  
log type when there still exist entries in the log associated with  
that type.

As for adding log types, apparently they are added automatically when  
writing to the log (by LogEntry::type() called by  
LogEntry::insert()).  So does one even need to register a log type  
when activating a plugin?

BTW, the reason the PreApproved plugin was causing an internal server  
error is because it passed only one argument to the two-argument  
function register_type, which has the second argument ('module') set  
to null by default, but the schema of the log_types table disallows  
nulls for 'module' or 'type'.

   - Braden


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »