Follow-up from related issue.

I would like my username to be "markcarver", however I really would like it if my display name were "Mark Carver".

Please add https://drupal.org/project/realname. We don't have to add or expose the display name at all, just configure it to use the existing first and last name field tokens.

Normally, I wouldn't fuss about this. After all, I have really been 501638 for years. Now that we have aliased username paths, I really don't want my alias to be "mark-carver" (clashes with my IRC nick).

CommentFileSizeAuthor
#4 names.png35.77 KBmarkhalliwell
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

markhalliwell’s picture

joshuami’s picture

I like the idea of using real names for display. It continues with the theme of making the issue queues a bit more human.

I'm going to have someone take a look at possible drawbacks of turning on the real name module. If it doesn't add too much load, then we'll follow up on this request with the working groups and get buy in.

drumm’s picture

Title: Add realname module » Display first/last name instead of usernames?
Project: Drupal.org infrastructure » Drupal.org cross-site customizations
Version: » 7.x-3.x-dev
Component: Other » User interface
Category: Task » Feature request
Status: Active » Postponed (maintainer needs more info)

We'll want this functionality across all Drupal.org sites for some consistency. And this would override #2228887: Always display full usernames of node and comments authors on issue pages. This is a big enough change, I'd like some more feedback from others. I'm not sure what the i18n considerations are offhand, some localities would prefer last name first.

As with anything in user profiles, we should switch from core profile module to text fields first.

If this change is generally wanted, we will want to see if realname module or updating drupalorg_crosssite_preprocess_user_picture() is better.

markhalliwell’s picture

FileSize
35.77 KB

Yeah, we have 4 different "names" to choose from:

  1. username (absolute fallback)
  2. Full Name (could be re-labeled as "Display name", but should probably just be removed or... hidden)
  3. First Name
  4. Last Name

If we indeed just convert First and Last to fields on the user entity (which I thought they were), we could just use that as the default tokens for the realname settings. It's fallback is always the username if the generated name is empty (no data provided by token replacement).

drumm’s picture

Full name should actually be removed, hopefully with data migration to empty first/last fields, which it predates. That migration won't be fun.

joshuami’s picture

If you keep a "Display Name" field that solves the issue of localization and would also allow users who "prefer" their handle/username to choose that as their display name. Firstname and Surname are really only important for our membership. It gives us a friendly way to send folks a personalized email with "Hi Josh" (for example).

I definitely agree that we should postpone this until after we have migrated off of profile over to user fields. We will have much more flexibility then. We should know more about the timeline for that migration after DrupalCon. (Perhaps that would be a good sprint issue to tackle?)

opdavies’s picture

I thought about the "Full name" field earlier and wondered if it offered a solution to the i18n issue. "Display Name" makes more sense though.

tvn’s picture

I think "Display name" makes more sense. Some people will actually want to be displayed as their user names, even though they might provide names on their profile pages.

opdavies’s picture

If a user doesn't add a Display Name, then we could just use their username as a default value.

Just a thought, should we display the username somewhere as well? What if two people with the same name comment on the same thread or commit to the same project?

drumm’s picture

Title: Display first/last name instead of usernames? » Display first/last/full name instead of usernames?
Project: Drupal.org cross-site customizations » Drupal.org customizations
Component: User interface » User profiles
Parent issue: » #2322245: [meta] Migrate profile fields to core fields

If we do this, the fields involved need to be migrated from profile fields to core fields before they are used more.

I'm using this issue to determine the fate of the full name field. I think we should either rename it to display name as part of migration, or drop it.

It is used quite a bit more than first/last, we have 944,107 full names, 944,107 first, and 214,573 last.

drumm’s picture

*944,107 full names, 216,217 first, and 214,573 last.

tvn’s picture

I would very much prefer we just drop it. Except for not having '-' in the url alias, there is no problem with the current situation. People who want to use their username, use it. They may or may not specify their real name on their profile. People who want to use their real name everywhere, just use it as a username.

