comment closer questions

-Anti- - July 19, 2008 - 18:10
Project:Comment closer
Version:6.x-1.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Thanks for porting this to D6.

1)
Just to clarify, how does this module work?
It uses cron to automatically change 'read/write' comments to 'read-only' after the node is a certain age?

2)
Can authors choose when to close the comments when they publish/edit the node, or is it a sitewide setting?

3)
Can the cron job be limited to closing X nodes per run? For a school website, at the end of the year I would like to set the module to close commenting for all nodes created in the past year. But rather than locking 10,000+ nodes in one run, I'd prefer to lock 1000 nodes every day over ten days so I don't get in trouble with the host.

4)
I don't know how drupal forums work. Are forum replies counted as 'comments'? I'd quite like to lock all the forum threads too - can this module do that, or perhaps I should install the 'adv forum' module?

Cheers!

#1

rmiddle - July 19, 2008 - 22:24

1)
Just to clarify, how does this module work?
It uses cron to automatically change 'read/write' comments to 'read-only' after the node is a certain age?

A) Yes. There is a option on how often to check and how old to for them to be. It doesn't do it by date/time but amount of time since last run. At some point I need to add an interface to control the next run.

2)
Can authors choose when to close the comments when they publish/edit the node, or is it a sitewide setting?

A) No.

3)
Can the cron job be limited to closing X nodes per run? For a school website, at the end of the year I would like to set the module to close commenting for all nodes created in the past year. But rather than locking 10,000+ nodes in one run, I'd prefer to lock 1000 nodes every day over ten days so I don't get in trouble with the host.

A)Under the current setup it run the mother of all sql query to closes them all at once. I have a version of the code that adds a comment when closing that could be limited but the basic mode is a signal sql commad. It doesn't add much of load even with 1000's of nodes since it uses sql not the node system

4)
I don't know how drupal forums work. Are forum replies counted as 'comments'? I'd quite like to lock all the forum threads too - can this module do that, or perhaps I should install the 'adv forum' module?

A( I don't use forum for anything at all. It is done be type so if the forums type is seen by the config then likely it will work since forum posts are basicly comments.

Thanks
Robert

#2

-Anti- - July 19, 2008 - 22:34
Status:active» closed

Thanks for your reply!
Sounds like your module will help our school.

Cheers.

 
 

Drupal is a registered trademark of Dries Buytaert.