![]() |
Deleting users' PMs
Is there a way to delete users' pms?
|
[sql]DELETE FROM privatemessage WHERE userid=XX;[/sql]
Should do the trick. |
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.
|
You should've said so... ;)
[sql]DELETE FROM privatemessage WHERE userid=XX AND folderid=-1;[/sql] |
Thanks. I'll try it as soon as I can find sometime to login to phpmyadmin.
|
FireFly...
I have always wondered... Why is the Id of the Sent folder -1???:confused: Satan |
Because the ID of the Inbox folder is 0... and positive numbers are saved for custom folders.
|
All times are GMT. The time now is 02:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|