vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   COPPA Modification (https://vborg.vbsupport.ru/showthread.php?t=34061)

dotagious 01-12-2002 09:17 PM

Ok, if the COPPA registration feature is enabled, people are given the chance to select if they were born on or before a certain date. The dates are calculated to reflect if someone is older or younger than 13 years of age. If 13 years or younger, it places them in the COPPA user group.

I would simply like to change the dates it shows. I basically want it determine if someone is older or younger than 18 years of age instead of 13.

Can someone PLEASE help me with this. I'm sure it is possible, but I don't know where to make the changes. :(

Admin 01-13-2002 10:35 AM

Change the highlighted number in the line below, taken from register.php:
Code:

  $coppadate=vbdate($dateformat,mktime(0,0,0,date("m"),date("d"),date("Y")-[high]13[/high]));

dotagious 01-13-2002 09:45 PM

Thanks man that worked just fine. However, I think I may be going about this the wrong way. I forgot the COPPA feature not only determines if they are under a certain age, but also takes the user to additional windows with information on them, it uses a permission form, and requires you moderate them.

Needless to say, these are all unnecessary steps for what I’m trying to accomplish. Quite simply, I just want the system to determine if someone is older or younger than 18 years of age, and place them into one of two user groups based on the result. I don’t want permission forms, special registration pages, or have to moderate them.

Do you have any idea what would be the best way to accomplish this? This is a very critical feature of my forum.


All times are GMT. The time now is 09:59 AM.

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.00942 seconds
  • Memory Usage 1,709KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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