Updated the attachment to version 2.1
Version 2.1 adds a check to make sure the title isn't left blank.
If you've already installed version 2.0, here's how you can make the change:
code:
##
## In your modified changebasic.php file
##
#
# Find this:
#
// --------------------------------------------------
// If title is greater than 100 then we can't proceed
if ( strlen($Title) > 100 ) {
$html -> not_right($ubbt_lang['TITLE_TOO_LONG'],$Cat);
}
#
# Change to this:
#
// --------------------------------------------------
// If title is greater than 100 or blank then we can't proceed
if (( strlen($Title) > 100 ) || (!$Title)) {
$html -> not_right($ubbt_lang['TITLE_TOO_LONG'],$Cat);
}
##
## In the modified /languages/english/changebasic.php file
##
#
# Find this:
#
$ubbt_lang['TITLE_TOO_LONG'] = "Title too long.";
#
# Change to this:
#
$ubbt_lang['TITLE_TOO_LONG'] = "Your Title is either too long, or blank.";