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?

.

Michelle - July 16, 2009 - 02:27

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

I suggest filing an issue against user.module.

Michelle

---
I'm looking for folks to help me out by posting in my Coulee Region forums. You don't need to live in the area; there's plenty of general forums. But please, no Drupal support questions. :)

echooooooooo

jerdiggity - July 17, 2009 - 02:39

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

 
 

Drupal is a registered trademark of Dries Buytaert.