Hi,
Just a minor request which I'm hoping is easy: how would you modify the user_relationships_content view to also include content types from the person in the user id argument?
thanks for any help
levin
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | user_relationships_pending_requests_with_views.patch | 1.26 KB | guntherdevisch |
Comments
Comment #1
alex.k commentedJust to be clear, you want the view to display content from user's related users, and from the user him/herself. I'm not sure this is possible, actually. The argument can only have one meaning... you would need to mix together two views somehow.
Perhaps some Views gurus out there know a solution...
Comment #2
jay k-2 commentedComment #3
levin-1 commentedYes, that's exactly it. I want to display all the events (for example) created by the user and his/her associates. I know it's easy to do one or the other but I want to combine them!
cheers
levin
Comment #4
alex.k commentedI'd be interested to hear a solution, too, if one exists. I'd actually suggest you rethink if you really need to show both views in the same listing. Perhaps there is another UI solution that doesn't require such trickery.
Comment #5
tkrajcar commentedIt would really be helpful to find a way to do this. It is pretty common on social networking sites for you to see your own updates/content mixed in with the feed of your friends. This doesn't appear to be possible at present without adding yourself as a relationship, which is a pretty kludgey solution.
Comment #6
alex.k commentedViews_or http://drupal.org/project/views_or might help you do it. I haven't tried to use it in this application, so could not guarantee it will work.
Comment #7
kuttu666 commentedHi,
How can i setup user_relationships pending requests approve page with view.
Thanks
Manoj
Comment #8
YK85 commentedHas anyone been able to figure this out?
This would be a big heap for User Relationships Views integration.
Thanks!
Comment #9
robby.smith commented+1 subscribing
Comment #10
guntherdevisch commentedIs there any news about a User relationship view where you can approve / dissaprove? I now have a view with the pending requests, but you can only see a 'Cancel' link in my Status field. There is no 'Approve' or 'Dissaprove' link.
Here's my view
Can someone help me?
Thanks!
Gunther
Comment #11
guntherdevisch commentedHi all,
I've added some code to the file: views_handler_field_user_relationships_status_link.inc and it works!
In the else-clause (Requests by me) i added an approve and disapprove link. Check my changed code below. Can this be updated in the next release?
Greets,
Gunther
Comment #12
alex.k commentedCan you provide a patch, please?
Comment #13
guntherdevisch commentedOké that would be my first patch, i'll have a look:)
Greets
Comment #14
alex.k commentedhttp://drupal.org/patch/create
Comment #15
guntherdevisch commentedHi,
Here's the patch. Can you check this alex.k?
Thanks,
Gunther
Comment #16
YK85 commentedThe patch didn't apply smoothly so had to manually apply it. This patch causes a weird outcome.
Example: I sent a relationship request so I should only see "Cancel" (which is shown before the patch), but after applying the patch it shows "Approve | Disapprove | Cancel" which is weird. The requester should see "Cancel" and the requestee should see "Approve | Disapprove | Cancel"
Thanks!
Comment #17
guntherdevisch commentedIndeed, you're right Yaz085. The patch outcome isn't correct. My apologies.
This patch looks more promising: http://drupal.org/node/866400
Greets,
Gunther
Comment #18
MSSS commentedManaging a Drupal site - but have zero programming experience. As an Admin, I can see the management drop-downs. Can you help me make a change?
When I get a "member to approve" I cannot see "Edit My Member Profile" (until AFTER the member is approved). So I can't tell if the applicant is legit.
How do I find the "Edit My Member Profile" info for a prospective member, who has filled out the required questionnaire in some way. All I see now is the name and email address.