Log in

View Full Version : Can i change the under age registration instead 13 to 18?


Sandy-XXX
06-16-2006, 08:10 PM
Hi all,

Excuse my bad english and is if this thread dont come in this forum, Im from Spain and i undertand but not perfect...

I have the 3.5.4 official version of vbulletin, and the script comes with a special parent protection to under age 13 years registration.

I would like to change that age to 18, because i have xxx forums and if only for adults, and I asked for it in the official forum of vbulletin (.com), and the send me to this forum because for that is needed editing the code.

Somebody can help to do this?

Thanks.

chewbacca
06-16-2006, 08:24 PM
Hi,

I think you're posting in the wrong forum.

But to fix your problem, all I would do is edit register.php.
Around line 109 (vB 3.6 Beta 2):

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


It says - 13 at the end. I think making it 18 would fix your problem. There might be other files but I'm not sure and I didn't check. I hope that helps.

Sandy-XXX
06-16-2006, 08:27 PM
Hi,

I think you're posting in the wrong forum.

But to fix your problem, all I would do is edit register.php.
Around line 109 (vB 3.6 Beta 2):

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


It says - 13 at the end. I think making it 18 would fix your problem. There might be other files but I'm not sure and I didn't check. I hope that helps.
Thanks a lot !!

I going to try it.