Support » Plugin: BBP Close Old Topics » close the topics that age is older than an hour

  • Resolved jimmy369


    Hi, I have downloaded the plugin, it’s very useful, thank you. I have tried to modify it to close the topics that age is older than an hour or a half hour, but I failed. Could I have some suggestion or tips? thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same question; otherwise stated:
    I would like to use the plugin to set up forums where the participant can only reply, not create now topics (only the admin or moderator should be able to create topics).
    Could this be added as an option?

    • This reply was modified 2 years, 11 months ago by Hugo Callens.
    Plugin Author Iceable


    Hi @jimmy369,

    Apologies for the delayed reply.

    To do this quick and dirty you would only change line 204 from this:

    if ( $last_active < strtotime( '-' . $this->old_topic_age_setting() . ' days' ) ) :

    to this:

    if ( $last_active < strtotime( '-1 hour' ) ) :


    if ( $last_active < strtotime( '-30 minutes' ) ) :

    And it should do the trick. If you are still stuck please let me know exactly what you have tried so I can try to have a closer look.

    Plugin Author Iceable


    Hi @prettiggeleerd,

    I’m afraid what you are asking is quite a different question. This plugin closes topics based on their age while you want to control users ability to create topics and replies based on their roles.

    This is quite a different set of features, although a simple one it would require a totally different plugin.
    (Also this plugin being a really tiny add-on that specialises in a single task, adding various features and turn it into a multi-tool is not planed).

    There might be plugins available to allow you customise users capabilities ; if not this feature shouldn’t take too much to code based on this reference:

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘close the topics that age is older than an hour’ is closed to new replies.