Arsalan Shah
1 decade ago
Set the age limit to minimum 18 years old on signup form.
With the reason going disucssion : https://www.opensource-socialnetwork.org/discussion/view/1371/how-i-can-setup-minimum-registration-age
V 2.1
Michael Zülsdorff
Replied 3 years ago
As I wrote already 6 years ago (see below) this component cannot really prevent anyone below 18 from registering. - even without that little glitch you found. If I'm 16 and I want to register at your site I would use any allowed fake birthdate, and that's it.
Dominik L
Replied 3 years ago
Yeah, but you can insert your birthday manually without the calendar and if you do this, it's not working.
You can type in your birthday with your keyboard - for example 12/12/2012 - and then you can register even if you're under 18

Arsalan Shah
Replied 3 years ago
Works fine with premium version and free version 6.6

Dominik L
Replied 3 years ago
Still not working on OSSN 6.6.
You can insert your birthdate manually and then you can register under 18.
Could you please fix this? :)
Dominik L
Replied 3 years ago
I tried the component on OSSN 6.4 but if you try to register under the age of 18 it is still possible.
Michael Zülsdorff
Replied 5 years ago
say 01/01/2000?
I'm no math prof,
but if I don't miscalculate May 2021 - 18 years IS May 2003 and NOT January 2000
D1re W0lf
Replied 5 years ago
Hi there.
Thank you for making this nice component to ossn. :)
Is there a way to make de picker start with a pre-defined date, say 01/01/2000?
The way it works now it's a little counter intuitive for some users since on the month picker it shows only up to the current month.

Erik M
Replied 9 years ago
Any way to change "Username is invalid." to a notice that explains they not old enough to sign up?
Even if it a piece of code I can add.
Thanks
Michael Zülsdorff
Replied 9 years ago
Cannot follow, Jordan. The component is working 100% correctly.
In fact you cannot enter a birthday below 18 and that's why you won't see any errors.
Of course, a younger user will still be able to fool the system by entering a wrong birthday - but this simple component wasn't meant to verify your passport or identity card.
Jordan Sheppard
Replied 10 years ago
when signing up the component doesnt state 18+ or gives error if input DOB is below 18.