The signups are not nodes, and so it's difficult to extract the signup users' roles for views.

Is there any way to get this information?

I see that function views_handler_field_uid queries for the UID, but then how do you get the RID from the UID?

Comments

iamwhoiam’s picture

Annoyingly, there is a filter for anonymous and authenticated users, but I don't think the function views_handler_filter_signup_uid gets this information from the user_roles table

dww’s picture

Version: 5.x-2.4 » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Fixed

You can do this with views2 (D6) since there's now a "relationship" exposed to views between the {signup_log} table and the {users} table. So, anything you can view about users, you can view about users signed up to nodes. See the new default signup_user_list view as an example -- it prints the username from the {users} table by means of the "Signup: User" relationship.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.