Active
Project:
Buddylist
Version:
5.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2007 at 10:21 UTC
Updated:
10 Oct 2007 at 00:58 UTC
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
Comment #1
jenlamptonUsing 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