Closed (fixed)
Project:
User Relationships
Version:
6.x-1.0-rc3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2009 at 02:00 UTC
Updated:
13 Jun 2011 at 20:27 UTC
Hi,
I created a view of a pending request. Everything would work, if I just could get in the RID, the relationship request ID.
Can I get it by using custom fields and what php code, would put a new placeholder, like [rid], to the placeholder, I can use to rewrite the field?
I saw a php-script here: http://drupal.org/node/188433#comment-1824164, but can I also make the placeholder available by PHP?
thanks for any help,
;arc
Comments
Comment #1
karc2008 commentedI forgot, this php-code is for removing friends and seems to get is data out of the current relationships. How can I get in the relationship ID of pending requests?
I also found this script: http://drupal.org/node/188433#comment-1846060 (in a view export).
I tried both, but none of them gets me the relationship ID displayed, so I could get sure, how to get and print it.
Thanks for any help,
Marc
Comment #2
alex.k commentedNot sure I understand you correctly. You can add a field in your view for the relationship id. Is that not what you are looking for?
Comment #3
karc2008 commentedI guess, I didn´t explain it precisely. What I need is the individual relationship request-ID, not the relationship type ID (this would be easy, I just got one relationship type, so this is always "1").
Every new request, is using a new individual ID, 1.....unlimited.
Or is there a field that puts out the individual request ID? I searched over and over and wasn´t able to find it.
I found a code ( http://drupal.org/node/409432#comment-1848482 ), which should make it available, but in my result, the data is empty.
thanks anyway for your reply,
Marc
Comment #4
mrf commentedAssuming this request has been resolved. If you are involved in this issue and still having problems, feel free to re-open. If not please open a new support request describing your issue.