Download & Extend

Show the author of whose comment was replied to in the comments subject?

Project:Re: Comment subjects
Version:6.x-2.0-beta1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Let's say the first comment is "comment #1". When a user clicks "Reply" to a comment and makes a new comment, that new comment is "comment #2". How can I get "comment #2" to show "Re: [Username of the comment that was replied to]" in its subject?
Is it possible using this module?

Thanks!

Comments

#1

for D6 you would need a token like [comment-parent-author], which currently doesn't exists,
but there is [comment-parent-title]
so you can review the comment_subject.token.inc file and insert your own contribution in the same fashion of [comment-parent-title]
which should be pretty simple and straightforward

for D7 the token would be [comment:parent:author]
which automatically exists due to core's token support

#2

Hi arhak,

I've looked at the file, but I am still not certain what to do. Could you help me out on what changes need to be made?

Thanks!

#3

AttachmentSize
2011-02-07_1038484_6x2x[unix].patch 2.47 KB