Active
Project:
User Relationships
Version:
7.x-1.0-alpha5
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2013 at 17:11 UTC
Updated:
4 Mar 2014 at 14:17 UTC
Jump to comment: Most recent
Comments
Comment #1
fehin commentedI have the same issue. None of the tokens starting with % got replaced.
My screen messages look like this
UserA has requested to be your %relationship_name. View your pending relationship requests to approve or decline.The %relationship_name relationship between UserA and UserB has been deleted.UserA's %relationship_name request has been approved.Your %relationship_name request has been sent to UserB.Comment #2
Anonymous (not verified) commentedI have exactly the same issue.
Comment #3
donatasp commentedLast update changed placeholder names, but it seems that maintainers failed to update them in all places. You can fix some of the messages yourself in admin/config/people/relationships/settings. I think that %relationship_name is replaced by @rel_name. I'm not sure about the others.
Comment #4
kappaluppa commentedI tried changing % to @ in the custom screen messages and and now getting the same error, except with @ in front: Admin's @relationship_name request has been declined.
Does this need to be updated somewhere in the module as well?
UPDATE: Looks like relationship_name was changed to rel_name. In my settings for Custom Screen Messages I changed
%relationship_name
to
@rel_name
and the tokens are being replaced
Comment #5
shawn dearmond commentedI can confirm #4.
Replace with @rel_name
Comment #6
NagendraSwami commentedYou can fix some of the messages yourself in admin/config/people/relationships/settings.
with %relationship_name is replaced by @rel_name.
so you can use following message as per actions:
1. Accepted – !requester's @rel_name request has been approved.
2. Declined - !requester has declined your @rel_name request.
3. Decline - !requester's @rel_name request has been declined.
4. Cancel - Your @rel_name request to !requestee has been canceled.
5. Default - No action has been taken.
6. Removed - The @rel_name relationship between !requestee and !requester has been deleted.
7. Pending - You have a new friend request. Visit the Friends page.
8. Pre-approved - You are !requestee's newest @rel_name.
Thanks hope this will be useful
Comment #7
GBurg commentedI can confirm the fix proposed by #4 and #6 work. However, is there any way to make it plural?
Best regards,
geert