MyBB Community Forums

Full Version: Is there a way to add a confirmation step to deleting a PM?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On a theme where the delete button is near the reply button, I've been told user sometimes can click the wrong button and then the entire PM is gone that fast.

Is there a way to add some kind of "are you sure?" confirmation before a PM is deleted?

This applies to a PM that is open, and also to the delete option at the bottom of the PM list that people sometimes can mistakenly click instead of clicking the "move" button.  Neither place has a safety confirmation step.  Is there a known mod that does this, or a piece of coding you can give me and have me enter into one of the files?
Has this ever been brought up before? Is it possible to add the confirmation step? When I searched I couldn't find anything that seemed to address this.
There's not yet any plugin or something but still you can add your codes.
If you hit the Delete Button and the PM is not in the Trash Can Folder, it will be in the Trash Can Folder for PMs.

private.php?fid=4