vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   I have a question about COPPA (https://vborg.vbsupport.ru/showthread.php?t=216925)

JessicaS 06-23-2009 05:26 PM

I have a question about COPPA
 
I was wondering if we can edit COPPA to change the age restriction? We would like to change the registration of our forum to 18 rather than 13.

snakes1100 06-23-2009 06:37 PM

Yes you can.

Paul M 06-23-2009 07:08 PM

Thats nice, how about actually revealing how :)

snakes1100 06-23-2009 07:10 PM

She didn't ask for a "how", she simply asked if they could. :)

flowermama 06-23-2009 08:06 PM

I'd love to know how, and if anyone would like to share how I'd be grateful.

snakes1100 06-23-2009 10:56 PM

1. admincp --> Languages & Phrases --> Search in Phrases --> Search for the word coppa, change the 13 to 18

2. You will need to do some code changing in register.php as well.

JessicaS 06-23-2009 11:24 PM

Do you mean replace 13 with 18 in the "Find and Replace in Languages?"

I believe what I need is to edit the register.php

BSMedia 06-24-2009 06:11 AM

The line you probably want to change is on 174 of register.php

Code:

if ($vbulletin->GPC['year'] < 1970 OR (mktime(0, 0, 0, $vbulletin->GPC['month'], $vbulletin->GPC['day'], $vbulletin->GPC['year'])
 <= mktime(0, 0, 0, $current['month'], $current['day'], $current['year'] - 13)))

change 13 to 18 and that should probably do it. Though I didn't test this so be sure to backup your register.php

snakes1100 06-24-2009 09:14 AM

You need to change all references from 13 to 18.

JessicaS 06-24-2009 03:25 PM

Thank you for y'alls help!

:)


All times are GMT. The time now is 07:06 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.00989 seconds
  • Memory Usage 1,718KB
  • 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
  • (10)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