1

(6 replies, posted in PunBB 1.4 troubleshooting)

Visman, it's my own code from the time of waiting your answer.
Not experienced developer, don't understand now my mistakes. Sorry)
I'll be better.

2

(6 replies, posted in PunBB 1.4 troubleshooting)

Finally I wrote to post.php

if ($cur_posting['num_replies'] > 999 && $cur_topic['closed'] == '0') {
    $query = array(
        'UPDATE'    => 'topics',
        'SET'        => 'closed=1',
        'WHERE'        => 'id='.$cur_posting['id']
    );
    $forum_db->query_build($query) or error(__FILE__, __LINE__);
}

and it's working.

3

(6 replies, posted in PunBB 1.4 troubleshooting)

Hello everyone.

I want to make my forum close the topic after 1000 post and probaly open the next one with the same "title (continuation)".

I've found one solution in version 1.2, but it doesn't work in 1.4. Can anybody help me with this task?