vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Minimum Age to Register (https://vborg.vbsupport.ru/showthread.php?t=73577)

JD210 12-31-2004 06:44 PM

Minimum Age to Register
 
There is an option in User Registration Options to prevent anyone under 13 from registering an account. I need to change this to 17. I run a site where I do not want anyone under the age of 17 being able to register, and while I realize people can put in any birthdate they like, it would be alot easier to be able to prevent any registrations from those who are under 17.

Any ideas on how to go about this?

peterska2 01-01-2005 02:09 PM

It's easy enough to change in the register.php file or you can use the Registration DoB Manager hack (link in my sig) which stores the DoB that they enter at registration in a non-editable field in the db which is viewable only via the edit user screen in the ACP.

JD210 01-01-2005 05:30 PM

Thanks, I found it and was able to change the age requirement easily.

ReQueM 12-30-2008 01:09 AM

Bump! 4 years later :eek:
How to make this for newest versions? :D

giorgioarmani 02-05-2009 10:15 PM

Quote:

Originally Posted by ReQueM (Post 1696882)
Bump! 4 years later :eek:
How to make this for newest versions? :D

Same here, how do we do this in 3.8.1?

Vaupell 02-06-2009 04:30 PM

Guess #1 : open your register.php

search for
PHP Code:

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

Im guessing that last - 13 = is the age limit for coppa users
set that to - 18 or what ever and in your forum settings disallowe coppa registration
this will just make any using that age to being able to register, but still you know kids
if you got p0rn they will claim to be older :D

oh well. but lets see if someone comes up with an alternative.


All times are GMT. The time now is 09:19 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.01324 seconds
  • Memory Usage 1,724KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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