Hi!

I created an action link in views by:

'rewrite results' and 'output this field as a link'

relationship/[uid]/request/?destination=user/[uid]

Slight problem is that it returns to the user page and gives error You are not permitted to create any more relationships with this user.

I've tried relationship/[uid]/request/?destination=home but still no joy ..

In the user template the return works fabulously :)

Please how would I setup the link that it would return to the previous page, in this case the view of possible friends.

Looking most forward to any reply and thank you.

Comments

relationship/[uid]/request/?destination=user/[uid]

has to be

relationship/[uid]/request/1?destination=user/[uid]

Status:Active» Fixed

Status:Fixed» Closed (fixed)

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

Version:7.x-1.x-dev» 7.x-1.0-alpha5
Component:Views» Code
Category:support» bug
Status:Closed (fixed)» Needs review

I am experiencing the same problem with views and menu token configurations. This is not limited to views integration.

Friend request form returns error message text "You are not permitted to create any more relationships with this user." for link: relationship/[user:uid]/request/1?destination=user/[user:uid]

Error message itself is configurable and text is output.

Link works and friend request is sent. Limitations are not met for any condition, sender has sent only a few requests, first request to receiver.