View Full Version : Recreate deleted thread number??
novabandit
11-17-2009, 12:34 PM
I have a thread that was heavily linked to on my forums that was hard deleted (long story).
Now all those links go to the "invalid thread" page.
I was able to (from a DB backup restored onto a test forum) get the contents of the main post, which is the only one I care about, but is it possible to create a new thread in the old thread's location (thread number?)
This is reeeeeally important to me... as this thread brought more traffic to my site than nearly anything else!
Lynne
11-17-2009, 02:34 PM
You would have to alter the database manually to change the thread id and then change the parentid for the post.
novabandit
11-17-2009, 02:54 PM
Are those the only two places in the DB I would need to edit?
Lynne
11-17-2009, 03:17 PM
I think so. I am assuming we are talking about one thread with one post. And, assuming you don't need that one post listed as the Last Post on any forumdisplay page. And, assuming you have no poll and no votes on it and no tags... nothing but one simple post in one little thread.
novabandit
11-17-2009, 03:36 PM
YOU ROCK!
I was able to change the thread ID of the thread, and the thread ID of the posts in the thread on my test site, and it all worked PERFECTLY!
Backing up my prod DB now, and I'm going to try it for real. Wish me luck!
AND THANK YOU!!!
--------------- Added 1258480090 at 1258480090 ---------------
OK. I made the DB edits in the THREAD table (changing the thread ID of the new thread with the copypasta post from the restore to the old thread ID #) and in the post table (changing the thread ID of the posts that had the old thread ID).
Should I do any index rebuilds in adminCP before I make the forums available again?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.