COPPA Registration System (Hack)
system: XOOPS 2.2.3
The purpose of this hack is to allow webmasters to enable COPPA like registration system.
You can read more about COPPA at
http://www.coppa.orgAdmin Section:In the Preferences of Extended Profile
General Settings:added options >
Display Privacy statement? YES NO (enable sites privacy statement to be viewed on pages, is needed for COPPA compliance)
Privacy Statement <textarea> (this is where you enter your sites privacy statement, is needed for COPPA compliance)
Enable COPPA Registration? YES NO
Enter Minimum Age (this sets the minimum age for coppa registration)
COPPA Fax Number (this is for you to give your Fax number for coppa request forms to be faxed to)
COPPA Address (this is for you to enter an address for coppa request forms to be mailed to (snail mail not email))
User Side (Front End)when a user clicks register, they are greeted with a COPPA AGE Selection Form (only if enable coppa registration enabled),
if enable coppa registration is disabled, normal registration is used without seeing the age selection.
once the user enters their age, the system checks whether it is below the COPPA Minimum Age, if it is,
then they are redirected to a seperate COPPA registration page, if they are older than the minimum age, then normal registration method is selected.
The COPPA registration method is the same as with normal registration except for a few details (explained below).
when a coppa user fills in the registration form and submits to register on the site, regardless of what settings you chose in admin for user activation, whether it be user (email, no activation required or admin), the coppa user will only be able to be activated by ADMIN.
the user will not receive an activation key at all, the admin will then receive notice that a registration by COPPA user has been made.
A Form will also be mailed to the users email address with a printable form for them to print out and have their parents/guardians to fill in and return to the webmaster via fax or post (snail mail) only then will the webmaster activate their account.
A copy of the sites privacy policy will also be sent with this form for the parents to read through.
(not completed yet)a printable form will also be displayed on screen which they can print out if need be
(not completed yet)please be aware that there is no other check made on the age the user types in, they could easily lie about their age.
But that is not the intention of COPPA, the rule is that you have done what you can .
COPPA is not about restricting content for children, COPPA is only about the gathering of information and storing information of children under the age of 13/14
whether it be on registration forms, user surveys, user profiles or polls.
i've put this in the module hack section because practically all of the modifications have been done in the profile module itself.
so far this hack only requires hacking of 1 XOOPS core file, and that is with just 3 lines of code.
a few more have been made to the profile module, but that is the reason for having a profile module, so that it gave more freedom to people to develop modifications of the user profile system unlike with 2.0.13.x and below.
once i have it finished, then i'll release it for scrutiny :) so far it works pretty well, but i have to finish the few parts that i haven't done yet.