Welcome to Our Community

Registration on our forums are now open for some days! Feel free to sign up today.

[Free Add-on ] [Llama] Thread Rotate 1.2

Lock a thread and start a new similar thread from Thread Tools

  1. XenForo Rocks
    Compatible XF Versions:
    • 1.2
    • 1.3
    • 1.4
    • 1.5
    Visible Branding:
    • Locks an existing thread and starts a new thread in the same forum with just a few clicks.
    • Adds posts in each thread linking to the other.
    • Copies stickiness and moderated status of old thread to new, and unsticks old thread.
    • If existing thread title ends in a number, increments that number in suggested new title, e.g. original thread "Pictures of Cats - Part 19", suggested new thread title "Pictures of Cats - Part 20".
    Use Cases
    • Monthly threads - e.g. Close a "January Photos" thread and start a "February Photos" thread.
    • Preventing single threads becoming too large. (Large threads increase the PHP memory used and can prove difficult to move/delete in XenForo)
    1. Upload files/directories under `upload` to your XenForo's root
    2. Import add-on xml
    Detailed Functionality
    This adds a "Rotate Thread" option to the Thread Tools dropdown for any user with permissions to both edit and lock that thread.
    The option can only be used if the user has "Manage (move, merge, etc.) thread by anyone" permissions for that forum.

    When selected this performs the following actions:

    1. Creates a new thread in the same forum (you can choose a new title)
    2. Adds a post on the new thread with a link back to the old one.
    3. Adds a post on the old thread with a link to the new one.
    4. Locks the old thread.
    5. If the old thread was "sticky" or moderated, the new one will be too. The old thread is unstuck.
    6. If the old thread title ends in a number, the suggested new thread title will be incremented.

    Editing the messages which get posted into the new and old thread.

    The messsages are two XenForo phrases:


    These can be edited like any other phrase.
    The "new" message uses the {link}, {title}, {userLink} and {username} variables.
    The "old" message uses the {link} and {title} variables.

    See this animated GIF for a demonstration of it working.

    My first XenForo add-on, so the usual disclaimers apply.
    View attachment 11035 69383-f4b6e825f2148448033c4055d995b104.jpg
    Tagene, 4765656b, bobefer and 3 others like this.
  • About Us

    Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.
  • Like us on Facebook

  • Buy us a beer!

    The management works very hard to make sure the community is running the best software, best designs, and all the other bells and whistles. Care to buy us a beer? We'd really appreciate it!

    Donate to us!