I don't know how hard this would be or if its even possible, but it would useful if users could have a block, list, etc. indicating which users on their buddylist are attending the same events they have also signed up for.

I know the Signup module hasn't been upgraded to D6 yet and may not be for a while, but 5.x is always an option for now.

Comments

Apollo610’s picture

Title: Use Event/Signup module to display which 'buddies' have signed up for same event as the user » Use Views, UR, and Signup modules to display all nodes users' friends have signed up for

Bringing this thread back from the dead as my request is a slight offshoot...

Has anyone been able to leverage Views with UR and Signup to provide a view that displays the nodes that the user's friends have signed up for? Right now I have a view that shows the nodes that the user's friends have CREATED, but I need to extend that slightly to include signups as well.

While I know how to create the actual SQL to do this, the logistics of doing it in views is kinda making my head hurt. :)

I'll post the export if I can nail this down in the meantime, but if someone can help me out I'd greatly appreciate it.

Apollo610’s picture

Status: Active » Closed (fixed)

Ok, think I got it. Not difficult at all, though admittedly I haven't been through every test case yet to ensure it works 100%.

In Views I'm using the following configuration.

Relationships
Signup: User
(Signup user) User relationships: Requester user

Fields
(Signup user) User: Name Friend
Node: Title Title

Filters
(requester) User relationships: Relationship status = 1

alex.k’s picture

Great info, thanks for posting! I knew that signup views integration was under development, but it looks like it's complete now.

Apollo610’s picture

My pleasure Alex, the least us users can do is help support the effort the devs and maintainers put in.

So thanks for the time, effort, and energy you've put into UR!

Apollo610’s picture

Ok, just a quick update... I had to make some tweaks, since my original suggestion wasn't 100% correct in all test cases. This one so far is much more accurate.

Relationships
Signup: User
(Signup user) User relationships: Requester user
(Signup user) User relationships: Requestee user

Fields
(Signup user) User: Name Friend
Node: Title Title

Filters
(requester) User relationships: Relationship status = 1
User: Current No
(requester) User: Current Yes

Regarding the filters - the user:current no is in there to exclude the user running the query from being a result in the signup list... and the (requester) user:current yes is used to verify that we only return results for the current user regardless of direction of the friend request. I'm sure there are prettier ways to do it, but this works for me so far...

Just an aside - Views, while awesome in power, is headache-inducing. :)