[drupal-devel] Comment Moderation.

Gordon Heydon gordon at heydon.com.au
Sat Nov 5 23:19:59 UTC 2005


Hi,

On Sat, 2005-11-05 at 08:35 -0500, Moshe Weitzman wrote:
> I don't think anyone has worked on this, though it could have escaped me ...
> This can all be done in contrib, via hook_comment and hook_nodeapi (for the
> settings on 'content types' page).

Surprising. Looking at it I will create a contrib module to do the
update. I think it is a little inefficient, as I will need to update the
field twice.

Thanks for the info.
Gordon.


> 
> On 11/5/05 7:50 AM, "Gordon Heydon" <gordon at heydon.com.au> wrote:
> 
> > Hi,
> > 
> > I have had a question from a client and I was thinking that someone must
> > have already done this.
> > 
> > Basically he would like comments that are posted against forum entries
> > not be moderated and comments posted against other node types, eg story
> > or page to be moderated.
> > 
> > I have looking at the code and the I was thinking of adding additional
> > perms for each node type as well as having the current one, and then
> > or'ing the 2 to see what I came up with.
> > 
> > I would be surprised if no one else had needed something like this.
> > 
> > Thanks in advance.
> > Gordon.
> > 
> 
> 
> 
> !DSPAM:436cbbe4218231934465986!
> 




More information about the development mailing list