This must be somewhere, but not finding it on search

How to make Nodes read only after a certain amount of time, that is, disallow edit after so many hours or months or years ?

How to disable comments after a certain amount of time, for example, old forum topics do not get bumped ?

Is it possible by some module or some other tweak to convert old nodes, for example the admin specifies nodes 15000 to 1 to be converted to static html, so that they do not take database or cpu resources during normal functioning of the site ?

Comments

vm’s picture

with regards to scheduling nodes to have comments read only. The only two modules I can think of that may do or come close to doing is:

actions.module
rules.module

gremonty’s picture

actions.module - no Drupal 6x supported version.

rules.module - docs, handbook etc give no clue how the above can be done.

Any more help? Has anyone done this before / know any hacks?

vm’s picture

actions.module is in core starting with Drupal 6.x
if enabled in administer -> modules
you have a new administration menu for it at administer -> actions

However, after quick review of the actions that come stock you/someone may have to write an action to accomplish this as well as a trigger.

I've not had a need for this type of feature and therefore cannot supply code. I can only attempt to point you in the right direction.