![]() |
Delete all private messages PMs from a certain user
I had need of this hack a while back and searched vb.org but was unable to locate anything that did it. So I decided to write my own. :)
Basically what this does is add a new entry at the top of a user's profile from the admin control panel. When viewing a user's profile in the CP, you now have an option for deleting all private messages sent FROM the user whom you are currently viewing. It's useful for those occasions when some twit gets on your forum and starts spamming or harassing your other users through private messaging. A couple of quick clicks and anything that user has sent is immediately wiped from the database. As always, back up your databases and vBulletin files before you apply and/or use this hack. I make no guarantees as to it's safety -- but will say that it merely uses the same code seen elsewhere in the user.php file as provided by Jelsoft. ;) Test and confirmed to work on vBulletin 2.3.0 Screenshot will be posted next. |
Admin CP showing new menu entry when viewing a user's profile...
|
Confirmation screen asking you if you really want to delete all PMs from this user...
|
Nice, good work :)
|
Thanks. It's my first public release hack so I was kinda nervous. :)
|
I like it. Good job:)
|
Tnx. :D
|
I have been looking for a hack like this for a long time. I will have to test this out tonight, thanks Tungsten.
|
Awesome hack. I like it.
*Clicks Install* |
Nice one, but couldnt you just find the user in the PM Statistics (may be difficult on a large forum) and then delete all their PMs?
This hack definitely makes it easier, but it is already possible. |
All times are GMT. The time now is 10:08 AM. |
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:
|