Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Delete all private messages PMs from a certain user Details »»
Delete all private messages PMs from a certain user
Version: 1.00, by Tungsten Tungsten is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 06-09-2003 Last Update: Never Installs: 19
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-15-2003, 12:14 AM
MUG MUG is offline
 
Join Date: Apr 2002
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #13  
Old 06-15-2003, 01:30 AM
Tungsten's Avatar
Tungsten Tungsten is offline
 
Join Date: Jan 2002
Location: Nashville, TN
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Reply With Quote
  #14  
Old 06-15-2003, 09:59 PM
DiscussAnything DiscussAnything is offline
 
Join Date: Jan 2002
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ohhhh, cool sorry I misunderstood... d'oh
Reply With Quote
  #15  
Old 06-24-2003, 07:43 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 06-24-2003, 09:47 AM
Tungsten's Avatar
Tungsten Tungsten is offline
 
Join Date: Jan 2002
Location: Nashville, TN
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Wow... thanks! I've used a bunch of your stuff in the past and this is such a small hack... I'm honored.
Reply With Quote
  #17  
Old 06-26-2003, 01:31 PM
C.Assassin C.Assassin is offline
 
Join Date: Nov 2001
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that IS a cool hack
Reply With Quote
  #18  
Old 08-30-2003, 11:37 AM
Dennis B's Avatar
Dennis B Dennis B is offline
 
Join Date: Jul 2002
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tungsten,

How could I modify this to delete all PMs sent from a certain user that haven't been read yet...?

Thanks,
Reply With Quote
  #19  
Old 08-30-2003, 04:33 PM
enginethatcan't enginethatcan't is offline
 
Join Date: Jul 2003
Location: MA
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow, easiest hack i have ever installed, 2 steps, 2 seconds, big thanks! will come useful
Reply With Quote
  #20  
Old 09-12-2003, 04:06 AM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you! wonderful hack!
Reply With Quote
  #21  
Old 12-28-2004, 05:39 AM
CSS59 CSS59 is offline
 
Join Date: Oct 2004
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i need this for 3.0.3. Does it exist? This is all I found in search
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:48 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
  • Page Generation 0.04499 seconds
  • Memory Usage 2,293KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete