Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PM Undo Details »»
PM Undo
Version: 1.1, by sheppardzwc sheppardzwc is offline
Developer Last Online: Nov 2019 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.8.x Rating:
Released: 02-12-2011 Last Update: 02-14-2011 Installs: 19
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

PM Undo
designed by the guy at ateran (Professional vB Dev)

Ever sat down to right an email to your boss about how you hate the company, your life, your kids, his kids, his incompetence, the world, your keyboard... the list goes on. Then you hit Send? Oh [s]shi-[/s] darn, I just sent it!

Now imagine doing the same thing in a PM on your boards. There's no way out. Or is there?

Introducing PM Undo; you can now easily undo any PM in your Sent Items folder as long as the recipient(s) hasn't viewed it yet. Just click the little blue button by the time!

This has been designed for vB 3.8.x but has worked on 3.7.x. I haven't tested any lower than that.

Features:

* Undo any PM you have sent in the past as long as it hasn't been viewed yet
* Supports multiple recipients
* Includes a "PM Archive" where any administrator can view all PMs that have been "undone" and can revert/restore them if necessary (breaks rules, etc.)
* Automatic pruning of the archive mentioned previously
* Lightweight, uses as few queries as possible
* Made in the USA!

Changelog:

1.1 - Fixed critical bug when a user had e-mail notification for private messages enabled
1.0 - Initial Release

and remember...

MARK AS INSTALLED

Download Now

File Type: zip product-pm_undo.zip (12.1 KB, 108 views)

Screenshots

File Type: jpg archive.jpg (54.0 KB, 0 views)
File Type: jpg settings.jpg (72.3 KB, 0 views)
File Type: png frontend.png (167.8 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 02-13-2011, 03:58 AM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow great idea.. I've had those instances where I wish I could've undo a PM. Either because I sent 2 or just things I didn't want to send or wanted to ignore.

Great stuff!
Reply With Quote
  #3  
Old 02-15-2011, 12:29 AM
ctrlbrk ctrlbrk is offline
 
Join Date: Nov 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Am I correct that this would not work for any users with email notifications turned on?
Reply With Quote
  #4  
Old 02-15-2011, 12:51 AM
Hellmaster Hellmaster is offline
 
Join Date: Sep 2009
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds sooo great, but... What about email notification?
Reply With Quote
  #5  
Old 02-15-2011, 02:00 AM
sheppardzwc sheppardzwc is offline
 
Join Date: Dec 2008
Location: South Carolina
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ctrlbrk View Post
Am I correct that this would not work for any users with email notifications turned on?
Quote:
Originally Posted by Hellmaster View Post
Sounds sooo great, but... What about email notification?
Thanks for bring that to my attention; completely forgot about that feature as I rarely use it...

While I can't block e-mail notification, I've updated the modification to detect the recipients of the private message. If any of them have e-mail notification for private messages enabled it will not let the user undo the private message.
Reply With Quote
  #6  
Old 02-15-2011, 03:29 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you or anyone tested this on vBulletin 4?
Reply With Quote
  #7  
Old 02-16-2011, 02:21 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OldSchoolDSL View Post
Have you or anyone tested this on vBulletin 4?
Well I tried, but got all kinds of little errors.

PHP Code:
Warningarray_merge () [ function.array-Merge ]: Argument # 1 is not an array in [path]/includes/class_bootstrap.php(1309) : eval()'d code on line 423 
This was posted in my header too.

Kind of hope the author will make on for vb4 soon.
Reply With Quote
  #8  
Old 02-16-2011, 07:34 PM
sheppardzwc sheppardzwc is offline
 
Join Date: Dec 2008
Location: South Carolina
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OldSchoolDSL View Post
Well I tried, but got all kinds of little errors.

PHP Code:
Warningarray_merge () [ function.array-Merge ]: Argument # 1 is not an array in [path]/includes/class_bootstrap.php(1309) : eval()'d code on line 423 
This was posted in my header too.

Kind of hope the author will make on for vb4 soon.
To tell you the truth I wanted to see if this was a usable mod and obviously it is, so I will upgrade it to vB4 soon.
Reply With Quote
  #9  
Old 02-17-2011, 04:45 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sheppardzwc View Post
To tell you the truth I wanted to see if this was a usable mod and obviously it is, so I will upgrade it to vB4 soon.
I really do look forward to this.

Thank you
Reply With Quote
  #10  
Old 02-17-2011, 09:02 PM
Wonksta Wonksta is offline
 
Join Date: Apr 2009
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to disable email notifications globally of new PM's via Email that has been selected by users as an option and prevent the option being availabe for members?

If so this will be a nice feature for paid subscription I think!
Reply With Quote
Reply


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 08:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06843 seconds
  • Memory Usage 2,332KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete