Minimum signup age Download 2.1

This component/theme works with latest OSSN version.
5.0
Indonesian Arsalan Shah 9 years 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

  • Updated the JS and added a more efficient code.
Comments
German Michael Zülsdorff Replied 2 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.

German Dominik L Replied 2 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

enter image description here

Indonesian Arsalan Shah Replied 2 years ago

Works fine with premium version and free version 6.6

enter image description here

German Dominik L Replied 2 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? :)

German Dominik L Replied 2 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.

German Michael Zülsdorff Replied 4 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

Portuguese D1re W0lf Replied 4 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.

example

us Erik M Replied 8 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

German Michael Zülsdorff Replied 8 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.

gb Jordan Sheppard Replied 9 years ago

when signing up the component doesnt state 18+ or gives error if input DOB is below 18.

Component

Developer: Arsalan
License ossnv3
Type: Tools
Requires Ossn Version : 6.1
Latest Version: 2.1
Last Updated 3 years ago
Repository Url View Repository

Versions