BuddyDev

Search

Question xprofile birthday date without Year

Tagged: , ,

  • Participant
    Level: Enlightened
    Posts: 89
    Bruno Verrier on #26761

    Hi,
    How can I ask the user birthday date but without year ? (only day and month)
    So I could display an anniversary calendar without the ability to mention age.

    Thank you
    Bruno

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #26769

    Hi Bruno,
    Thank you for the question.

    The plugin does not have this functionality. You can limit the display(Year, month, date) to which fields are shown but you can not limit the input.

    We need it to calculate the years correctly.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 89
    Bruno Verrier on #26777

    Thank you for your time.

    How and where (which file) can I hide this year displayed ?
    For the record I’m quite good at CSS but have very poor knowledge in php (few basis).

    Thank You.
    Bruno

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #26798

    Hi Bruno,
    You are welcome.

    I just found that we don’t have a specific css selector that can target year and not months.

    Please hold this change for next 3 days, I am pushing a new release to xprofile custom field types with the filter to allow this.

    I will share the code after the release.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved