![]() |
|
Thread Tools |
#1
|
||||
|
||||
![]()
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! No members have liked this post.
|
#2
|
||||
|
||||
I don't see why you would want to start from 1 again but the only way to achieve this is to execute
queries against all tables that have relationships with the post, thread and forum tables. This will clear the data and reset the seed.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com Contact me for custom vBulletin 3/4 work & server/website management. The following members like this post: romaine
|
#3
|
|||
|
|||
If you dont want any conflicts, just install fresh one, and export only members from old database and import it to new one ..
__________________
The following members like this post: romaine
|
#4
|
||||
|
||||
Originally Posted by Dave
It is just an example for what I want like a fresh forum because id of posts and forums on my forum are pretty big, like 85323 or 93232...etc If members continue posting then it will generate big numbers like that.![]()
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.
__________________
Best smartphones 2018 - smartphones discussion forums, reviews and news. Tranh phong cảnh, khung tranh đẹp, bếp từ chính hăng No members have liked this post.
Last edited by romaine; 02 Feb 2018 at 06:16. |
#5
|
|||
|
|||
Is it that big of a problem to see numbers like that?
At some point it will reach that number again anyway.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com Contact me for custom vBulletin 3/4 work & server/website management. No members have liked this post.
|
#6
|
|||
|
|||
Originally Posted by romaine
If you're worried about this affecting performance, don't worry, it will do no such thing. To truncate them just because you see the numbers getting larger is just paranoia. As stated, those numbers will keep growing with each post, so there's no real point in worrying about it.![]()
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. No members have liked this post.
Last edited by final kaoss; 04 Nov 2017 at 17:18. |
#7
|
||||
|
||||
Originally Posted by Dave
It is not a big problem to see numbers like that but it is my requirement to have new ids on a new forum.![]()
Yeh I think even truncate a table can not solve the problem because it has relations between tables
Originally Posted by final kaoss
You are right, truncate a table can not help to posts or forums have new ids like on a fresh forum.
![]()
No members have liked this post.
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Administrative and Maintenance Tools [Tags Killer] Delete all tags mod ( mass tags delete ) | merkaz | vBulletin 3.8 Add-ons | 22 | 09 Jan 2012 09:05 |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 20:36.