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

Reply
 
Thread Tools
Delete All PMs - Let your members prune all their private messages automatically! Details »»
Delete All PMs - Let your members prune all their private messages automatically!
Version: 1.00, by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 04-05-2004 Last Update: Never Installs: 33
 
No support by the author.

Delete All PMs v1.0 - by Dr Erwin Loh

Do not distribute or copy without the author's permission.

This hacks allows your members to automatically delete all their PMs with one-click. Very useful, since currently you have to go and click on each page of PMs one by one to empty your inbox. This will remove all PMs in the Inbox, Sent and all other folders.

Installation

1. Edit 1 PHP file.
2. Edit 1 template.
3. Add 2 phrases.

The option to delete all PMs will be in the dropdown menu at the bottom of the PM list.

The instructions are in the ZIPPED file below.

Screenshot:

Show Your Support

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

Comments
  #12  
Old 04-07-2004, 11:33 PM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Erwin
I can look into that. That should be easy to do actually.
That will be great, i will install when you done the tweaking, thanks Erwin
Reply With Quote
  #13  
Old 04-08-2004, 12:05 AM
teksigns's Avatar
teksigns teksigns is offline
 
Join Date: Sep 2003
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyway to get a javascript confirmation when a user clicks this ......

it would be a shame to click it by accident .
Reply With Quote
  #14  
Old 04-08-2004, 12:13 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Erwin
I can look into that. That should be easy to do actually.
It should be a walk in the park for you, sir. Looking forward to it.
Reply With Quote
  #15  
Old 04-09-2004, 09:15 PM
ssabmud ssabmud is offline
 
Join Date: Apr 2003
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to use this on older versions as well?
Reply With Quote
  #16  
Old 04-17-2004, 09:30 AM
vbIce vbIce is offline
 
Join Date: Feb 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about a way people can CHECK the ones they do NOT want deleted?

You know there are some PM's people might want to keep so would be great to have it so they could say create a FOLDER for all the ones they want to KEEP then CHECK the box, now when they run the Delete ALL it will delete ALL BUT the folder OR the pm's they have checked.

I knwo for myself there are PM's I want to KEEP on the system instead of downloading etc, but I get a lot more that I want deleted then those I want to KEEP so it would be grerat to CHECK the ones I want saved then say Dlete All.

Just an Idea

Or is this TOO MUCH work?
Reply With Quote
  #17  
Old 04-17-2004, 09:41 AM
teksigns's Avatar
teksigns teksigns is offline
 
Join Date: Sep 2003
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Erwin
I can look into that. That should be easy to do actually.


did you ever complete this ?
Reply With Quote
  #18  
Old 04-20-2004, 11:25 PM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is one "}" too much in your installation instruction in the first part where to search for in private.php
Just remove the last } in the search string and let the last line as
unset ($pm, $pmid);

works on my vB3.0.1

thanks
Reply With Quote
  #19  
Old 04-21-2004, 01:40 AM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbIce
How about a way people can CHECK the ones they do NOT want deleted?

You know there are some PM's people might want to keep so would be great to have it so they could say create a FOLDER for all the ones they want to KEEP then CHECK the box, now when they run the Delete ALL it will delete ALL BUT the folder OR the pm's they have checked.

I knwo for myself there are PM's I want to KEEP on the system instead of downloading etc, but I get a lot more that I want deleted then those I want to KEEP so it would be grerat to CHECK the ones I want saved then say Dlete All.

Just an Idea

Or is this TOO MUCH work?

I am confused isnt this already with default vbulletin installed.

I have check boxes where you cn click which ones u want to delete and which ones u want to stay.
Reply With Quote
  #20  
Old 04-21-2004, 09:42 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Onkel_Tom
there is one "}" too much in your installation instruction in the first part where to search for in private.php
Just remove the last } in the search string and let the last line as
unset ($pm, $pmid);

works on my vB3.0.1

thanks
You're right! Fixed the instructions.
Reply With Quote
  #21  
Old 06-05-2004, 06:06 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
Erwin, is there a way to make this only delete the inbox and sent messages folders? I have some personal folders that I really don't want to lose when deleting them all.
being able to select which folder in which, all PMs to be deleted would be nice
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 02:07 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.04435 seconds
  • Memory Usage 2,302KB
  • 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
  • (6)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