I would like to create a page that authenticated users can see that lists all other users of my site, potentially with custom fields I have added to their profiles, and a link to each user's complete profile. in other words, a Member Directory.

What is a good way to go about doing this?

Comments

accessiveapps’s picture

You can use views for it. Just create a page view and list all users with edit link in a table view.

-patrick

http://rroarrr.com

--patrick

SPNTR’s picture

I had considered Views, but it looks like Views is still alpha for Drupal 7. I also figured I might be overlooking something in Drupal core that would do what I needed.

dantodd’s picture

Just tried this for a subset of roles and it only shows users that have authored one or more pages. If the user hasn't authored a page, then they don't show up. If you change the page that they have authored to point to someone else, then the original author disappears again.

Dan

rdemol’s picture

I'm looking for this as well. In Drupal 6 this was built in! Drupal 7 is a impressive improvement, but it doesn't allow this out of the box anymore, and I don't fancy Views either..

searching for a workaround, maybe some php in combination with http://drupal.org/project/computed_field ?

surendra77c’s picture

Go to admin/structure/views/add

View name * [ Enter the view name as per your convenience ]
Show [ select Users from the dropdown ]

{ note : now you have to uncheck all the check box
we don't have to create page not a block now click on continue & edit
now we will get Master display . }

Under the fields section click on [ Add ]
User: Name
User: First Name
User: Last Name

Done .....

leoklein’s picture

Thanks!

vignesh13404387’s picture

If I have to create a page with Add User button what do I want to do?

ahmad alsabhany’s picture

Drupal by default gives you the option to create a registration page. you need to allow it from settings-> Account settings.

you can visit your Domain/user/register to find the default registration page.

to add a "Add User" link, go to structure-> menus -> any menu you want and then add link -> insert "Add User" in the text and /user/register in the link.