One small change I made to the showthread.php change, replace
PHP Code:
require_once('./includes/functions_file.php');
$inimaxattach = fetch_max_attachment_size();
with:
PHP Code:
require_once('./includes/functions_file.php');
$attachtypes = unserialize($datastore['attachmentcache']);
$inimaxattach = fetch_max_attachment_size();
This will list the valid extentions instead of just displaying a blank space.