The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Delete all PM's!!!
How do i go about deleting all pms from every single user?
|
#2
|
||||
|
||||
Quote:
notice i said empty and not drop. |
#3
|
||||
|
||||
use a truncate query on the pm tables
and make sure to reset every users pm count then |
#4
|
||||
|
||||
whats the query plz ;(
|
#5
|
||||
|
||||
TRUNCATE TABLE pm;
TRUNCATE TABLE pmtext; TRUNCATE TABLE pmreceipt; UPDATE user SET pmtotal=0,pmunread=0; |
#6
|
||||
|
||||
code didnt work ;(
|
#7
|
||||
|
||||
Quote:
|
#8
|
||||
|
||||
I recommend creating an Official "Queries List" (STICKY) ... it would help a lot of people. Plus, minimize the same questions being asked over and over again.
|
#9
|
||||
|
||||
but there is a danger in giving that because hackers/users(if they got access) could destroy an entire database
|
#10
|
||||
|
||||
thanks, worked
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|