Title: Integrate condition profile field plugin
Last modified: March 19, 2018

---

# Integrate condition profile field plugin

 *  [thedream09](https://wordpress.org/support/users/thedream09/)
 * (@thedream09)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/integrate-condition-profile-field-plugin/)
 * Hi,
 * Can you please integrate xprofile search with bellow plugin?
    [https://buddydev.com/plugins/conditional-profile-fields-for-buddypress/](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](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/integrate-condition-profile-field-plugin/#post-10091958)
 * Hi [@thedream09](https://wordpress.org/support/users/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](https://wordpress.org/support/users/thedream09/)
 * (@thedream09)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/integrate-condition-profile-field-plugin/#post-10095105)
 * 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](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/integrate-condition-profile-field-plugin/#post-10097175)
 * Hi [@thedream09](https://wordpress.org/support/users/thedream09/),
 * I’ll re-check the code as soon as I can, possibly in ten days or hopefully earlier.
 *  Thread Starter [thedream09](https://wordpress.org/support/users/thedream09/)
 * (@thedream09)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/integrate-condition-profile-field-plugin/#post-10098604)
 * Thank you Andrea. Looking for your next respond.
 *  Thread Starter [thedream09](https://wordpress.org/support/users/thedream09/)
 * (@thedream09)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/integrate-condition-profile-field-plugin/#post-10128134)
 * Hi Andrea. How is the update going on?
 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/integrate-condition-profile-field-plugin/#post-10134255)
 * Hello [@thedream09](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/bp-profile-search/assets/icon.svg?rev=1568973)
 * [BP Profile Search](https://wordpress.org/plugins/bp-profile-search/)
 * [Support Threads](https://wordpress.org/support/plugin/bp-profile-search/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-profile-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-profile-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-profile-search/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/integrate-condition-profile-field-plugin/#post-10134255)
 * Status: not resolved