You are here

README.txt in Automatic User Names 8

Same filename and directory in other branches
  1. 5 README.txt
  2. 6 README.txt
CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Requirements
 * Installation
 * Configuration
 * Maintainers

INTRODUCTION
------------
Automatic User Names disables the "Username" field on user registration and
user edit forms and generates a username automatically using a token or module
provided pattern.The pattern could therefore be based on other profile fields
(like first/last name), a regex version of their email address or a random
string.

This module is complimented by logintobogan, which allows users to login with
their email address (and therefore makes usernames redundant for the user,
but of course still necessary for Drupal's backend - where auto_username fits
in). The realname module also compliments this module, because it ensures any
username displays are displayed as "Firstname Surname", which may be easier to
read.

REQUIREMENTS
------------

This module requires the following modules:

 * Token - https://www.drupal.org/project/token

INSTALLATION
------------

 * Install as you would normally install a contributed Drupal module. See:
   https://drupal.org/documentation/install/modules-themes/modules-8
   for further information.

CONFIGURATION
-------------

Automatic User Names Administration Configurations:

* Module configuration link : admin/config/people/accounts/patterns.

* Pattern for username -
  Enter your preferred username pattern eg: [user:mail] to generate Usernames
  having email id. To generate random username leave the field blank.

* Evaluate PHP in pattern -
  Enter php code to generate custom username
  eg: <?php echo "[user:roles] Test " . $account->id();?>.
  (IMPORTANT: While using php evaluation use php tags <?php ?>).

MAINTAINERS
-----------

Current maintainers:
 * Alex Bergin (alexkb) - https://www.drupal.org/u/alexkb.
 * Jyoti Bohra (nehajyoti) - https://www.drupal.org/u/nehajyoti.

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Requirements
  5. * Installation
  6. * Configuration
  7. * Maintainers
  8. INTRODUCTION
  9. ------------
  10. Automatic User Names disables the "Username" field on user registration and
  11. user edit forms and generates a username automatically using a token or module
  12. provided pattern.The pattern could therefore be based on other profile fields
  13. (like first/last name), a regex version of their email address or a random
  14. string.
  15. This module is complimented by logintobogan, which allows users to login with
  16. their email address (and therefore makes usernames redundant for the user,
  17. but of course still necessary for Drupal's backend - where auto_username fits
  18. in). The realname module also compliments this module, because it ensures any
  19. username displays are displayed as "Firstname Surname", which may be easier to
  20. read.
  21. REQUIREMENTS
  22. ------------
  23. This module requires the following modules:
  24. * Token - https://www.drupal.org/project/token
  25. INSTALLATION
  26. ------------
  27. * Install as you would normally install a contributed Drupal module. See:
  28. https://drupal.org/documentation/install/modules-themes/modules-8
  29. for further information.
  30. CONFIGURATION
  31. -------------
  32. Automatic User Names Administration Configurations:
  33. * Module configuration link : admin/config/people/accounts/patterns.
  34. * Pattern for username -
  35. Enter your preferred username pattern eg: [user:mail] to generate Usernames
  36. having email id. To generate random username leave the field blank.
  37. * Evaluate PHP in pattern -
  38. Enter php code to generate custom username
  39. eg: id();?>.
  40. (IMPORTANT: While using php evaluation use php tags ).
  41. MAINTAINERS
  42. -----------
  43. Current maintainers:
  44. * Alex Bergin (alexkb) - https://www.drupal.org/u/alexkb.
  45. * Jyoti Bohra (nehajyoti) - https://www.drupal.org/u/nehajyoti.