Display OG view with users and nodes from membership for group members

Events happening in the community are now at Drupal community events on www.drupal.org.
flabel's picture

To keep it simple my goal is to create a view that displays OG user roles and the nid of the nodes the users have posted in the group.

I have successfully created a view with users and nodes from membership doing:

  1. Add new view -> Create a page displaying table of fields
  2. Add contextual filter -> OG membership: Group ID
  3. Add relationship -> OG membership: Node from OG membership
  4. Add relationship -> OG membership: User from OG membership
  5. Add field -> OG membership: OG user roles in group (Roles)
  6. Add field -> (node from OG membership) Content: Nid (Nid)
  7. Set "Access" to none.

This view has rows related to users only showing user data and rows related to nodes only showing node data, which is fine. I rework the rows in a template. The reworked view is displaying all the data for site administrators, but not for authenticated users who is a member of the group. The view is missing user roles.

Been struggeling for four days and run of of places to look for the problem. Any help would be very much appreciated.

Kind regards

Comments

More information

flabel's picture

I am using:
- Drupal 7.23
- OG 7.x-2.3
- Content Access 7.x-1.2-beta2

Creating a view with only user roles is displaying the right data for authenticated users who is a member of the group.

Organic groups

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: