Change the default comments status for new content types

I haven't checked this on previews versions, but it might work.

This will change the default selected option when you create a new content type.
You can see the original forum post here http://drupal.org/node/212923

Go to 'modules/comment/comment.module' in your installation directory and look for line 375 there you will find this:

'#default_value' => variable_get('comment_'. $form['#node_type']->type, COMMENT_NODE_READ_WRITE),

replace it with this:

'#default_value' => variable_get('comment_'. $form['#node_type']->type, COMMENT_NODE_DISABLED),

Status available are:

/**
* Comments for this node are disabled.
*/
define('COMMENT_NODE_DISABLED', 0);

/**
* Comments for this node are locked.
*/
define('COMMENT_NODE_READ_ONLY', 1);

/**
* Comments are enabled on this node.
*/
define('COMMENT_NODE_READ_WRITE', 2);

 
 

Drupal is a registered trademark of Dries Buytaert.