# CommentAuthorContext # Authors: Brad Choate, Mark Paschal, Beau Smith # Copyright 2008 Six Apart, Ltd. # License: Artistic, licensed under the same terms as Perl itself # Overview In the context of a comment, all `<$mt:AuthorSOMETHING$>` function tags refer to the author of the entry or page where the comments were left. This default behavior in Movable Type (as of MT4.25) creates a situation where it is never possible to output author data for a commenter. # Description The CommentAuthorContext plugin creates a block tag called `` in which `<$mt:AuthorSOMETHING$>` function tags will refer to the author of the comment. # Usage 1. Create a "user" CustomField. We'll use `<$mt:AuthorDataTwitter$>` for this example. 2. Place the `` block tag inside the `` tag block (typically in the entry or page detail template). 3. Place your "user" CustomFields inside the `` tag block. Final code might look something like this: <$mt:AuthorDataTwitter$> I'm an anonymous commenter