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

Reply
 
Thread Tools
Clean Sweep Private Message Box Details »»
Clean Sweep Private Message Box
Version: 1.00, by Logician Logician is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-09-2002 Last Update: Never Installs: 30
 
No support by the author.

Hiyas,

Do you have users who cant clean their private message box? Do some of your users fail to erase messages in the "sent message box" and keep getting "your pm box full" notification? This hack can help you a bit to get rid of "HELP!! I CANT GET PMS!" messages.

This easy-to-implement hack will add a link in your board which will sweep-clean private messages by erasing all messages off the user's inbox AND sent box. By default hack will add this link to Private Message Window ("privfolder" template) and "pmbox full" notification email so that your users will be able to clean their pm box with 1 click (and a confirmation!). However you can add it to anywhere you like.

Tested in v.2.2.2 and will work with ALL versions > 2.0.3

If you install the hack, please click install. Thank you..

Enjoy..
Logician //=^))

Show Your Support

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

Comments
  #12  
Old 06-13-2002, 05:39 PM
irn-bru's Avatar
irn-bru irn-bru is offline
 
Join Date: Feb 2002
Location: Scotland
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks nice work.

How can I make the empty pm box link the
same as the move, forward, and deleted, box.

Makes it a little neater
Reply With Quote
  #13  
Old 06-13-2002, 05:54 PM
irn-bru's Avatar
irn-bru irn-bru is offline
 
Join Date: Feb 2002
Location: Scotland
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenpic
Reply With Quote
  #14  
Old 06-14-2002, 09:23 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by irn-bru
How can I make the empty pm box link the
same as the move, forward, and deleted, box.
Not easily achivable. Altough this code:

PHP Code:
<FORM METHOD="LINK" ACTION="private.php?s=$session[sessionhash]&action=logicdelete">
<
INPUT TYPE="submit" VALUE="Empty PM box">
</
FORM
does what you want, you can NOT insert it by replacing line:

PHP Code:
<a href="private.php?s=$session[sessionhash]&action=logicdelete">Empty PM box</a
That's because this section is already inside an HTML FORM tag and you cant insert form tags inside eachother.

A few possible solutions:
1- Leave it as it is.
2- Use the code above but change the location of Empty PM BOX button. Insert the code outside an existing form (That is, it shouldnt be somewhere between <form .....> </form> tags)
3- Instead of a form button design, use a image for this button. You can make a trick and design an image that exactly looks like an HTML button for example..

Logician
Reply With Quote
  #15  
Old 06-14-2002, 03:11 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Hack...

*Installs*

Satan
Reply With Quote
  #16  
Old 06-30-2002, 05:09 AM
dreamhost's Avatar
dreamhost dreamhost is offline
 
Join Date: Jun 2002
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the hack. one question: I have added numerous hacks that have modified the privfolder. Your directions, instead of saying find this and replace with it says this is your new code. Could you please post the needed changes only? I've spent quite a bit of time trying to decifer the origional, vs. my current file, vs. yours, very confused. thanks
Reply With Quote
  #17  
Old 06-30-2002, 04:18 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by dreamhost
Your directions, instead of saying find this and replace with it says this is your new code. Could you please post the needed changes only? I've spent quite a bit of time trying to decifer the origional, vs. my current file, vs. yours, very confused. thanks
Dreamhost the code that should be added to the template is:

PHP Code:
<a href="private.php?s=$session[sessionhash]&action=logicdelete">Empty Your Private Message Box</a
As you can see it's just a simple HTML link, so you can insert it to any template you want and to any section in that template you wish.
Reply With Quote
  #18  
Old 07-17-2002, 02:52 PM
santeematt santeematt is offline
 
Join Date: May 2002
Location: Santee
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet. i always have members who cant figure out how to erase there PMs.

dreamhost: i have the same issue as you, if you just look through the 'hacked' code you can figure out where the additions are

Reply With Quote
  #19  
Old 08-30-2002, 11:47 PM
yzztik's Avatar
yzztik yzztik is offline
 
Join Date: Feb 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack!

Anyone know a way to integrate the backup hack with this one so that when they get the confirmation box they can have the choice to erase, backup or cancel?
Reply With Quote
  #20  
Old 04-17-2003, 12:43 AM
Morgalis Morgalis is offline
 
Join Date: Oct 2002
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is fabulous

i do however, need to know how to set WHEN it says too full!!

i allow 200 max messages, and it starts blinking at me when it reaches 60

either i have missed something simple or i need you to guide me please
Reply With Quote
  #21  
Old 04-17-2003, 10:04 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested on 2.3.0 RC3 and it's working like a dream
No more PM's from users asking why their PM Inbox is still more than 0% full after deleting their inbox..!

Thanks Logician,
[high]* Oblivion Knight clicks install.[/high]
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 03: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.07641 seconds
  • Memory Usage 2,307KB
  • 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_php
  • (2)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