Thank you very much. You are a gentleman and a scholar.
The only question I have now is which way is the better one to go? The first one only saves the smilie code, too (i.e.

) And is there a way to have it save to the date in the filename instead of saying today? That way it won't overwrite any backups and you will know on which date you made the last backup.
Thanks for the quick fix.
Quote:
Originally posted by Cano2
@Boofoo:
There are two ways, it depends on what you want:
first find
Code:
eval("\$messages .= \"".gettemplate("privbackup_message")."\";");
right before it insert
Code:
$message[message]=nl2br($message[message]);
or
Code:
$message[message]=pmcodeparse($message[message],0,$allowsmilies);
With the first one, the Linebreaks would show up correctly, the second one shows the message as it would be shown in the board (with smillies, lists, ... ) (but the paths to images are relative, so you wont ?see the smilies, if you save it to disk)
Hope that helps you
Maybe I find a way to include the first one in the next release...
Cano2
|