Jump to content

Forum with Expiring Topics

Featured Replies

Posted

My idea is to add a feature to IPB that will allow an automatic topic expiration. This would be something configurable in the new forum settings. Ideally, I could create a new forum, and a field for "max topic age". When the topic age expired, typically by a cron job, it would be marked as hidden or expired.  The user would be sent an email and they would have the option to renew the topic up to to X (configurable) amount of times.

This feature would give some of us the capability to create posts that expire automatically and we can keep the forum clear of aging topics.

Here is a quick recipe you could use that I cooked up with rules:

Quote
Rule: Trigger scheduling custom action
  • Event: Topic has been created or updated
  • Conditions:
    • Truth Value (When topic is new only)
  • Actions:
    • Schedule automatic closing of a topic (Trigger the scheduling action)
Rule: Schedule topic expiration based on forum setting
  • Event: Action triggered: Schedule automatic closing of a topic
  • Conditions:
    • Number Value (Topic expiration setting is more than zero)
  • Actions:
    • Lock content (Lock the topic) [Scheduled]

 

auto-expire-topics.xml

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.