MyBB Community Forums

Full Version: Thread Id's
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Is there any way we can adjust the thread id's?
I mean I have a thread with id=1 and another with thread id=3.
Can I change it to 2?
I tried editing it in the phpmyadmin but it didn't work.
Nope.
It's not possible but may if you delete a thread then possibly you can change a threads ID to the deleted threads ID.

Edited

Changed my mind after reading Nathans post.
I have thread with id=1 and other with id=3.
I don't have one with 2 because I have deleted it. Can I still change? How?
edit: removed, as didn't knew it's not good for database Toungue
I changed it but it didn't work.
I would advise not messing with incremental integers in the database. They link data together which means you could easily break things.

If you only have 2 threads, you could probably get away with copying the content of the second thread to a text file, deleting that thread, optimizing the tables in the database, then creating the thread again with the content from the text file. It will create it as tid 2. Always remember to make a database backup before trying something which could cause damage to your website.

If this isn't the case, and you have many more threads, I'd advise you leave it alone as it would be highly tedious to try and make any changes at that stage.
I deleted all the threads and when created a new thread got the thread id as 12?
Did you optimize the tables like I said?
I did it through Admin CP.

Please reply?
Huh
Pages: 1 2