Index: modules/mysite/mysite.module =================================================================== --- modules/mysite/mysite.module (revision 972) +++ modules/mysite/mysite.module (working copy) @@ -393,6 +393,9 @@ * @ingroup drupal */ function mysite_user($type, &$edit, &$user) { + if ($type == 'view' && variable_get('mysite_list', 0) == 2 && arg(0) == 'user' && is_numeric(arg(1))) { + drupal_goto('mysite/'. $user->uid .'/view', NULL, NULL, 301); // redirect to MySite page + } if ($type == 'view' && user_access('edit mysite', $user)) { $mysite = mysite_get($user->uid); if ($mysite->uid > 0 && user_access('administer mysite') || ($mysite->status == 1 && user_access('view all mysites'))) { @@ -1200,7 +1203,7 @@ ); $form['mysite']['mysite_list'] = array( '#type' => 'radios', '#title' => t('MySite Behavior'), '#default_value' => variable_get('mysite_list', 0), - '#options' => array(1 => t('Show list of all user mysites'), 0 => t('Go to user MySite page')), + '#options' => array(1 => t('Show list of all user mysites'), 0 => t('Go to user MySite page'), 2 => t('MySite overrides user page')), '#description' => t('Create an overview page with links to all custom user MySite pages?') ); $form['mysite']['mysite_private_status'] = array(