I don't like the move towards forcing people to use their real names on the site and/or displaying those names everywhere for a number of reasons. First of all, one of the awesome things about Drupal was always the fact that it does not matter who you are or what your background is - what you do matters. There are people who would not want to display their real names because of age, gender or other reasons. They might do it with time, when they are ready. And there should not be pressure.

Secondly, usernames are part of our community. Webchick, chx, sun - while I know their names and names are on their user profiles, in the issue queues I want to see them just like that - webchick, chx, sun.

Huge part of interactions happen in IRC, where we are using nicknames as well.

Lastly, real names tend to be longer than usernames and they aren't unique. Displaying real names everywhere can add clutter, displaying both real names and usernames even more so.

What if two people with the same name comment on the same thread or commit to the same project?

Exactly.

killes@www.drop.org’s picture

I agree with tvn, we have no business emulating facebook.

markhalliwell’s picture

Title: Display first/last/full name instead of usernames? » Optionally display first/last/full name instead of usernames?

I'm not proposing that we emulate facebook.

Except for not having '-' in the url alias, there is no problem with the current situation. People who want to use their username, use it. They may or may not specify their real name on their profile. People who want to use their real name everywhere, just use it as a username.

I just want to be able to display my full name (with capital letters and a space, like it has been for years), but I do not want a - in the alias (as it clashes with my IRC nick). The way it currently is will not work IMO.

I understand that usernames are a huge part of the community. If anything, it sounds what we really we just need a checkbox that will toggle between using the username (default) and the display name. That would allow me to change my username to markcarver (to get rid of the -) and then check the "Use my display name" to show Mark Carver

What if two people with the same name comment on the same thread or commit to the same project?

I would imagine that they would have different user pics. In the off chance they don't, I think that would work itself out as both of them would likely see their names conflicting and one or the other would probably be inclined to change it in someway. Regardless, I'm not proposing that using the display name should be the "default", just an option.

danigrrl’s picture

Based on the new profile layout, we're moving closer to showing real name plus username by default. While I understand the concerns about privacy, real names are on a significant number of user profiles already, and we currently have about 80% of profiles that include something in the "Full Name" field.

I suggest we continue with the migration of the "Full Name" field, and change it to "Display Name." This will solve both use cases. Help text would be "Please enter the name that you prefer to display on your Drupal.org profile." This will cover a whole range of issues that we're discussing here.

danigrrl’s picture

tvn’s picture

Based on the new profile layout, we're moving closer to showing real name plus username by default.

That is only profile page layout. Names were already present there, so that's fine. Showing them everywhere else is a totally different question. We are not talking about profile page here, we are talking about name display all over the place.

While I understand the concerns about privacy, real names are on a significant number of user profiles already, and we currently have about 80% of profiles that include something in the "Full Name" field.

They include, but that info was never meant to be display name.

I suggest we continue with the migration of the "Full Name" field, and change it to "Display Name." This will solve both use cases. Help text would be "Please enter the name that you prefer to display on your Drupal.org profile." This will cover a whole range of issues that we're discussing here.

I disagree. That field was never meant to be people's display name all over the site. That's not why they filled it out. We should not suddenly make it a display name without asking anyone. Even if we were to add 'Display name' field, it should be new empty field and users need to choose what they actually want to use.

There is no range of issues here. There is only:

I just want to be able to display my full name (with capital letters and a space, like it has been for years), but I do not want a - in the alias (as it clashes with my IRC nick)

There might be other ways to fix this specific case. Fwiw http://drupal.org/u/markcarver already is already a redirect to mark-carver.

markhalliwell’s picture

We should not suddenly make it a display name without asking anyone. Even if we were to add 'Display name' field, it should be new empty field and users need to choose what they actually want to use.

I 100% agree with this. This issue is not proposing to suddenly change what is displayed everywhere. The efforts of the user profile page re-design has very little to do with this issue.

There might be other ways to fix this specific case. Fwiw http://drupal.org/u/markcarver already is already a redirect to mark-carver.

Yes, I am aware of this redirect. It does not address my concern about wanting the alias without the hyphen though. I think a lot of this has more to do with "personal branding" so to speak. I know to some this may sound a bit vain, perhaps justifiably so. However consider the following:

