Hello. I'm attempting to do something that would seem fairly straight-forward but am running into an issue. I am using FBSS 6.x-2.x-dev module as of today, 10/12/09. I think this may be a bug, but it's easy to reproduce so perhaps you can inform me if I am off-target.

I am trying to expand the default facebook_status view to allow a relationship to the user's content profile (as exists in a node using the content profile module.) The idea behind this would be to add a views relationship using the "Facebook-style Statuses: Users" relationship, and then create a "Node: Content Profile" relationship to the FBSS User relationship.

My problem arises in that simply by adding the "FBSS: Users" views relationship, the view stops working. It will not return any content regardless of what arguments are passed. As soon as that relationship is removed, it starts working again. All of this is before I even get to trying to tie a content profile to it - I'm just dealing with the FBSS: Users relationship at the moment.

This is easy to reproduce - just go into your default facebook_status view, head to the "Live Preview" area, and input a valid user ID as an argument. It should return the status updates for that user. Now, add the "FBSS: Users" relationship to the view. Try the live preview again at the bottom, and now you get 0 results. It does not matter if "Require this relationship" is checked or unchecked - it stops it from working both ways.

Any thoughts or information would be helpful and greatly appreciated. I have not seen anyone else posting about the "FBSS: Users" relationship so I didn't find any other solutions so here I am.

Comments

icecreamyou’s picture

Well, there is a bug (fixed locally, I just haven't committed the fix to CVS yet) that throws errors when using the Facebook-style Statues: Users relationship. However, it's not possible to do what you're asking. The facebook_status view is already a User view, and it's automatically joined to the facebook_status table, so there's no reason you would need to add that relationship. But Views simply doesn't provide a relationship to connect the node and user tables. Unless the Content Profile module provides that integration, you won't be able to achieve what you want.

angelmax’s picture

Hi rj and Ice,
I was having exactly the same issue as I reported here:
http://drupal.org/node/594366#comment-2122754

I am excited at the news it's fixed.

Thanks.
AM

icecreamyou’s picture

Status: Active » Fixed
rjbrown99’s picture

Thanks for the feedback ICY - much appreciated. I was hoping to extend the look and feel to be more like the Facebook wall but it looks like I may have to resort to PHP-level coding to accomplish it at the theme layer.

icecreamyou’s picture

Actually, I just looked it up, and it appears that Content Profile does provide a relationship between the {node} and {users} table. If you can't see it, that's a Content Profile issue, not an FBSS issue. You may currently have to start with a Node view and proceed from there, I'm not sure.

Status: Fixed » Closed (fixed)

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