Limit comment number per node?

Grimlock - September 4, 2008 - 19:11

Hello,

I'm trying to figure out a way to limit the number of comments that can be posted to a node on a node by node basis. I've been searching for the last two days using Google and Drupal.org but no luck.

I was looking at the limit comment length mini module at http://drupal.org/node/102787 but unfortunately I'm not a programmer but it does seem that a mini module could get me the functionally I'm seeking.

To be more specific on how this would work here's the run down.

1. When creating a content type an author would have the ability to enter any amount of digits into an input box that would only allow that many comments on the node. This feature can be located anywhere on the page to create content.

2. Leaving the box empty would allow for unlimited comments per node.

If you were wondering why I need to limit this it's because my Drupal site allows authors to post nodes that they pay for and each comment cost a certain amount. If they can't limit the amount of comments they could owe me a lot of money, which wouldn't be bad for me but this is a blocking issue for my websites release.

Any help would be greatly appreciated and if their is a module that already does this and I overlooked it please point me in the right direction.

Thank you,

Grim

You might want to request

Dave Reid - September 4, 2008 - 19:35

You might want to request this feature for the developers of the Comment Closer module. But if you're going to have users pay to post content and/or comments, you're going to need some kind of e-Commerce module that will not allow a user to comment once they have run out of "credits."

 
 

Drupal is a registered trademark of Dries Buytaert.