Hi,

I'd like to create a list of contributors on my site, or rather: a list of usernames who has created one or more of a specific node type. How am I to do this in Views 2.0?

When I choose User->Name under 'Fields' I get a list of usernames but many are repeated several times, how come?
How do I tell whether a user has created a node or not?

Comments

vm’s picture

if you don't already have it installed ... install the advanced help.module which provides a great deal of documentation for views 2

jeremy_a’s picture

Hi Oskar,

When you create your view, make sure the View Type is "User: Users who have created accounts on your site" on the first page of the form. Maybe they are repeating many times because you've created a Node Type view?

brewthis’s picture

Thank you both. I'll install the advanced help module right away!

Indeed, they were repeating since I had chosen a Node Type view. Now I've got a fine list of users on my site. Now, how do I filter to only show users with nodes created? I suppose it's some with a relationship to the node type or something?

jeremy_a’s picture

Ah, this is potentially more complex than it first looks. Check the discussion here.

brewthis’s picture

I still haven't been able to create a view of all active users on my site. By active I mean users who've posted a node of a specific type. I'm able to plot out a list of node->titles (excluded from display) and their authors. Right, so I have a big list of users but naturally the same users are listed as many times as they have posted a node.

"Distinct" didn't cut it for me. Any ideas? Thanks a lot.

Oskar

sylvaticus’s picture

Same problem here.. did you arrive to a solution?

sylvaticus’s picture

I managed to solve the problem with my own code embedded in a page: http://drupal.org/node/783894