http://drupal.org/node/862486

Shows how to get a list of users who have flagged content sitewide.
-It uses "User" type view

I can make this work and it works well. However i do not know how to add a filter to make that list show only content which has been flagged in the current group being viewed.

EXAMPLE:
User A, not a group member, flags content from group x. User A is considered a fan of group X.

When visiting Group X's group page, you can see a block, of the biggest fans. The biggest fans is a top ten list , which is no difrfferent thant the top ten content which is decribed in this post http://drupal.org/node/862486.

If it was not a user type view that was created to build the top ten list, I know in filters i could add a filter to limit the results to posts which belong to the current group. But because it is a User type view, I can only filter the users by rather ir not they belong to the current group.

Anyone however can flag the group content. They do not have to be a group member to flag the content.

I have tried but am unable to add node relationships which allow the "filter for group posts which belong this post to become available " which is available withnode type created views . I appreciate your help.

Comments

joachim’s picture

Status: Active » Closed (won't fix)

You need advanced filtering based on OG -- this is an issue for OG views support, not Flag, sorry.