vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Delete all private messages PMs from a certain user (https://vborg.vbsupport.ru/showthread.php?t=54138)

Tungsten 06-09-2003 10:00 PM

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.

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...

N9ne 06-10-2003 08:15 PM

Nice, good work :)

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.

MUG 06-15-2003 12:14 AM

Quote:

Today at 09:04 PM DiscussAnything said this in Post #10
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

Quote:

Today at 08:04 PM DiscussAnything said this in Post #10
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

Quote:

Today at 03:43 AM xiphoid said this in Post #14
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 !


All times are GMT. The time now is 06:38 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
  • Page Generation 0.01046 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete