Instead of "Send this user a private message" we should be seeing the "Add as trusted contact/Pending/Message" button shown in the designs from #1975198: [Meta] Trusted Contacts & Private messaging. This is provided as a field formatter in the Commons Trusted Contacts module.

| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2012026-trusted-contact-correct-formatter-4.patch | 4.49 KB | ezra-g |
| #2 | 2012026-trusted-contact-correct-formatter.patch | 2.17 KB | ezra-g |
| Screenshot_6_4_13_3_55_PM.png | 10.95 KB | ezra-g |
Comments
Comment #1
ezra-g commentedComment #2
ezra-g commentedYou'll need to revert the trusted contacts feature to test this patch.
Comment #3
Zarabadoo commentedIs seems that the placement of the Trusted contact/Message field is not getting inherited by the Search result view mode. I tried a fresh install, and it still is not getting placed properly.
Comment #4
ezra-g commentedHere's an alternate approach which also prevents the list of a user's trusted contacts from being indexed along with that user, as reported in A from https://drupal.org/node/1921982#comment-7497134 .
Comment #5
japerryThat works for me!
Comment #6
ezra-g commentedCommitted: http://drupalcode.org/project/commons_trusted_contacts.git/commit/965debe.