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 "Overview" instead of "Summary"?

I attached an image with "before-and-after" screenshots... I just think the "Summary" (changed) version seems a little more aesthetically pleasing, especially for D7UX.

Thoughts?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jerdiggity’s picture

Status: Active » Needs review

I've since created a simple module for 6.x (http://drupal.org/project/alterprofilepage) but I personally think it would improve the user experience by a long shot if it were a part of the core. Reason: users want 'flair' rather than technical details. Not that this would, in and of itself, provide anymore 'flair' but it would (at minimum) eliminate technical details. eg:

Member for 1 day 3 hours 27 minutes 42 seconds

Obviously that's an exaggeration but more-than-once I've heard clients "snicker" when they read that part on their profile page. (Well, actually only twice but that's still twice as bad as never...)

Also, the word History seems to invoke an insecure or "exposed" feeling like, "I don't want people to know my $any_type_of_information history."

Bojhan’s picture

I think it makes sense, can you make a patch?

jerdiggity’s picture

Status: Needs review » Needs work

The last submitted patch failed testing.

jerdiggity’s picture

Status: Needs work » Needs review
FileSize
836 bytes

Status: Needs review » Needs work

The last submitted patch failed testing.

jerdiggity’s picture

Component: user.module » user system
Status: Needs work » Needs review
FileSize
799 bytes

!check_plain()..??

kaakuu’s picture

The user profile is long scroll of things and there is no easy administrative way to hide or alter the order of things that appear there ( unless tpl is rewritten or extra modules are called in ) - its a long long scroll. While in real world all profiles have at least two columns or several "blocks".

There have been discussion on vertical tabs and others.
Maybe the admin should have the ability to determine
#
in how many columns the profile is displayed
#
which blocks go where ( drag drop )
#
give users the ability to drag drop blocks where they like -its their profile after all!

Status: Needs review » Needs work

The last submitted patch failed testing.

jerdiggity’s picture

Component: user system » user.module
Status: Needs work » Needs review
FileSize
838 bytes
oneoftwo’s picture

Nice small patch, does what it is supposed to. I like the idea, only I would prefer %x instead of %B %Y...

moshe weitzman’s picture

Status: Needs review » Needs work

I prefer the interval, and i don't like skipping the timezone personalization fo format_interval either

Jaza’s picture

Title: Proposal to change default user account page » Change 'member since' display on user account page

While I really like the "member for" interval display for profile pages on d.o, for 99% of client sites I end up changing it to a "member since" non-interval format. I think that having a default of "member since" in a "month-year" format is a UX +1, and from experience I'd say it's closer to the average non-tech user's expectations.

Re: changing "history" to "summary", I see this as a change from bad to same. Personally, I don't think that a title is needed here at all; I think we should just remove the 'history' title, and replace it with empty space. "Summary" is just as repetitive, and I see it as just another attempt to think of an appropriate title where none is really needed.

Bojhan’s picture

Lets leave the title change, but keep the time change.

jerdiggity’s picture

Component: user.module » user system
Status: Needs work » Needs review
FileSize
786 bytes
1.39 KB

Good feedback... thanks for the input. For uniformity (if this were to get implemented), I'd want to change the words ['member_for'] to ['member_since'], and since some of the markup on user.admin.inc would have to change anyway (to match the modified user.module), there's no reason why that change shouldn't take place as well.

That said, I'm attaching a patch for review (two actually -- one for each file) that would essentially:

  • Make the code more "uniform" (than was the previous patch I submitted), and
  • Change the output to what is suggested in #11 and in #14

My logic behind this is that:

  • moshe makes a very valid point (#12) regarding personalization;
  • I (obviously) agree with Jaza & the first half of #13, and the second half is a valid point as well;
  • what Bojhan suggested in #14 what oneoftwo suggested in #11, to my knowledge, should take care of the personalization issue moshe brought up (correct me if I'm wrong though... it does happen every few years.)   :)
    • and now that I think about it, it actually probably does no good for locale issues. :(

Now for the "fun" part...

Bojhan’s picture

Could you supply a screenshot?

jerdiggity’s picture

FileSize
24.73 KB

Sure. See attached.

psicomante’s picture

changed to format_date($account->created, 'medium')

psicomante’s picture

tested, it works well. I think it could be an option in the user configuration. Or better...a template.

Gurpartap Singh’s picture

Isn't ago format more useful than exact date?

Bojhan’s picture

No.

Can I have a last notation, of what the format is now - we have changed it like 20 times now.

Gurpartap Singh’s picture

Ok.

1 day 9 hours

Bojhan’s picture

Status: Needs review » Needs work

test failing

jerdiggity’s picture

It looks like user.admin.inc is passing but user.module isn't...

I think it's because the user.admin.inc patch would have to be applied/committed to core first because of the changes in verbage (in the new code, the field ['member_for'] would change to ['member_since'] just for 'uniformity' but that can change... Just trying to avoid any confusion).

jerdiggity’s picture

Status: Needs work » Closed (won't fix)

As stated, (properly) implementing this would require two core changes -- one to user.admin.inc and a separate one to user.module but I would guess the core maintainers have bigger fish to fry than this.

If anyone wants to implement this on their site please see the alter profile page module.

Cleaning this out of the issue queue...

jerdiggity’s picture

Status: Closed (won't fix) » Needs review
FileSize
43.61 KB
1.03 KB

After checking out the latest HEAD, I really think it would be a shame to not at least get the community's input about implementing this.

Re-opening and submitting new patch for D7 while there's still time.

Please also find an attached screenshot.

Status: Needs review » Needs work

The last submitted patch failed testing.

jerdiggity’s picture

Component: user system » user.module
Status: Needs work » Needs review
FileSize
1.02 KB

That's weird... worked for me. Trying again. Oops (changing component).

Status: Needs review » Needs work

The last submitted patch failed testing.

jerdiggity’s picture

Component: user.module » user system
Status: Needs work » Needs review
FileSize
841 bytes

Yet another attempt...

Dries’s picture

I'm not sure about this patch. Both visualization formats are useful depending on the context of the site/visitor. Can we do both? Like: "Member for $interval since $data"?

Status: Needs review » Needs work

The last submitted patch failed testing.

jerdiggity’s picture

FileSize
100.32 KB

Even I'm not sure about it now since I can't even seem to get the patch to validate... ;) (Although my guess is that it has something to do with the header actions taking place in user.admin.inc but then again that could be way off.)

As far as Member for $interval since $data? -- are you using that in reference to what's displayed on /user/[uid]? or within the admin interface? (or both)? Reason I ask is because I couldn't agree more with Both visualization formats are useful depending on the context of the site/visitor but if it's the first or third one you're referring to... my vote would be probably be a "no." Of course that's pretty much just based on "my concept" of which is the "greater good" which very well may be an inaccurate concept...

Additionally, please see the attached screen shot of my most recent module release (on a D7 site) which I suppose could be left as a stand-alone mod (wouldn't be the end of the world), but to be perfectly honest I think if we left the profile page "as is" we'd be nullifying your entire a good portion of your whole D7UX emphasis which is something we can't afford to lose.