Remove the check in the post.php file which is located at
Code
inc/datahandlers/post.php
~Lines 223-228
Code
// Do we even have a message at all?
if(my_strlen(trim_blank_chrs($post['message'])) == 0)
{
$this->set_error("missing_message");
return false;
}
Code
// Do we even have a message at all?
if(my_strlen(trim_blank_chrs($post['message'])) == 0)
{
//$this->set_error("missing_message");
//return false;
}
You can also remove the subject check in the posts.php file too, but make sure you set the subject to something otherwise you won't be able to click on the post.
If you do want to remove the subject check, view the following
~lines 198 - 265
Change this
Code
// This is a new thread and we require that a subject is present.
else
{
if(my_strlen(trim_blank_chrs($subject)) == 0)
{
$this->set_error("missing_subject");
return false;
}
}
to this
Code
// This is a new thread and we require that a subject is present.
else
{
if(my_strlen(trim_blank_chrs($subject)) == 0)
{
//$this->set_error("missing_subject");
//return false;
$subject = "Default Subject";
}
}