Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Create usernames based on a persons real name and save those values as user fields.
Tommy Lee Jones → TLJones
The Realname registration module is a solution for forcing professional usernames that are based on a persons real name. The Username on the registration form is replaced with First name, Middle name (optional), and Last name fields created and provided by the site builder. The first name, middle name, and last name are preserved in the defined fields, where it is later tokenized for further use.
Module features
Configurations
Use your pre-existing first, middle and last name fields
A choice of username format
Force the first letter of last name, middle name, and first name to be capitalized.
Force the actual username to be lower case. (This has no effect on the first, middle, and last name field values)
Use regex to validate real names
Integrations
Profile2 integration (7.x-2.x)
Content profile integration (6.x-2.x)
Tokens
Realname registration provides the following tokens;
Small but effective module to configure which pages are to be considered administrative.
When a page is considered administrative the admin theme will be used. Also, when using the overlay module, administrative pages will open inside the overlay.