I found that when you override the username with the realname, this can cause a problem in some modules, such as Blog Add Ons, because two different people can have the same realname with a different case, which will cause two user's blogs to be mixed together. This problem is caused by the fact that user_load uses LOWER to make all the names the same case. So, for example, if one user's realname is krissy, and another is Krissy, their blogs will be merged. You can solve this problem by changing the following line (170 in realname.module):

      $stuff['%'. $i] = check_plain($account->$name);

to

      $stuff['%'. $i] = strtolower(check_plain($account->$name));

Comments

nancydru’s picture

Status: Needs review » Needs work

See Heine's comment on check_plain in #338871: Display problems with name containing apostrophe. Plus strtolower will mean that all names will display in lowercase; if I were you user I would not like that.

It is probably better if you search for what forms are used in those modules and force them to use the username instead of RealName with the new form override feature.

nancydru’s picture

Status: Needs work » Postponed (maintainer needs more info)

I suspect that the fix to #321608: Username Overridden in Comments But ... is going to make this problem go away.

nancydru’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No further update.