I'm trying to create a view that I can place on user pages that shows other users flagged by said user. -- That is: "User A has flagged these other users as interesting."

It's proven a cinch to show what users have flagged the currently active user page, but this seemingly simpler task has proven a time suck.

Now I've found this litte guide page: http://drupal.org/node/326580 And step 9 appears to be the hang up: "Add the'User: Uid' argument. In its "Relationship:" dropdown pick the 'Flag user' relationship."

When doing a "User" view (with the latest version of views) it appears you are unable to select a relationship with the argument option?

Comments

quicksketch’s picture

Status: Active » Closed (fixed)

If you need to show both the user that has been flagged, but filter by the user that did the flagging, you need to add two relationships. Add "Flags: User flag" for pulling the list of "interesting" users. Add "Flags: User" to pull in the user who did the flagging. Use the first relationship for your fields, and the second relationship for your arguments.

I'm closing this issue due to the age of the request, please reopen if you have further questions.