BP search, doesn't work with PMpro – addon for buddypress!

Home Forums BP Profile Search Forum BP search, doesn't work with PMpro – addon for buddypress!

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #10303 Reply
    Carsten
    Guest

    Hi there.

    After installing PMpro – addon for buddypress plugin!
    There is an issue in the BP search results.
    Let’s say you search for X and X is not there. Then the search results should be – Sorry, nothing found!. But instead, is shows all members.
    The only way you can prevent this from happening, is to make sure that all search fields are combined and attached to a members profile fields.
    But there is so many combinations. So that will be almost impossible to do.
    I will have to create 500 dummy profiles. I hope you know what I mean?

    Best regards Carsten.

    #10306 Reply
    andrea
    Keymaster

    Hi Carsten,

    That’s been a known issue for a long time, see:

    https://wordpress.org/support/topic/suggesting-a-patch/

    https://wordpress.org/support/topic/conflict-with-bp-profile-search-3/

    but unfortunately it’s been ignored so far.

    I suggest you remind the ‘Paid Memberships Pro – BuddyPress Add On‘ team of this long-standing problem, or you can try to implement yourself the fix I suggested in the above mentioned posts.

    #10316 Reply
    Carsten
    Guest

    Hi Andrea.
    Thanks for the quick reply πŸ™‚ But none of the above suggestions, worked on my site.

    But the bp-search, works very well if you use this search form –>

    <form action=”” method=”get” id=”search-members-form”>
    <label for=”members_search” class=”bp-screen-reader-text”>Search Members…</label>
    <input type=”text” name=”members_search” id=”members_search” placeholder=”Search Members…”>
    <input type=”submit” id=”members_search_submit” name=”members_search_submit” value=”Search”>
    </form>

    Maybe it’s possible to use the above form and replace it, with the search field in –>

    <!– BP Profile Search 5.2.3 members/bps-form-home –>
    <input type=”hidden” name=”field_any_label” value=”Search…”>
    <input type=”hidden” name=”bps_form” value=”204″>

    I don’t know how, but that would solve the issue for now! I guess..

    Best regards Carsten.

    #10317 Reply
    andrea
    Keymaster

    Hi Carsten,

    Your suggestion may work in your use case, but it doesn’t in other cases.

    The conflict is caused by the ‘Paid Memberships Pro – BuddyPress Add On‘ plugin, and there is no way it can be fixed in BP Profile Search. I recommend you raise the issue with the PMPro team.

    #10323 Reply
    Carsten
    Guest

    Hi Andrea.
    Yes, it very strange. Because if you remove this Buddypress add, everything works perfect and the search form on the members page works, regardless on which plugin you are using.
    So why is it showing all members instead of – Sorry, no members were found. The problem is that I need this Buddypress Add to restrict members from certain content. So, I guess, I will just have to replace the search field, with a profile field.
    Do you thing, it could have something to do with what template pack I am using. Buddypress Nouveau or Legacy? My theme uses Legacy!
    I have tested the Youzer plugin on my site and here the Bp search works and shows the notice. If nothing is found. Sorry, no members were found. But it doesn’t work with my themes layout and more..
    I have already created 2 tickets on PMpro. However, no respond yet. Maybe because I have to buy a license key, to get full tech support. But that cost $297! Therefore, I’ll just wait until they notice this issue, themselves. πŸ™‚
    Best regards Carsten.

    #10324 Reply
    Carsten
    Guest

    Hi Andrea.
    I think I found a solution!
    After watch this video. https://www.screencast.com/t/t0xHRqvH
    I went to the Paid Memberships Pro – BuddyPress Add On, Settings!
    —————————————————————————
    Include in Member Directory:
    Should non-member users be included in the BuddyPress member directory?
    Chose YES and then it works. So no coding required.
    Best regards Carsten.

    #10325 Reply
    andrea
    Keymaster

    Hi Carsten,

    Thank you for sharing the solution you found, I’m sure it will help other readers.

    Anyway, as the video points out, there is a coding problem inside the ‘Paid Memberships Pro – BuddyPress Add On’ plugin and it will need to be fixed.

    #10333 Reply
    Carsten
    Guest

    Hi Andrea.
    Your welcome and I am only glad, if I can help other readers. πŸ™‚

    Do you know anything about the Buddypress widgets?
    I am trying to find a way to filter these widgets. Either by role or gender. I already have a snippet code, which filters logged in users by gender.
    I works find in the members directory. However, the Buddypress widgets are filtered and using, the members-lists. Same list as PM-pro is using!

    Maybe you know someone, who can edit the snippet, so it also works in the widgets! That will be a great help.

    I have already created two tickets on Buddypress.org. But after 2 month, still no respond!

    Best regards Carsten.

    #10334 Reply
    andrea
    Keymaster

    Hi Carsten,

    The BuddyPress widgets are outside the scope of BP Profile Search, but I did some research that you can find here:

    https://wordpress.org/support/topic/filtering-buddypress-widgets-by-gender/

    #10339 Reply
    Carsten
    Guest

    Hi Andrea.

    Thanks for the help. I have moved to the subject you recommended, on WordPress and hope I can find a solution there. Because there is a few side effect, as you said. Regarding the gender based code!

    https://wordpress.org/support/topic/filtering-buddypress-widgets-by-gender/

    Best regards Carsten.

    #10340 Reply
    andrea
    Keymaster

    Great, I hope you find a suitable solution!

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: BP search, doesn't work with PMpro – addon for buddypress!
Your information: