Skip to Content Skip to Menu

restricting registration by age?

  • ke4obt
  • ke4obt
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
13 years 2 months ago - 13 years 2 months ago #173853 by ke4obt
restricting registration by age? was created by ke4obt
To start with, I'm a blind user and not a programmer at all!
I am setting up a website for pets and would like to make it age restricted - i.e. only people over the age of 13 can register and/or use the site.
I looked through the forums here and on Joomla but can't figure out how to make this happen. I did a google search and found some extensions that are no longer in business.
Can anyone help me with this, please??

thanks in advance,
Flip

oops, forgot, we're using Joomla 1.6.6 and CB 1.7 and plan on installing GroupJive with the YouGrids template from YouJoomla.

Philip "KE4OBT" Halley IV
Last edit: 13 years 2 months ago by ke4obt. Reason: forgot site info

Please Log in or Create an account to join the conversation.

  • beat
  • beat
  • ONLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
13 years 2 months ago #173855 by beat
Replied by beat on topic Re: restricting registration by age?
It all depends how severe you want the discrimination to be.

2 proposals:

1) a checkbox-type field (mandatory) at registration "I certify that I'm 13 years old or more"

2) a text-type field with server-side validation using a math exercise that a 13 years old can solve. E.g. "Proove your age through your capability: how much is 45 divided by 9 ?" and check for result.

What kind of checks did you have in mind ?

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in or Create an account to join the conversation.

  • ke4obt
  • ke4obt
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
13 years 2 months ago #173879 by ke4obt
Replied by ke4obt on topic Re: restricting registration by age?
I was thinking of a simple date calculation. It's not earth-shattering to have it, but would be nice.
I want to say that an older version of CB had it, but I could be wrong. Also, I found a deprecated plugin called minage that no longer exists - the site that is.
I think maybe the checkbox idea would work - IF they are honest :)
Also, I guess putting the birthdate (full including year) to be mandatory on registration would help, could go back and double-check their age that way and ban those that lied on the checkbox.
But, I was hoping to be able to basically have them enter their birthdate in the field, there being an admin option for minimum age in the field and then it would automatically calculate if they're old enough would be ideal.
So, if anyone knows of a way to do that or perhaps a plugin that will do that, I'll keep checking back to see.
Thanks, Beat, for your suggestions, I'll see what I can come up with that will (hopefully) work for now. The math question, I don't think would work since I know too many adults that can't do math to save their butts - AND they could always use a calculator to get the answer since they ARE sitting at a computer and most computers have one built in.

Thanks again,
Flip

Philip "KE4OBT" Halley IV

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48495
  • Thanks: 8284
  • Karma: 1443
13 years 2 months ago #173918 by krileon
Replied by krileon on topic Re: restricting registration by age?
The best approach is to create a date field and ensure the minimum date can't be below your required age then set the field as required. Once done ensure in your Terms and Conditions (enabled from CB configuration) instructs users anyone below the age of XYZ is in violation. This protects you and your userbase. Unfortunately there is no way to FORCE age restrictions as anyone could just input whatever they want, but it removes your liability for them. This is the approach all other social sites have taken that I am aware of and seams reasonable. :)


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • ke4obt
  • ke4obt
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
13 years 2 months ago #173994 by ke4obt
Replied by ke4obt on topic Re: restricting registration by age?
thanks, Kyle.
is there any way to update the minage plugin so that it will work with CB 1.7? I was able to download an old copy of it, but I have no idea how to update it to work with the new and improved Joomla/CB. That's WAY above my abilities.
If I'm able to get it updated, I'll share it with the community for the same amount I paid for it - free!! That is, as long as the License allows that.

thanks again,
Flip

Philip "KE4OBT" Halley IV

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48495
  • Thanks: 8284
  • Karma: 1443
13 years 2 months ago #173997 by krileon
Replied by krileon on topic Re: restricting registration by age?
You're welcome to review the plugin or contact its developer regarding updating it. Please review other plugins for examples of CB API usage. You can also try sites like Joomlancers to hire a developer to upgrade it for you.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum