Skip to:
Content
Pages
Categories
Search
Top
Bottom

Modifying Search UX


  • kpolkson
    Participant

    @kpolkson

    I am trying to add a bit of UX change to the BuddyPress groups search.

    What I want to be able to do is print out a notification that, when the user searches for something (enters the search terms and submits the search), let’s them know that their groups are currently being filtered (hence they can’t see them all, even when switching between All Groups and My Groups). Then give them an option to reset the search and see all the groups.

    I like the way that Buddypress keeps the term and uses ajax to see the filtered items in both my groups and all the groups, but it leads to some user confusion and i would like to try to make the search behavior more obvious.

    Problem is, after having looked at a number of the files, it seems like the process from search input to filter is very distributed and I don’t know where to step in just to say:
    1. Okay, you’ve got a search going
    2. Print something to the screen that reflects that, including the search term

    I know that I have to check whether a search is active and then just echo some of that information back to the user, but any tips one which files I should target from more seasoned bp vets would be great.

    thanks.

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

  • kpolkson
    Participant

    @kpolkson

    i feel like this one is going to slip into oblivion


    juanmaguerrero
    Participant

    @juanmaguerrero

    Mmm you can find if a search is being made by checking if the get parameter ` ?s= ` is being passed. then you could add some function or custom javascript in your bp-custom.php / functions.php file to react to that, and even better, check if it comes within certain url or not, for example /groups/ or /members/ etc. and display a notification then.


    kpolkson
    Participant

    @kpolkson

    cool, thanks, always underestimating the power of the bp-custom.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Modifying Search UX’ is closed to new replies.
Skip to toolbar