1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 how to restore a deleted node

Discussion in 'XenForo Questions and Support' started by time, Aug 16, 2013.

  1. time

    time Active Member

    how to restore a deleted node?

    Thanks
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    You can't, unfortunately.

    You would need to restore the xf_node table from a backup.

    But if it was a forum, and you're running XenForo 1.2 you've probably also deleted all of the posts and threads in that forum too.
     
    time likes this.
  3. time

    time Active Member

    how to delete all the posts in that node?
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    If you're running XenForo 1.2 then deleting the node will delete all of its posts.
     
  5. time

    time Active Member

    I'm using 1.1.3, so if you upgrade to 1.2, the node will auto delete all of its posts.
     
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    No, the auto-removal of posts upon node deletion is not retroactive.
     
    time likes this.
  7. Chris D

    Chris D XenForo Developer Staff Member

    You would have to do some database queries to remove the data, in that case, but that would still leave a load of orphaned data.
     
    time likes this.
  8. time

    time Active Member

    How to delete all post in one certain period of time? I deleted all the posts and just keep the post 6 months ago
     
  9. time

    time Active Member

  10. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to manually edit the database: xf_node.node_id
     
  11. time

    time Active Member

    I am a lover XenForo but without a web techniques.

    I want to change the node with id = 3 -> id = 4 . @Brogan can not provide specific guidance

    sorry, my bad english!
     
  12. time

    time Active Member

    @Brogan @Chris Deeming @King Kovifor

    I deleted node id = 341, now I want to create one new node id of the node and change it to 341. Can you guide me perform?

    sorry, my bad english!
     

Share This Page