https://www.google.com/search?q=webchick

There are no hyphens in "webchick". Granted, if I just have to settle with changing my username to "markcarver" and deal with the ugliness of my display name through out d.o, I guess that's what I'll have to do. I still think #14 is an acceptable solution though; it's just a simple toggle.

drumm’s picture

Title: Optionally display first/last/full name instead of usernames? » Optionally offer a display name instead of "first last (user)" on user pages?

We should not suddenly make it a display name without asking anyone. Even if we were to add 'Display name' field, it should be new empty field and users need to choose what they actually want to use.

I 100% agree with this. This issue is not proposing to suddenly change what is displayed everywhere. The efforts of the user profile page re-design has very little to do with this issue.

I agree with this too.

So, the display name would be something new, not a migration from full name. Cleaning up the issue title.

I think "maintainer needs more info" is still a good status - I'd like to know if there is more demand for this.

a1mpreza’s picture

on the "Edit Account" page, there is a field labelled "Display name". I am not sure how or where that is used. I'm only a newbie so I may be missing something but I don't seem to be able to utilize that for the posts on my site. I.e I want my users to have their "display name" displayed on their posts rather than their real name.

Does this functionality exist or not?

markhalliwell’s picture

Status: Postponed (maintainer needs more info) » Active

#20:
I'm not sure your comment relates to this issue. It sounds like you are talking about a different site other than drupal.org? Maybe this will help https://www.ostraining.com/blog/drupal/real-name-module/

----

Now that the user first and last name fields have been migrated, it appears we no longer have a "Full name" field, semi "yay". I would however still like my name to be displayed as "Mark Carver". I have since changed my username back to just "markcarver".

This has more to do with the fact that this is the same username I use throughout many sites on the internet. I do not like having a different one here. Personal [branding] preference: username no space (for uniform logins) and my display name capitalized with a space in between first and last (for readability).

I would like to also propose thinking about this from a logistical standpoint. Many sites/infrastructures impose rigid restrictions as to what a username can be. This helps ensure that fewer issues arise when transferring or extracting information is critical.

This has actually become already clear in the discussion of #448074: @ style mentions for usernames which send notifications for D.o where the filters break when attempting to extract a username that has a space in it.

Thus I believe the solution presented in #12, "People who want to use their real name everywhere, just use it as a username." is not a very viable one and we should, in fact, do the complete opposite: restrict to alphanumeric with minimal symbol support (.-_).

Given that every individual has their own opinion as to "what should be displayed" (because in reality this is a personal issue for everyone), I do not think there is a way getting around adding a new field (despite the fact that the full name was removed).

I can think of three different ways of adding this new field. There may be more, but this is what I can come up with off the top of my head.

Display name (for comments, forum, etc.):

  1. A simple text field that anyone can put anything into.
  2. A single checkbox: "Use my real name instead of my username".
  3. A select list containing the following options:
    • Username (markcarver)
    • First and last name (Mark Carver)
    • First name, last initial (Mark C.)
    • First initial, last name (M. Carver)
    • Last and first name (Carver Mark)
    • Last name, first initial (Carver M.)
    • Last initial, first name (C. Mark)

    Username would be the default.
    The last three options could possibly help address the localization issue mentioned above (#6).

Thoughts?

Wim Leers’s picture

Cross-posting #448074-29: @ style mentions for usernames which send notifications for D.o, where the option of disallowing spaces in usernames is being discussed, just for the sake of @-style mentions:

Playing the devil's advocate. Especially because I've always found it utterly retarded that d.o is one of the few sites where you can use spaces. There's no good reason to not allow spaces in usernames. We didn't have Twitter until a handful of years ago.


Commencing the play:

The data we enter on d.o should be entered through an assistive editor. That assistive editor would start to autocomplete if we typed "@" followed by an alphanumeric character, hence autocompleting to the full username. The assistive editor would map this to whatever form of HTML we decide on. The server-side filter to do the rendering can then be very simple again, not having to take into account spaces.

markhalliwell’s picture