Okay, I've updated the text file.
Clear your browser cache (delete all files in your browser's temporary folder), and download the new text file.
The difference:
Find this code in private.php
PHP Code:
if ($HTTP_POST_VARS['action']=="dosend") {
Underneath, add this:
PHP Code:
if ($deleteorig=="yes") {
$privatemessageid=verifyid("privatemessage",$privatemessageid);
$DB_site->query("DELETE FROM privatemessage WHERE privatemessageid=$privatemessageid AND userid=$bbuserinfo[userid]");
}
You need to make sure you copy the WHOLE new template across as well. Not just the new checkboxes. This is because I have added this new line in the template HTML code:
Code:
<input type="hidden" name="privatemessageid" value="$privatemessageid">
You need this for the delete function to work.
This needs to be in between the form tags. Just use the WHOLE of the new template and replace the whole of your old one.
It should work now.