How to get a list of users who has flagged current logged in user
tobiberlin - October 31, 2009 - 11:03
| Project: | Flag |
| Version: | 6.x-1.1 |
| Component: | Views integration |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
first thank you very much for this great module!!!! It really brings much possibilities which I really appreciate!
Now I try to find a way to list all users who have flagged the user who is currently logged in with a view. I want to show the user when he is logged in which users have flagged him. Do you have any ideas?
Greez,
Tobias

#1
good question ..I also want to know ..subscribing..
#2
This is identical to setting up a list of Flagged nodes as described in the handbook: http://drupal.org/node/326308. The only differences are you will use a User-view instead of a node-view, and you won't use an argument for NID. Instead you'll add a filter for "User: Current" and then select your "Flag: user" relationship so that the list of flagged content is limited to that user's ID.