Skip to:
Content
Pages
Categories
Search
Top
Bottom

Auto close topics

Viewing 1 replies (of 1 total)

  • _ck_
    Participant

    @_ck_

    It would be possible to do that via a plugin.

    this might work, untested:

    add_action('bb_head','close_long_topics');
    function close_long_topics() {
    global $topic;
    if (is_topic() && $topic->topic_open===1 && $topic->topic_posts>299) {
    bb_close_topic($topic->topic_id);
    $topic->topic_open=0;
    }
    }

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar