| 1 |
Readme
|
| 2 |
------
|
| 3 |
This module lets you restrict new user registrations to people over a configurable age. At the moment, it doesn't track attempts, so an underage user could just try again and change the birthyear to sign up. Since there are lots of ways around this (e.g. switch browsers, switch computers), it's a low priorty feature.
|
| 4 |
|
| 5 |
Send comments to Gwen Park at: http://drupal.org/user/99925.
|
| 6 |
|
| 7 |
Requirements
|
| 8 |
------------
|
| 9 |
This module requires Drupal 6.x.
|
| 10 |
|
| 11 |
Installation
|
| 12 |
------------
|
| 13 |
1. Copy the validateage directory and its contents to the Drupal modules directory, probably /sites/all/modules/.
|
| 14 |
|
| 15 |
2. Enable the Validate Age module in the modules admin page /admin/build/modules.
|
| 16 |
|
| 17 |
3. Set the minimum age and date of birth field in the settings page /admin/user/validateage.
|
| 18 |
|
| 19 |
Upgrading from 5.x to 6.x
|
| 20 |
-------------------------
|
| 21 |
I removed the dependency on the profile module in the 6.x version so please note the following issues:
|
| 22 |
1. There is currently no script to copy old profile birthday data into the new validateage table. If you use birthday info, you will have to deal with data conversion manually.
|
| 23 |
2. I have no plans to write code to keep profile birthday data synced with validateage data. If you're using profile module for birthdays, you'll have users' birthdays stored in 2 different places.
|
| 24 |
|
| 25 |
Credits
|
| 26 |
-------
|
| 27 |
Written by Gwen Park.
|
| 28 |
|
| 29 |
TODO
|
| 30 |
----
|
| 31 |
1. Write script to convert old profile birthday info to new table.
|
| 32 |
2. Write code to prevent rejected users from re-signing up.
|