It only adds the No Text text to the body of the message if it is empty and NT is in the subject. I made it this way because otherwise it would be very easy to post an empty message.
If you want NT added automatically to the subject of empty messages, you could do this in addpost.php:
Find this line (at line 90):
code:
if ( (ereg("^\s*$",$Subject)) || ($Body == "") || ($postername == "") ) {
Replace it with this:
code:
if ( (!preg_match("/^\s*$/",$Subject)) && (preg_match("/^\s*$/",$Body)) ) {
if (!preg_match("/\[NT\]$/",$Subject))
$Subject .= " [NT]";
$Body = "{$ubbt_lang['NOTEXT']} ";
}
if ( (ereg("^\s*$",$Subject)) || (preg_match("/^\s*$/",$Body)) || ($postername == "") ) {
$html -> not_right($ubbt_lang['ALL_FIELDS'],$Cat);
}