diff --git a/drupal/sites/default/boinc/modules/boincuser/boincuser.module b/drupal/sites/default/boinc/modules/boincuser/boincuser.module index 3891a06585..e86f5cbfe7 100644 --- a/drupal/sites/default/boinc/modules/boincuser/boincuser.module +++ b/drupal/sites/default/boinc/modules/boincuser/boincuser.module @@ -1450,6 +1450,10 @@ function boincuser_create_account() { if (!$reference) { xml_error(-1, 'error connecting BOINC account to Drupal'); } + // Disable show_hosts flag, set to TRUE by default + db_set_active('boinc_rw'); + db_query("UPDATE {user} SET show_hosts=0 WHERE id='%d'", $boinc_user->id); + db_set_active('default'); } else { // Delete the drupal user just created. diff --git a/drupal/sites/default/boinc/modules/boincwork/includes/boincwork.forms.inc b/drupal/sites/default/boinc/modules/boincwork/includes/boincwork.forms.inc index b59ca112c9..6a75ddabbb 100644 --- a/drupal/sites/default/boinc/modules/boincwork/includes/boincwork.forms.inc +++ b/drupal/sites/default/boinc/modules/boincwork/includes/boincwork.forms.inc @@ -1719,6 +1719,7 @@ function boincwork_privacyprefs_form(&$form_state) { ); $form['privacy']['show_hosts'] = array( '#title' => bts('Should @project show your computers on its web site?', array('@project' => variable_get('site_name', 'Drupal-BOINC')), NULL, 'boinc:account-preferences-privacy'), + '#description' => bts('At times, you may be asked to enable this option in order to receive help from the forums. Advanced users may need to be able to inspect your computers\' information in order to help diagnose any problems.', array(), NULL, 'boinc:account-preferences-privacy'), '#type' => 'radios', '#options' => $form['boolean_options']['#value'], '#attributes' => array('class' => 'fancy'),