The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Delete all but 1st post
Title says it all really but anyway...
I wish to do a clean up of my forum as I have lots of pointless "thank you" spam posts so my question is how can I delete all posts in the forums except for the first one ie: the thread starter Im guessing an sql quiry would do do the trick but I have no knowledge of sql coding... any help is appreciated... |
#2
|
|||
|
|||
why not copy the thread some where and delete everything and then just post it again...
or you can use the inline moderation to delete all posts except the one u want... |
#3
|
||||
|
||||
Could be annoying if you had to that with a few hundred threads.
|
#4
|
||||
|
||||
Looks like you could go through each post in the post table, grab the threadid, then go to the thread table and see if your postid is the same as the firstpostid in the thread table and if not, delete it. You'd have to run the counters afterwards because that will be off unless you update that when you delete the post.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|