Quote:
Originally Posted by fta2k
Is there any way to make the post discussion check automatically?
Wanting to make it so that if a post is made the discussion post is made by default.
|
Yes there is!
Change the following lines of the Plugin
newthread_form_complete from
PHP Code:
$checked['autodiscuss'] = ($_POST['autodiscuss']) ? 'checked="checked"' : '';
to
PHP Code:
$checked['autodiscuss'] = ($_POST['autodiscuss'] OR empty($postpreview)) ? 'checked="checked"' : '';