1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What's the reason asking for date of birth?

Discussion in 'XenForo Questions and Support' started by Vicki, Jun 6, 2013.

  1. Vicki

    Vicki Active Member

    Hi, I'd like to get some ideas from you guys about it. As I'd like to make a note about the reason under the 'Date of Birth' field - make users feel a little less offensive.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    It's optional - you can set it in the ACP.

    I originally had a small note under mine but removed it.
    Vicki likes this.
  3. ManOnDaMoon

    ManOnDaMoon Well-Known Member

    Simply for the Today's Birthdays list.
    Vicki likes this.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    BTW, if you want to make it optional and add a note, you can edit the register_form template.

    Find this:
    <xen:if is="{$dobRequired}"><p class="explain">{xen:phrase your_date_of_birth_is_required}</p></xen:if>
    Replace it with this:
    <xen:if is="{$dobRequired}"><p class="explain">{xen:phrase your_date_of_birth_is_required}</p><xen:else /><p class="explain">{xen:phrase your_phrase}</p></xen:if>
    Replace the your_phrase text with your own phrase name and then create the phrase with the text you want.
    Vicki and Shelley like this.
  5. AndyB

    AndyB Well-Known Member

    Knowing the age is helpful, I might reply differently to a 16 year old than I would to a 50 year old.
    Vicki likes this.
  6. Despair

    Despair Active Member

    I thought it was for COPPA, which required people that sign up to be at least 13 years of age, unless they had guardian permission. I find more and more registration forms are just ditching that requirement, I guess people don't really care about it anymore...?
    Vicki likes this.
  7. Vicki

    Vicki Active Member

    Wow. You guys are so fast! Thanks so much everyone!(y)

    Brogan, thanks a lot for the template edits code, it'll be very helpful!

    I am wondering what the main reason it is for Xenforo.com having the 'Date of Birth' field required?
  8. Shyuan

    Shyuan Well-Known Member

    Perhaps it is because we want to check with the minimum age requirement to join a particular forum?
    Vicki likes this.

Share This Page