PDA

View Full Version : Automatic COPPA hack ...


Khanoom
08-01-2002, 05:24 PM
Hi,

Can someone write a hack where the "Birthday Field" would be mandetory and if while "registering" you fall under the "coppa" age category, then after submiting you will receive an error saying something like:

"You are under the age of 13 and need to fill this Parental Permission form...)

Sorta like an "Age Check" in registeration where if the user specifies an age that falls under COPPA, they will get re-directed to the coppa form.

Thank you.

mli
08-01-2002, 07:06 PM
Don't they have that choice where you choose what side of a date you were born on and if you choose the wrong one you get an error. But even if someone was to put a hack like that I'm afraid peopel coud always lie about their age =\

Khanoom
08-01-2002, 07:59 PM
hi mli,

yes they do.

But, still I'm looking for this hack so just in case if someone does register in "adult" and then choses their birthdate under 13, then it's just a double insurance for you that the user would be moved to coppa and therefore await proper authorization.

I hope someone who is willing to make this hack reads this.

Thank you.

mli
08-01-2002, 09:13 PM
Yes, but let's say they get the error because of the hack. Then they can just go back and change their birthday. People lie everyday =\

Khanoom
08-02-2002, 11:43 AM
Hi,

Is there anyone out there who can write this hack?

It should be sort of like this:

1. a user will choose their birthdate in registeration or profile.

2. If user's age is less than 13 they will go into authorization mode and will be concidered a coppa user automatically.

Please reply only if you want to help. Not, if you just want to say it can't be done or should not be done! After all, this is a place for "Request" not for "What's you opinion."

Thankx

Chris M
08-02-2002, 02:04 PM
Although mli is right, I would like this too...

In my view : If they lie to become a member without their parents permission, they are no longer protected...

Satan

dm02
09-03-2002, 09:31 PM
I would also like to see this hack.... too many users leave the birthday field blank how can you make it mandatory to fill it in???

Logician
09-04-2002, 09:08 AM
too many users leave the birthday field blank how can you make it mandatory to fill it in???
Without hack version: (This is how I use in my board)

Create a hidden profile field via Admin CP called birthyear and make it mandatory. So users would need to fill it in registration and IMO it would better than making default birtyear field mandatory, because people may not like to share their birthyear with all members. If it's hidden, they'll fill.

You can also apply this hack to this field:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=35118

Wtih Hack:
Edit register.php, find:
$username = trim($username);

Before that add:

if (int($year)<1900 or int($year)>1996 OR !$day OR !$month)
{
eval("standarderror(\"".gettemplate("error_fillbirthday")."\");");
exit;
}


Create a template named "error_fillbirthday" and specify your error message there.

Not tested, should work.. (If not you can make a search in requests forum, I recall I gave the tested code for this hack before in this forum)