RealName
The RealName module allows the administrator to choose fields from the user profile that will be used to add a "real name" element (method) to a user object. Hook_user is used to automatically add this to any user object that is loaded. It will also optionally set all nodes and comments to show this name.
The 6.x version of this module supports both the core Profile module and the contributed Content Profile module, and can be extended to other profile providers. Check the documentation page for more information.
As of November 7, 2008, this module now supports the privacy settings from the contributed Profile Privacy module.
There is a move to try to put something like this in core; see #102679: Add a Display Name field to core in addition to Username and #394282: Allow non-unique display name.
Other Modules
Almost all other contributed modules can properly display the Real Name if they change their code to use theme('username', ...) rather than just grabbing the user name from some object. We simply cannot be adding specialized support for thousands of contributed modules, especially when the solution is so simple (and Drupal-correct).
New maintainer wanted
This module started as a "scratch your own itch" solution. It is now turning into a bigger burden than I can handle alone
Translation
I run the translation extractor when I update the module, so if someone wants to provide translations, the template is available. Please open a feature request with the translation (.po) file attached.
PHP 4 and MySql 4
Due to end-of-life on PHP4 and MySql4, we no longer actively support either of those products. If a problem arises, we will make an effort to work around it, but will not make a guarantee. Drupal 7 will require PHP 5.2.5 or higher and MySql 5 (or Postgres 8); if your host is not at these levels yet, please encourage them to get there ASAP.
Development version status
The development versions (-dev, which rolls up at Noon and Midnight GMT) are where the newest stuff is, including any bug fixes and new features. We try to make sure it is tested before we commit anything, but occasionally a bug will get by us. Your help on testing this code is greatly appreciated. When we are satisfied that the -dev version has been tested adequately, we will publish it. The translation templates may not always be up-to-date in the dev releases.
Current Features being tested in Development
Update.php required: Yes
- Fix notice-level messages. #355472: E_NOTICE errors
- Added setting for maximum name length. #365229: Username theming
- Move user search disabled message to admin. #392636: Real Name integration with core Search Module / users
- Use selection types in core Profile. #422346: Add selection field type to core profile inc
- Support for Tracker2. #437932: realname throws an error if you're using tracker2
- Better message if field is multiple. #423244: registration data is saved in user object
- Add table to save computed names; Views support. #391666: Adding table with calculated realnames
Still pending on 5.x:
- Change "Override username theme" default to true; remove changing $user->name. #321608: Username Overridden in Comments But ...
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.2 | 2009-Mar-19 | 22.59 KB | Download · Release notes | Recommended for 6.x | |
| 5.x-1.1 | 2009-Jan-02 | 12.69 KB | Download · Release notes | Recommended for 5.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.x-dev | 2009-May-13 | 27.63 KB | Download · Release notes | Development snapshot | |
| 5.x-1.x-dev | 2009-Jan-28 | 12.83 KB | Download · Release notes | Development snapshot | |
