Xprofile fields in BP Groups searchable

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Xprofile fields in BP Groups searchable

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #38815

    I am attempting to create a search for Buddypress groups where i am using a plugin to Add Xprofile fields (Similar to buddypress Xprofile fields for users) to groups for more detailed informaiton. I would like to be able to search for terms or tags added to a group.

    according to the Docs, i am able to search within custom post types, taxonomies, etc, but i am not understanding how this is accomplished.

    The plugin being used is https://github.com/imath/profil-de-groupes

    I am able to see the field options, but they are within the Users section of the searches settings. When i make them available to search, nothing appears.

    Ernest Marcinko
    Ernest Marcinko


    I don’t think this is possible. xProfile fields are stored in an external table, and by default those are not part of the buddypress groups feature. I usually recommend a custom code when possible, but this is much more complicated than that. The whole query needs to be overwritten and accomodated with the required subqueries and table joins depending on how the xProfile data is stored.

    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.