What would be the best way to add a "Private message" link such as the one available for nodes to a users comment?
I'm assuming a custom field would be the best way to do it. That way it's just adding the field to a structure type but I'm not sure how to link it to the users message link.

I've tried adding a message link to the comments(or anything else that uses fields) by
Going to /admin/structure/comment/manage/
Manage Fields
Add new Field > Reference > Other
Type of item to reference > Private Message Thread
But none of the references are for a link , they all display a form for username input(who you want to send a message to)

Thanks for any help :)

Comments

KrypticBit created an issue. See original summary.

KrypticBit’s picture

Issue summary: View changes
KrypticBit’s picture

Title: Add private message link to forum user » Add private message link to comment
Issue summary: View changes
KrypticBit’s picture

Issue summary: View changes
KrypticBit’s picture

Issue summary: View changes
KrypticBit’s picture

Issue summary: View changes
Jaypan’s picture

Status: Active » Fixed

Added in beta18. Visit the 'Manage display' tab for comments and add the link to the relevant comment type(s).

KrypticBit’s picture

There appears to be a problem with this new field, the reply to user ID goes up depending on their comment number! Example:
User 1 - Comment 1 - Comment link /create?recipient=1
User 1 - Comment 2 - Comment link /create?recipient=2
User 1 - Comment 3 - Comment link /create?recipient=3
Just a bug report :)

Status: Fixed » Closed (fixed)

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

poldrack’s picture

The bug still exists. Suggestions for the solution?