2 Feb 2003
TrackBacks are comments. They are comments left on someone else’s site rather than your own, but they are comments nonetheless. Movable Type makes a distinction between entry comments and TrackBacks that seems artificial, and it made more sense to me to have TrackBack ping data appear within the comments portion of a Movable Type site.
SimpleComments is a new plugin that will let you do just this. Comments and Trackbacks are merged into a single list. Comment counts include the number of TrackBack pings, and best of all, you don’t need to learn new MT tags in order to do this.
Simplecomments 1.34 (updated Jul 24, 2006)
Unzip the SimpleComments zip file to a directory on your computer.
Copy the plugins and php directories to the MT directory on your server.
Simplecomments gives you a couple of new tags that complement the existing set of Movable Type comment and ping tags.
<MTSimpleComments>sort_order attribute as the built-in MTComments tag. You can also use lastn=”N” to limit the total number of comments and pings displayed. Under MT3+ only approved comments are displayed. If you want to show unapproved comments as well, add an attribute of moderate=”0”. You use standard MTComment… and MTPing… tags inside this container to output your comment and ping data.<MTSimpleCommentCount><span class="caps">MTS</span>impleCommentCount will display 5.<MTSimpleCommentNumber><MTSimpleCommentOdd>class=”commentbg<MTSimpleCommentOdd>“ and create classes for commentbg0 and commentbg1.<MTSimpleCommentIfTrackback><span class="caps">MTS</span>impleComments tag is going to give you a list that has both comments and TrackBack pings. Since comments and pings use a different set of MT tags, you can use this conditional container to output data for trackbacks. The contents of this tag will only be displayed if the current item in the comment list is a TrackBack.<MTSimpleCommentIfComment><span class="caps">MTS</span>impleCommentIfTrackback, the contents of this tag will only be displayed if the current item in the comment list is a Comment. See the example below to help you understand how this works.<MTSimpleCommentEntry><MTSimpleComments lastn="5"> <MTSimpleCommentEntry> This comment was made on the entry <MTEntryTitle>. </MTSimpleCommentEntry> </MTSimpleComments>
<p><MTSimpleCommentCount> Comments</p> <MTSimpleComments> <MTSimpleCommentIfTrackback> <a name="trackback-<MTPingID>"></a> <p><b><a href="<MTPingURL>"><MTPingBlogName></a></b> <$MTPingDate format="%b %e, %Y %l:%M %p"$><br /> <MTPingExcerpt><br /> Read more in <a href="<$MTPingURL$>"><$MTPingTitle$> »</a></p> </MTSimpleCommentIfTrackback> <MTSimpleCommentIfComment> <a name="comment-<MTCommentID>"></a> <p><b><$MTCommentAuthorLink$></b> <$MTCommentDate format="%b %e, %Y %l:%M %p"$><br /> <$MTCommentBody$></p> </MTSimpleCommentIfComment> </MTSimpleComments>
Like my other freeware, this plugin is released under the open-source MIT License. In plain English, that means you can do whatever you want with the software, including modifying it, selling it, or eating it, but I’m not responsible for anything that goes wrong.
The PHP port was created by Brad Choate and is also released under the MIT license.
1.34 - Jul 24, 2006
1.33 - Jul 12, 2006
1.32 - Oct 24, 2004
1.31 - Oct 18, 2004
1.3 - Oct 12, 2004
moderate attribute controls the display of unmoderated comments under MT3+. The default is to show approved comments only.1.2 - July 27, 2004
1.11 - Apr 24, 2003
1.1 - Apr 23, 2003
1.0 - Feb, 2003
The link to simplecomments1.33.zip doesn’t seem to be working.
You forgot to change the version number to 1.33. It still says 1.32 in SimpleComments.pl
well, it seems like someone fixed it, thank you.
MTSimpleCommentCount off by one in 1.34? It looks like it on my first entry. Not sure what’s going on, will look at that and see if I can help trace it down.
These are the last 15 comments. Read all 84 comments here.
This discussion has been closed.
Adam Kalsey
Mobile: 916.600.2497
Email: adam AT kalsey.com
AIM or Skype: akalsey
©1999-2009 Adam Kalsey.
Content management by Movable Type.
sda
March 16, 2006 8:56 AM
looks cool