I am using advance forum on drupal 7. I want to add following functionality to it:


I could define forum posts older than 6 months or so should be automatically be archived and visible only to admin.

Any module or pointers to achieve same highly appreciated.

1 Answer 1


You could use the Rules module.

Create a rule to set the node status to "unpublished" when the node is older than 6 months and make it execute every time the cron runs.

Also, make sure you allow only the admin to see the unpublished content

  • i don't want to unpublish them, i want to have a different state- "archive" which will not be visible in search and will only be read-only by some user-roles on site.
    – prady00
    Nov 16, 2012 at 4:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.