I keep hearing how you can use Views2 to search users by email, name, city, etc. How do I do this with views2?

Comments

mshaver’s picture

If you are familiar with creating views, you simply add a new view with type "User" and go about configuring your view as you normally would, including adding exposed filters for searching. If you have Organic Groups installed, you can get a good example of a user list with the "og_members" view.

everydayjones’s picture

I'm not very familiar, however, I've read a lot about it. I created a view of type "user" with the search, but when I enter in an email, name or city, no results are found.

Is there a step-by-step somewhere online?

mshaver’s picture

You may be running into short comings with the search filter for user profiles. There are only individual filters you can expose at the moment for users, nothing that will search all user profile data. The Keyword search filter will not search user data. I've submitted a feature request to see what the possibility is for adding this: http://drupal.org/node/381200

dawehner’s picture

set duplicate for: http://drupal.org/node/381200

but the views filter could be implemented as views filter for http://drupal.org/project/profilesearch

donquixote’s picture

Title: How do I get a search page? » "Search terms" filter for user views?
Component: Documentation » user data
Category: support » feature

I think this qualifies as a feature request - I miss it!

dawehner’s picture

Component: user data » Documentation
Category: feature » task

It's a task which needs a patch. As i said you need to install profilesearch ++ you have to apply the patch

dawehner’s picture

Status: Active » Fixed
esmerel’s picture

Status: Fixed » Closed (works as designed)

Not a views issue