vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Delete All PMs - Let your members prune all their private messages automatically! (https://vborg.vbsupport.ru/showthread.php?t=63531)

Erwin 04-05-2004 10:00 PM

Delete All PMs - Let your members prune all their private messages automatically!
 
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:

Logikos 04-06-2004 10:46 AM

Very Nice!

/me Clicks install!!

lasto 04-06-2004 11:52 AM

/me clicks installs

(anyone noticed sometimes on vb3 u always get invalid thread when replying to posts - got it twice on this thread)

Boofo 04-06-2004 12:04 PM

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

Boofo 04-06-2004 12:05 PM

Quote:

Originally Posted by lasto
[high]* lasto clicks installs
[/high]

(anyone noticed sometimes on vb3 u always get invalid thread when replying to posts - got it twice on this thread)

It's a random thing that happens on my site as well as vb.com. They haven't been able to trace it down as of yet. ;)

datainternet 04-06-2004 12:40 PM

<font color="red">* datainternet clicks install</font>

Great Hack! Very usefull!

MFG datainternet

VAN 04-06-2004 01:34 PM

Sweet. I've been waiting for this one.

Suggestion? :)

Expanding on Boofoo's idea, it would be nice if people could tick a box next to the folders that they wish to empty.

Sam FT 04-06-2004 02:23 PM

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

I second that idea...

FleaBag 04-07-2004 04:26 PM

Useful hack - thanks. I like the way you're putting your hacks into HTML docs too. :)

Erwin 04-07-2004 10:53 PM

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

I can look into that. :) That should be easy to do actually.


All times are GMT. The time now is 12:35 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.01119 seconds
  • Memory Usage 1,728KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete