The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to delete all posts and forums?
I restored a vB 4 on a different hosting to test and I want to delete all posts and forums there but keeping members but the problem is I want to have new posts or forums that like a clean forum does, i.e
forum id starts from 1 post id starts from 1 I am thinking about empty forums and posts table in Phpmyadmin but I don't know that's possible or not because I think vBulletin table has relationships together so If I delete them, maybe cause some conflicts on forum? Please advise me. Thanks! |
#2
|
|||
|
|||
I don't see why you would want to start from 1 again but the only way to achieve this is to execute
HTML Code:
TRUNCATE TABLE tablename; This will clear the data and reset the seed. |
Благодарность от: | ||
romaine |
#4
|
||||
|
||||
Quote:
That's why I asked this question, I am using vB 4.25 and PHP 7 thus I could not use Impex to import members on a fresh forum. |
#5
|
|||
|
|||
Is it that big of a problem to see numbers like that?
At some point it will reach that number again anyway. |
#6
|
|||
|
|||
Quote:
Oh and I forgot to mention that by truncating them, you also run the risk of breaking internal links that your members may have linked to in threads. |
#7
|
||||
|
||||
Quote:
Yeh I think even truncate a table can not solve the problem because it has relations between tables Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|