Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show list of members filtered by profile field.

  • Avatar of valuser
    valuser
    Participant

    @valuser

    If there was a profile field on registration – say country

    How would one go about producing

    for example

    1) a page with a list of members from USA

    and

    2) adding a “Country” field to the Members Directory

Viewing 1 replies (of 1 total)
  • Avatar of pawriter
    pawriter
    Participant

    @pawriter

    For simple purposes can set up an extended field (say ‘Country’) in Buddypress without need for any particular plugin and have it included, even ‘required’, then you can use the ordinary WordPress search to filter the list of members to reflect only those matching the country of search. However I am not certain if you can restrict the content of that field to a particular known dataset of countries (ie you would have to rely on members correctly listing their country).
    If you want to go further you could use a plugin like the BP Avatar Map ( http://wordpress.org/extend/plugins/bp-members-avatar-map/ ) which needs a ‘Location” extended field using various depth of location eg. just USA or Sydney,Australia or Sydney, NSW, Australia – the WordPress search should then find all from Sydney or all USA etc. The plugin includes a map for the Directory page but you could probably exclude that if you wanted.
    Hope this helps.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.