In addition to being nice, this gives the users the RealName in the place of the username, which, in our case, is just a seven digit number.

CommentFileSizeAuthor
realname.patch1.1 KBnancydru

Comments

marcp’s picture

Status: Needs review » Needs work

Thanks for the patch, Nancy. I tested it out (first time I've used RealName -- nice module) and the patch applies fine.

The patch only addresses the user name as a row title on the userperms page, so we'd at least need to add the same to the group assignment page (for when OG is enabled).

I'm wondering, though, if it would be cleaner to send the user name through theme('username') in all the places where it's used as a title or header? RealName would instantly support that and we wouldn't need to add [another] module_exists() call.

What do you think?

nancydru’s picture

Status: Needs work » Needs review

theme('username') produces a link to the user's account page, unless RealName is used (then you have an option).

I don't have OG so I don't see those pages.