It would be nice to be able to show buddies posts of the currently visited user profile (opposed to the actual "buddies of currently logged in user") in a Views block.

Actually the buddylist_views.inc allows the following filter:
Buddylist: Author is a buddy of current user - Is Equal To: Currently Logged in User

While it would be nice to have also:
Buddylist: Author is a buddy of current user - Is Equal To: Currently viewed user profile (account)

Would this be relatively easy to code? Thanks

Comments

jenlampton’s picture

Version: 4.7.x-1.x-dev » 5.x-1.0

Using the patch supplied at: http://drupal.org/node/164903 I was able to "clone" the current default view "buddylist_posts" and by changing only a few criteria, I was able to generate what you are asking for on a page, but not in a block.

Here's how I made the page:
1) clone the view (click "add" under the actions of the default view)
2) delete the filter "Buddylist: Author Is A Buddy Of Current User"
3) add the argument "Buddylist: Author is buddy of UID"
and voila!

Hope this helps,
Jen