--- notify.module	2007-07-14 23:54:19.000000000 -0400
+++ notifyNew.module	2007-09-18 22:40:35.000000000 -0400
@@ -56,6 +56,32 @@ function notify_admin_settings() {
     '#options' => array(t('Disabled'), 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20),
   );
 
+  $form['notify_status'] = array('#type' => 'radios',
+      '#title' => t('Notify status'),
+      '#default_value' => variable_get('notify_status',0),
+      '#options' =>  array(t('Disabled'), t('Enabled')),
+      '#description' => t('Default status setting for new users'),
+    );
+
+    $form['notify_node'] = array('#type' => 'radios',
+      '#title' => t('Notify new content'),
+      '#default_value' => variable_get('notify_node',0),
+      '#options' => array(t('Disabled'), t('Enabled')),
+      '#description' => t('Include new content in the notification mail.'),
+    );
+    $form['notify_teasers'] = array('#type' => 'radios',
+      '#title' => t('Content'),
+      '#default_value' => variable_get('notify_teasers',0),
+      '#options' => array(t('Title only'), t('Title + Teaser'), t('Title + Body')),
+      '#description' => t('Select the amount of each post that you would like to see in your notification e-mails.'),
+    );
+    $form['notify_comment'] = array('#type' => 'radios',
+      '#title' => t('Notify new comments'),
+      '#default_value' => variable_get('notify_comment',0),
+      '#options' => array(t('Disabled'), t('Enabled')),
+      '#description' => t('Include new comments in the notification mail.'),
+    );
+
   return system_settings_form($form);
 }
 
@@ -74,6 +100,13 @@ function notify_cron() {
  */
 function notify_user($type, &$edit, &$user, $category = NULL) {
   switch ($type) {
+    case 'insert':
+      if (variable_get('notify_status',0)) {
+        db_query('INSERT INTO {notify} (uid, status, node, teasers, comment) VALUES(%d,%d,%d,%d,%d)', $user->uid,
+                 variable_get('notify_status',0), variable_get('notify_node',0), variable_get('notify_teasers',0),
+                 variable_get('notify_comment',0));
+      }
+      break;
     case 'delete':
       db_query('DELETE FROM {notify} WHERE uid = %d', $user->uid);
       break;
