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 7 months, 3 weeks ago.

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

    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.

    #38820
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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.

    Best,
    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.