Skip to:
Content
Pages
Categories
Search
Top
Bottom

Auto close topics

  • @paultjuh2

    Member

    I want my topics close automatic.. at 300 post.

    Is it possible?

    (srry for bad english)

Viewing 1 replies (of 1 total)
  • @_ck_

    Participant

    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