Community & Support

Proposal to change default user profile page

What if we changed this (in user.module @ line 914):

  $account->content['summary'] += array(
    '#type' => 'user_profile_category',
    '#attributes' => array('class' => 'user-member'),
    '#weight' => 5,
    '#title' => t('History'),
  );
  $account->content['summary']['member_for'] =  array(
    '#type' => 'user_profile_item',
    '#title' => t('Member for'),
    '#markup' => format_interval(REQUEST_TIME - $account->created),
  );

to (something like) this:

  $account->content['summary'] += array(
    '#type' => 'user_profile_category',
    '#attributes' => array('class' => 'user-member'),
    '#weight' => 5,
    '#title' => t('Summary'),
  );
  $account->content['summary']['member_for'] =  array(
    '#type' => 'user_profile_item',
    '#title' => t('Member since'),
    '#markup' => check_plain(strftime('%B %Y', $account->created)),
  );

?

Or maybe the word "Overview" instead of "Summary"?

I uploaded an image with "before-and-after" screenshots (http://drupal.org/files/issues/summary.jpg)... I just think the "changed" version seems a little more aesthetically pleasing, especially for D7UX.

I also wrote a small & simple module that will do this (for 6.x -- http://drupal.org/project/alterprofilepage) but I personally (IMHO) would like to see it incorporated into the drupal core.

Thoughts?

Comments

.

Posting in a deprecated forum is a good way to ensure no one sees this. ;)

I suggest filing an issue against user.module.

Michelle

-----
Shell Multimedia - My sporadically updated mostly Drupal blog.

echooooooooo

but it's so nice and peaceful in here! ;)