Manually allow comments for new users

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Khor
Posts: 2
Joined: Tue Dec 11, 2007 11:16 am
Location: Hamburg, Germany
Contact:

Manually allow comments for new users

Post by Khor »

Hello everyone.
A few days ago I switched my website to s9y. To restrict the comment function I found and installed the user self-registration plugin. The user is put into a group "User" which has no rights (i.e. all checkboxes are unchecked in this group) and the user is disabled. However the user is still able to comment after registration.

Is there any possibility to change that behaviour so that I my permission is required to enable comments for that user?

Thanks for your answers.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Manually allow comments for new users

Post by garvinhicking »

Hi!

You can enable the anti-spam plugin, and then configure that plugin to auto-moderate all spam (through the various options, like by enforcing auto-moderation after 1 day. anything, apart frmo the emergency switch ;).

Then you can configure in that plugin, to which usergroups the anti-.spam measurements to not apply. There you can choose all usergroups except teh "User" usergroup.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Khor
Posts: 2
Joined: Tue Dec 11, 2007 11:16 am
Location: Hamburg, Germany
Contact:

Post by Khor »

Thanks for your reply. I guess this solution is quite good for a start. But if I understand correctly, the spam-filter trashes the comment after the user has written it, right? Seems quite unfair to me. ;) Isn't there any way to completly disable the comment box for a group?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

That depends if you configured "rejecT" or "moderate2". Moderate comments are stored in the DB.

I don't know an existing plugin that disables the comment box. But a plugin for this could easily be written, maybe half an hour's work.

Regards
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply