View Full Version : Delete all private messages PMs from a certain user
Tungsten
06-09-2003, 10:00 PM
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.
Tungsten
06-10-2003, 07:11 PM
Admin CP showing new menu entry when viewing a user's profile...
Tungsten
06-10-2003, 07:11 PM
Confirmation screen asking you if you really want to delete all PMs from this user...
Tungsten
06-10-2003, 08:29 PM
Thanks. It's my first public release hack so I was kinda nervous. :)
assassingod
06-10-2003, 08:34 PM
I like it. Good job:)
Tungsten
06-10-2003, 08:36 PM
Tnx. :D
Sam FT
06-10-2003, 08:41 PM
I have been looking for a hack like this for a long time. I will have to test this out tonight, thanks Tungsten.
Sam FT
06-11-2003, 04:34 AM
Awesome hack. I like it.
*Clicks Install*
DiscussAnything
06-15-2003, 12:04 AM
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.
Today at 09:04 PM DiscussAnything said this in Post #10 (https://vborg.vbsupport.ru/showthread.php?postid=409085#post409085)
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.
No, this deletes PMs FROM a certain user, not ones in their inbox.
Tungsten
06-15-2003, 01:30 AM
Today at 08:04 PM DiscussAnything said this in Post #10 (https://vborg.vbsupport.ru/showthread.php?postid=409085#post409085)
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.
Doing what you suggest deletes all PM's in a user's inbox ... it does not delete all PM's from that user which exist in other users' inboxes.
;)
DiscussAnything
06-15-2003, 09:59 PM
ohhhh, cool sorry I misunderstood... d'oh
Floris
06-24-2003, 07:43 AM
Now this is a good & cool hack.
Good work !
Now I can contact a bunch of my clients that someone made this hack and that I can install it :D
Tungsten
06-24-2003, 09:47 AM
Today at 03:43 AM xiphoid said this in Post #14 (https://vborg.vbsupport.ru/showthread.php?postid=412146#post412146)
Now this is a good & cool hack.
Good work !
Now I can contact a bunch of my clients that someone made this hack and that I can install it :D
Wow... thanks! I've used a bunch of your stuff in the past and this is such a small hack... I'm honored. :o
C.Assassin
06-26-2003, 01:31 PM
that IS a cool hack :)
Dennis B
08-30-2003, 11:37 AM
Tungsten,
How could I modify this to delete all PMs sent from a certain user that haven't been read yet...?
Thanks,
enginethatcan't
08-30-2003, 04:33 PM
wow, easiest hack i have ever installed, 2 steps, 2 seconds, big thanks! will come useful
MaDCaT75
09-12-2003, 04:06 AM
thank you! wonderful hack!
CSS59
12-28-2004, 05:39 AM
i need this for 3.0.3. Does it exist? This is all I found in search :(
LiLSnooP
07-01-2007, 06:17 PM
i need this for 3.6.x Does it exist?
if yes please re-upload !
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.