Closed (fixed)
Project:
Activity
Version:
6.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2010 at 17:05 UTC
Updated:
1 Sep 2010 at 01:00 UTC
I would like to set up a View in which I can view only the Activity of authenticated users ... who do not belong to any other role. I can tell the View not to display the Activity of any other roles (administrator, staff, etc.). However, the View still includes the Activity of anonymous users in addition to authenticated users. How can I set up the View so it will not show me the Activity of anonymous users?
By the way, this is a View using an Activity message set up for Nodes ... an Activity message is recorded when nodes that belong to certain content types are viewed.
Comments
Comment #1
Scott Reynolds commentedSounds like you almost got it. I am guessing that all you need to do after adding the filter for the role, is to add a filter for Users: Name to whatever your Anon user name is
http://skitch.com/supermanscott/d1byr/edit-view-all-activity-contrib-d6
If that doesn't work attach your view here by exporting it please.
I often find that when creating a complex View, it is best to start with crafting the SQL query by hand. And then shaping the Views filters and arguments to match that query. I would suggest starting there as well.
Comment #2
Katrina B commentedWell, considering that I'm a graphic designer, not a programmer, coder, or developer, I wouldn't have a clue what to do with an SQL query ... I don't even know what that is.
I did try including an exposed filter for Username so I can filter out "Anonymous." A few days ago, it was working only for some content types and not others. It's working for all content types now.
Comment #3
Scott Reynolds commentedExcellent closing the issue then.