Skip to:
Content
Pages
Categories
Search
Top
Bottom

Friend Filter / Search


  • 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)

  • 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.


    syncddesign
    Participant

    @syncddesign

    Thanks for pointing me in the right direction.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Friend Filter / Search’ is closed to new replies.
Skip to toolbar