PDA

View Full Version : Private Messages Enhancements - PM Undo


sheppardzwc
02-12-2011, 10:00 PM
PM Undo
designed by the guy at ateran (http://ateran.org/) (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 shi- 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! :rolleyes:

Changelog:

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

and remember... :D

MARK AS INSTALLED

FreshFroot
02-13-2011, 03:58 AM
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!

ctrlbrk
02-15-2011, 12:29 AM
Am I correct that this would not work for any users with email notifications turned on?

Hellmaster
02-15-2011, 12:51 AM
Sounds sooo great, but... What about email notification?

sheppardzwc
02-15-2011, 02:00 AM
Am I correct that this would not work for any users with email notifications turned on?

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.

OldSchoolDSL
02-15-2011, 03:29 AM
Have you or anyone tested this on vBulletin 4?

OldSchoolDSL
02-16-2011, 02:21 AM
Have you or anyone tested this on vBulletin 4?

Well I tried, but got all kinds of little errors.

Warning: array_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.

sheppardzwc
02-16-2011, 07:34 PM
Well I tried, but got all kinds of little errors.

Warning: array_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. ;)

OldSchoolDSL
02-17-2011, 04:45 PM
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 :)

Wonksta
02-17-2011, 09:02 PM
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!

OldSchoolDSL
03-06-2011, 04:27 PM
Any update for vBulletin 4 ?

Sadie Frost
05-06-2011, 01:18 AM
Hmm nothing shows up for me in the pm list in 3.84...I do get the menu in the admincp but that's it. :(

Simon Lloyd
05-06-2011, 02:47 AM
Could you possibly add an option to toggle the "don't undo if email notification"? i'd like to let my users choose to enable undo for a particular PM if a recipient has been detected as having email notifications set, maybe unhide some text and a checkbox in the PM window when the detection is made.