Buddypress Xprofile Custom Fields Type
[resolved] restrict registration by birthday (in Buddypress) (4 posts)

  1. picchio89
    Posted 2 years ago #

    Hi there,
    I'm using buddypress and I've set the birthday field in the registration

    since my site is for child I'd like only people from 9 to 17 years can register.

    it exist any way to stop the registration process if your age doesns't match this criteria?



  2. donmik
    Plugin Author

    Posted 2 years ago #

    Well, this is not the best thing but the easies way to do this is to only allow people to select those dates. For example if I register today, I only can select a birthdate from 1995 to 2002.

    The other way a little more complicated but better is validating the birthdate. Adding a function to your functions.php in your theme can be enough. I think this post http://code.hyperspatial.com/620/buddypress-signup-form-hook/ can help you.

  3. Andres Felipe
    Posted 2 years ago #

    Hi, hope this could help

    You can use BP xtra singup plugin is outdated but still works.

  4. smartsite4u
    Posted 2 years ago #

    I am trying to find the best way to do this as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Buddypress Xprofile Custom Fields Type
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic