Posted by flabel on November 15, 2013 at 10:58am
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:
- Add new view -> Create a page displaying table of fields
- Add contextual filter -> OG membership: Group ID
- Add relationship -> OG membership: Node from OG membership
- Add relationship -> OG membership: User from OG membership
- Add field -> OG membership: OG user roles in group (Roles)
- Add field -> (node from OG membership) Content: Nid (Nid)
- 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
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.