Viewing 10 replies - 16 through 25 (of 25 total)
  • Plugin Author donmik

    (@atallos)

    Ok, I think there is another filter who is interfering with the filter of xprofile plugin. I just released a new version. Try it, I hope it solves this issue.

    Great plugin! I like the birthdate field capable to let user to select show only birthdate but hide the age. As i know many girls like to hide their age.

    thank you

    There is some progress. The Birth Date Field now shows, and gives me the following options: Birth Date, Age Range, Age Range. I cannot select both, but have switched between them, but do not see any difference on the Field Type Choices or result.

    I have chosen ‘Birthdate’ and checked the box to show age instead of birthdate. On the Xprofile form, I still only see the option to choose Birth Date with 3 drop down boxes for day, month, year.

    There is no age range choices showing

    Plugin Author donmik

    (@atallos)

    Ummm, I’m totally lost now…xD. I don’t understand what you need.

    The issue was in BP Profile Search you want select the Birth Date Field to activate Age Range Search. You cannot do this, the plugin BP Profile Search show the message “There is no date field in your profile”.

    With the latest update, we solve this issue. Now you can select Birthdate field to activate Age Range Search, or not ?

    Where do you see those options? Birth Date, Age Range, Age Range ? In the selector of “Birth Date Field” in Age Range Search?

    About the last thing, if you check to show age instead of birthdate, in the form it doesn’t change anything. This option only changes one thing, instead of showing your birthdate it will show your age, but in the form, you still need to introduce your birthdate with the drop down boxes.

    Plugin Author donmik

    (@atallos)

    specex

    If you want to show only birthdate, don’t check the option “Show age (hide birthdate)”. If you check this, it will show your age, if you don’t check this, it will show your birthdate.

    Hi atallos, i didn’t check “Show age (hide birthdate)” option, it display a value e.g. “May 1, 1982”

    Here what i expected is “May 1” only

    Appreciate your help, thanks

    Plugin Author donmik

    (@atallos)

    Ummm, ok, so what should be good for you it’s to choose the way to display the birthdate.

    I can work in this update, but if you need this now, you can change the code of the plugin. Search the function bxcft_get_field_value. Replace this line of code:
    return '<p>'.date_i18n(get_option('date_format') ,strtotime($value) ).'</p>';

    By this line:
    return '<p>'.date_i18n('F j' ,strtotime($value) ).'</p>';

    You are doing here, instead of using the date format you adjust in settings, you use a custom format “F j” month and day only.

    I will try to put this possibility in a future update.

    Thank you atallos, it’s very useful

    Plugin Author donmik

    (@atallos)

    This topic is solved too.

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘[Plugin: Buddypress Xprofile Custom Fields Type] Birthday field should display as age.’ is closed to new replies.