vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Automatic COPPA hack ... (https://vborg.vbsupport.ru/showthread.php?t=41782)

Khanoom 08-01-2002 04:24 PM

Automatic COPPA hack ...
 
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 06: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 06: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 08: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 10: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 01: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 08: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 08:08 AM

Quote:

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/showthrea...threadid=35118

Wtih Hack:
Edit register.php, find:
PHP Code:

  $username trim($username); 

Before that add:
PHP Code:

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)


All times are GMT. The time now is 04:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01983 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete