{"id":429,"date":"2005-12-31T11:08:02","date_gmt":"2005-12-31T19:08:02","guid":{"rendered":"http:\/\/lee.org\/blog\/archives\/2005\/12\/31\/installed-brians-latest-comments\/"},"modified":"2005-12-31T20:18:57","modified_gmt":"2006-01-01T04:18:57","slug":"installed-brians-latest-comments","status":"publish","type":"post","link":"https:\/\/www.lee.org\/blog\/2005\/12\/31\/installed-brians-latest-comments\/","title":{"rendered":"Installed Brian&#8217;s Latest Comments"},"content":{"rendered":"<p>Aren&#8217;t <a href=\"http:\/\/meidell.dk\/archives\/2004\/09\/12\/brians-latest-comments\/\">they<\/a> pretty.<\/p>\n<p>Instructions:<br \/>\n<!--more--><\/p>\n<blockquote>\n<h2>How to use<\/h2>\n<p>The plugin gives you a function called <strong>blc_latest_comment<\/strong>.<br \/>\nThe simplest way of using it is to add this to  your blog:<br \/>\n<code><br \/>\n&lt;ul class=\"latestactivity\"&gt;<br \/>\n&lt;?php blc_latest_comments(); ?&gt;<br \/>\n&lt;\/ul&gt;<\/p>\n<p><\/code><br \/>\nHowever, it does offer a bit of customizability.<br \/>\nThe arguments the function accepts are these:<br \/>\n<code><br \/>\nblc_latest_comments(number of posts, number of commenters per post, hide track\/pingbacks, prefix, postfix, fade_old, range_in_days, newest_color, oldest_color)<br \/>\n<\/code><\/p>\n<dl>\n<dt>Number of posts<\/dt>\n<dd>The number of posts you want in the list.  Default is 5.<\/dd>\n<dt>Number of commenters per post<\/dt>\n<dd>How many names you want to show under each post. Default is 6.<\/dd>\n<dt>Hide track\/pingbacks<\/dt>\n<dd>Whether or not to hide pingbacks and trackbacks. Default is false.<\/dd>\n<dt>Prefix and postfix<\/dt>\n<dd>These are wrapped around each post and list of commenters. Default is &lt;li&gt; and &lt;\/li&gt;.<\/dd>\n<dt>Fade old<\/dt>\n<dd>Whether to use comment temperatures. Default is true.<\/dd>\n<dt>Range in days<\/dt>\n<dd>The number of days it takes for a comment to fade from the newest color to the oldest color. Default is 10 days.<\/dd>\n<dt>New color<\/dt>\n<dd>The color of a completely new post. The default is a dark gray.<\/dd>\n<dt>Old color<\/dt>\n<dd>The color of a post that is as old or older than the number of days given by the &#8220;range in days&#8221; argument. Default is light gray. <\/dd>\n<\/dl>\n<p>If you have <a href=\"http:\/\/binarybonsai.com\/archives\/2004\/08\/17\/time-since-plugin\/\">Dunstan&#8217;s Time Since<\/a> installed, the links will have the title=&#8221;&#8221; attribute set to a time since message.<\/p>\n<p>If not, there is no title.<\/p>\n<h2>How to change the look<\/h2>\n<p>The way I achieve the look I have on my Activity on the right hand side, is by adding this CSS to wp-layout.css:<br \/>\n<code><br \/>\n.latestactivity small<br \/>\n{<br \/>\n\tdisplay: block;<br \/>\n\tmargin: 0px;<\/p>\n<p>\tmargin-left: 10px;<br \/>\n\tfont-size: 94%;<br \/>\n}<br \/>\n<\/code><\/p>\n<h2>Bugs and limitations<\/h2>\n<ul>\n<li><strike>It seems that it only works with MySQL 3.x, not MySQL 4.x. This will be mended soon.<\/strike><\/li>\n<li>Has been tested successfully with MySQL 3.23 and MySQL 4.0.21<\/li>\n<\/ul>\n<p>I think that&#8217;s about it. Happy latest commenting.\n<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Aren&#8217;t they pretty. Instructions:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-429","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/comments?post=429"}],"version-history":[{"count":0,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/429\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/media?parent=429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/categories?post=429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/tags?post=429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}