Hello,

I'm giving the new buddylist2 module a whirl, and it looks like it will have a lot to offer. One thing I'm confused about right now though is how it integrates with views. I expected that I would be able to take the basic included view and add profile information as fields in the view. However, when I do this, it shows the profile information of the currently logged in user, and not the information of the buddy listed. Do the views have to be configured differently somehow here? It would be extremely beneficial to add information to the buddy list such as user pics and roles. Hope you guys can shed some light on this. Thanks!

Comments

nodestroy’s picture

Hi,

i don´t know if its really possible to add everything to the buddy views. the problem is, that we have to join
node -> usernode -> buddylist -> user
or
node -> usernode -> buddylist_pending_requests -> user

AND

we have argument handling code, to show the list of the specific shown user. i will try to provide more fields via views.

tannerjfco’s picture

Thanks for the info. The way I had expected it to work was to have a filter such as "Is Buddy of Current User", and from there I could build a member listing just like I would normally. I don't know if that's possible, but it would be extremely convenient if it is.

nodestroy’s picture

Component: User interface » Buddy API
Status: Active » Fixed

got this filter: "Author is a buddy of current user" (you can use every content type to generate a buddylist view, e.g. your own profile type)

now it should work ;)

regards,
dominik

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.