By zdean on
I'm using Profile2 to allow users to create profiles.
Users can "Like" each other's profiles using Flags.
I would like to create a view for a logged in user that shows the profiles of users she has Liked who have also Liked her profile (aka 'matches').
Thanks in advance for any help!
****UPDATE******
this has been resolved. thanks.
Comments
Simple, Watson!
(EDIT: lol, I'm late as always, but let it stay there - someone may find this useful)
This is actually pretty simple - the only caveat is you need to start with a view of users, not a view of profiles;
then add, one by one, the following relationships:
for the second and third of those, check 'Include only flagged content' and 'Include only users who have flagged content', respectively;
then check 'Distinct' in Other > Query settings;
et voilà!
This is an export of a view (the flag is named 'friend'; the view contains only one field - name):