The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Deleting users' PMs
Is there a way to delete users' pms?
|
#2
|
||||
|
||||
[sql]DELETE FROM privatemessage WHERE userid=XX;[/sql]
Should do the trick. |
#3
|
||||
|
||||
Thanks for the trick, but isn't there any other way that is more powerful? For example, I only want to delete the messages in the sent items folder.
|
#4
|
||||
|
||||
You should've said so...
[sql]DELETE FROM privatemessage WHERE userid=XX AND folderid=-1;[/sql] |
#5
|
||||
|
||||
Thanks. I'll try it as soon as I can find sometime to login to phpmyadmin.
|
#6
|
||||
|
||||
FireFly...
I have always wondered... Why is the Id of the Sent folder -1??? Satan |
#7
|
||||
|
||||
Because the ID of the Inbox folder is 0... and positive numbers are saved for custom folders.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|