BuddyDev

Search

BuddyPress Custom Xprofile Fields, compatibility with BP Profile Search

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #15337

    Hi Brajesh

    Congratulations, and thank you very much for resuming the development and support of the BuddyPress Custom Xprofile Fields, and for making it more safe!

    I have two wishes for a future update.

    1. Make the plugin compatible with BP Profile Search like the old version.

    2. An option for adding a to/from form in two boxes, which allows users to add two values (eg. age 30-45), not to compare with the Min Max Xprofile field min/max range.

    Regards
    Carsten

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #15338

    Hi Carsten,
    Thank you.

    The compatibility with Profile Search is already on our menu. It is slated to coincide with BuddyPress 3.1 or earlier.

    Adding a new field is easy. Please suggest me the name and if possible help me with UI( Link to a screenshot will be nice, should we allow dropdown of numbers or allow enter the values? should the values be restricted to numbers or it could be anything else? Is there any relation between the two values?)

    I can quickly add the new field type.

    Thank you
    Brajesh

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #15376

    That sounds great.

    dropdown of numbers or allow enter the values?
    Both options are fine

    restricted to numbers or it could be anything else?
    In my case numbers, which are the most useful. I can’t think of anything but numbers for this option.

    Is there any relation between the two values?
    Not really, it is a to/from value.

    In my case the purpose is dating related.
    By choosing ‘range’ as search mode in BP Search, you can define the age span you are searching for, but you do not have the same option in the profile fields
    to show other members, which age span you are looking for.
    I am using BP Elevator Pitch – Enhanced Member Cards. This plugin enables the Admin to choose which X-Profile fields shall be displayed next to the listed members, in this case, which age span the members are looking for.

    One important issue with the updated plugin is that it is showing months, next to age. eg. 37 years, 10 months. With the new GDPR regulation you do not want to be to specific which information you holds.

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #15394

    Hi there

    ‘Please suggest me the name and if possible help me with UI( Link to a screenshot will be nice’

    A name could be ‘From/To Values’.

    If the values are numbers only, can this profile field be added in BP Search as well?

    how do I share an image, Pastebin only share links?

    Regards

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #15397

    Thank you. The name sounds good.

    If possible, please use any of the only screenshot sharing site like
    https://prnt.sc/
    or
    https://snag.gy/

    It won’t be easy to allow searching these in optimized way. The search will need to search between the range. Since BuddyPress can not store these data as structured value, we will have to use the serialized value and may be we can put the information in profile data meta. Search from the meta is not efficient and I will try to avoid it.

    Regards
    Brajesh

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #15408

    Search is not important, age search is already an option in BP Search, so the use of ‘From/To Values’ fields are only for displaying for example the age or hight span on a preferred profile, on the members own profile card.

    UI:
    Enter value fields, drop down or option to choose:

    https://prnt.sc/joqyjx

    Result on member profile:

    https://prnt.sc/joqtk8

    Regards

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #15409

    This is how the result should look like on the members profile card (button row)

    https://prnt.sc/jorjze

    Please also notice that months are displayed after years, Alder : 25 years, 2 months, is this intentional?
    I hope for an option for displaying years only.

    Regards

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #15414

    So basically it is a profile field with two text boxes, separated by a dash I am asking for.

    Regards

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #15417

    Hi Carsten

    Thank you. Looks perfect.

    I will have it by Monday or before.

    Best Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #15476

    Hi Carsten,
    Please upgrade to 1.0.1

    The field type From/To is available now. Also, you can show/hide months with the Date of birth/Age field.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved