Quote:
Originally posted by Erwin
Mmm... a simple template edit won't do that. The 2 action variables are different. One is dosend, the other is dodelete - this will take further hacking of private.php to combine the 2 variables.
|
Yes, of course.
I asked to you as the original author of the hack...
I definetively think the following code :
PHP Code:
$privatemessageid=verifyid("privatemessage",$privatemessageid);
$DB_site->query("DELETE FROM privatemessage
WHERE privatemessageid=$privatemessageid
AND userid=$bbuserinfo[userid]");
should be added somewhere in the "dosend" section of
private.php, managed in an if-clause by a check-box variable in privmsg template...
I think this php mod should make it better called 'hack' ... instead of a template modification, with the addition of more than a row to the script...
:knockedout:
Thanks again.