• Hi,

    Can you please integrate xprofile search with bellow plugin?
    https://buddydev.com/plugins/conditional-profile-fields-for-buddypress/

    In xprofile frontend input data appear condition correct. But in “search form”, the logic did not work. All feild under logic appear 100% which is very mess and given a huge data.

    Option: Student
    Grade name
    – grade 1
    – grade 2
    – grade 12

    Option: University
    University name
    – Account
    – Engeerneer

    So the logic, if select student. It should appear as bellow only.
    Grade name
    – grade 1
    – grade 2
    – grade 12

    Because the plugin did not work, so it appear like this
    Grade name
    – grade 1
    – grade 2
    – grade 12
    University name
    – Account
    – Engeerneer

    Hope to hear from you soon.
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Hi @thedream09,

    Try adding this code to your bp-custom.php file:

    add_filter( 'bp_is_conditional_profile_field_active', '__return_true' );

    That should fix the issue you are reporting.

    Thread Starter thedream09

    (@thedream09)

    Hi.

    Thank you so much for respond, the code did not work, here is what i did:

    Step 1:
    Main: main 1 & main 2 as checkbox option
    sub 1 —> only appear if user choose main 1
    sub 2 –> only appear if user choose main 2

    Step 2: Create form search
    Main –> Search Mode –> IS
    Sub 1———————-> match any
    Sub 2———————-> match any

    Step 3: Added your code to child-theme function, which all another code added there work correct. Except yours code no work
    ==> Frontend search form appear:
    Main (have main 1 and main 2, i even dont choose any yet, or i tried to choose main1 or main 2)
    It still appear sub 1 and sub 2 anyway.
    Which is wrong. IF the code work correct, it should be:
    Main without choose –> sub 1+ sub 2: No appear as logic
    Main 1 choosed –> sub 1 appear only
    Main 2 choosed –> sub 2 appear only

    Can you please re-check. Thanks

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hi @thedream09,

    I’ll re-check the code as soon as I can, possibly in ten days or hopefully earlier.

    Thread Starter thedream09

    (@thedream09)

    Thank you Andrea. Looking for your next respond.

    Thread Starter thedream09

    (@thedream09)

    Hi Andrea. How is the update going on?

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hello @thedream09,

    I’ve spent some time looking into this issue, and apparently the two plugins are no longer compatible. I still don’t know where the problem is, I’ll have to study this further as soon as I have some available time.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Integrate condition profile field plugin’ is closed to new replies.