Skip to:
Content
Pages
Categories
Search
Top
Bottom

Friend Filter / Search

  • Avatar of syncddesign
    syncddesign
    Participant

    @syncddesign

    Hi,

    I’m wanting to add a Facebook feature and i’m really struggling.
    When you are on your friends page of bp I want to add a ‘search your friends’ field at the top.

    Is this filtering possible?

    Steve

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of shanebp
    shanebp
    Moderator

    @shanebp

    Hi Steve,

    You want an input text box that the user can use to enter search terms?
    If so, it’s not really a filter like ‘Order By’.

    You’ll need to write a plugin. And probably use the this hook in members/single/friends.php
    `do_action( ‘bp_before_member_friends_content’ ); `
    template to add the input box.

    Then you’ll need to write a custom query to handle the search and then output the results to the template above or provide a new template.

    Avatar of syncddesign
    syncddesign
    Participant

    @syncddesign

    Thanks for pointing me in the right direction.

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

You must be logged in to reply to this topic.