but it is very useful to meI have been using this for a while. If you are an admin who has the FTP access, you may feel lazy to edit your announcement on the board.. now you can just upload the text file. The body of the message should say
!@#$%filename.txtYou can change this !@#$% to whatever secret word (5 chars), if you need more char, you have to change the "5" on parameter of two substr(s).
Put below code at the beginning of DoUBBC function in Subs.php
if (substr($message, 0, 5) == '!@#$%') {
$ifilename = rtrim( substr ($message, 5));
if (file_exists($ifilename)) {
$extfile = fopen ($ifilename, "r");
if ($extfile) {
$message = fread ($extfile, filesize ($ifilename));
}
fclose($extfile);
}
}