[development] Per content type comment moderation settings

Gerhard Killesreiter gerhard at killesreiter.de
Tue May 22 23:08:37 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Boris Mann schrieb:
> The subject says it all....this seems like it would be a simple
> module, to set per content type moderation settings. For instance,
> allow forum comments to be published immediately, but blog comments to
> be pre-moderated.
> 
> Anyone know of something that can do this? If not, anyone have time to
> write a quick module to accomplish this?
> 

Sounds simpler than it is. Comment module has still a lot of hardwired
stuff.

Your best bet is to utilize hook_comment and change the status after the
comment got saved in comment_save.

Cheers,
	Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGU3f1fg6TFvELooQRAkiCAKCbL+ixO5iwWxx+rb2GShFwhIoLKQCfbInX
ilqMHRUrTHTQzppJrHZGM3k=
=Mc40
-----END PGP SIGNATURE-----


More information about the development mailing list