An update to Fresh Comments widget.
Fresh Comments 1.2.1 Changes
Just one tiny little change only. As pointed out by blogan, Fresh Comments 1.2 does not work with Nybble Lab’s Sidebar Modules (SBM) due to a mistake in the coding. The issue has been rectified.
What is Fresh Comments 1.2.1?
Fresh Comments 1.2.1 is a WordPress widget that displays the latest approved comments submitted by your visitors and also gives you - the owner - better control on how your recent comments are displayed. Go straight to download Fresh Comments.
How to install Fresh Comments?

(Click on the icon to configure Fresh Comments.)
Easy. Just download Fresh Comments 1.2.1 and extract it to your hard disk. Then upload freshcomments.php into your wp-content/plugins folder and then activate the plugin through your admin interface. Finally, check it out in your admin interface at Presentation -> Sidebar Widgets to add or remove Fresh Comments widget by dragging around.
How to configure Fresh Comments?

(Above is the configuration screen of Fresh Comments 1.1. See how Fresh Comments 1.0 look like.)
Here are the configurable options:
- Title - Give the widget a name to be displayed in your blog.
- Before - This is where you can insert HTML before all fresh comments are displayed. Recommended that you put <ul> here.
- After - This is where you can insert HTML after all fresh comments are displayed. Recommended that you put </ul> here.
- No. of comments - Number of comments to be displayed in descending chronological order for your fresh comments section. (Only takes a value of ‘1′ or more.)
- No. of preview words - Displays only the number of words you specify as a comment preview. (Only takes a value of ‘1′ or more.)
- Format - Allows you to specify how you want each line of fresh comment to be generated. You can click on ‘(reset)’ to go back to the default format. Read more about the formatting options below.
How to format Fresh Comments?
%comment_author%%comment_author_url%%comment_content%%comment_preview%- Displays the first few words of the comments. The number of preview words is specified in the ‘No. of preview words’ option as mentioned above.%post_title%%comment_permalink%- This displays the URI of the comment in your post.%post_permalink%- This displays the URI of your post.
Most of the tags are pretty much self explanatory. To add a tag, just click or highlight within the formatting textbox and then click on the tag you wish to insert.
Below are some examples of formats you can use:
Format:
<li><a href="%comment_permalink%">%comment_author% in %post_title%</a>: %comment_preview%</li>Format to HTML:
<li><a href="http://beconfused.com/blog/2006/03/22/busy-week/#comment-9812">Mr. Dew in busy//week</a>: Well, it's okay. I don't think I can do much</li>Displayed in browser:
<li><a href="http://beconfused.com/blog/2006/03/22/busy-week/#comment-9812">Mr. Dew in busy//week</a>: Well, it's okay. I don't think I can do much</li>
Other examples of formats:
<li><a TARGET="_blank" href="%comment_author_url%">%comment_author%</a> in <a href="%comment_permalink%">%post_title%</a>: <a href="%comment_permalink%">%comment_preview% [...]</a></li>
<li><a href="%comment_author_url%">%comment_author%</a> says, <a href="%comment_permalink%">"%comment_preview%..."</a></li>

(Using Fresh Comment widget in your sidebar.)
Additional notes
If there are any things you spot that is not working, do give me a notice and I’ll fix it as soon as possible. I’m not an experience PHP coder so please forgive me if anything goes wrong.
Fresh Comments 1.2.1 is tested on WordPress 2.0.7 and WordPress 2.2.2 except to make it WordPress 2.1 compatible. The browsers tested are Windows Internet Explorer 7.0 and Mozilla Firefox 2.0.
Download it (2.97 KB in ZIP archive, 10.8 KB after extraction)
The source code for Fresh Comments 1.2.1 is distributed under GPL (General Public License), meaning that you can freely modify and distribute this source code.
Please do comment about my work. ![]()
Tags: plugins, programming, widgets, wordpress
[...] Note that Fresh Comments 1.2.1 is out. [...]
by //beconfused » Blog Archive » Fresh Comments 1.2 (WordPress 2.1 compatible) (Mar 23, 2007 at 2 PM)Thanks very much for your work. Could you check if it works with K2? I upgraded from 1.1 to 1.2.1 and it didn’t even show up in the widgets screen! I had to revert back to 1.1
by Babak (Apr 2, 2007 at 3 AM)I’ll check, sorry about that.
by Mr. Dew (Apr 5, 2007 at 2 AM)It seems to be working for me, I have got the latest nightly for K2 though - http://getk2.com/nightly/
Is that what you’re using too?
by Mr. Dew (Apr 5, 2007 at 2 AM)[...] 3ã?Fresh Comments widgetï¼?æ??æ?°è¯?论æ?ä»¶ï¼?å¯è?ªç?±è®¾ç½®å?æ?°ï¼? [...]
by è¿?æ??对å?客è¿?è¡?ç??å°ä¿®è¡¥ | 4Pè¥é?? (Jun 13, 2007 at 4 PM)It is working fine here. It is very customizable; good job!
by ladynada (Jun 20, 2007 at 1 PM)thank you,
nada
Does this work with Wordpress 2.2.1?? I’ve been using it with WP 2.1.2 and older versions and it’s been working great, but i wanna upgrade now that WP 2.2.1 is out and wanna check if this great plugin will keep working fine.
by Felipe Cerda (Jun 21, 2007 at 3 PM)Yes, it works with 2.2.1. I am currently using 2.2.1 now, everything seems to be working fine!
by Mr. Dew (Jun 22, 2007 at 2 AM)[...] Fresh Comments widget : un widget pour afficher les commentaires récents [...]
by Quelques plugins et widgets pour WordPress | 64k (Oct 8, 2007 at 7 PM)Thanx for this plugin
by FACTOR2 (Jan 22, 2008 at 10 AM)I love this widget… I’ve been using it for several months now… Thank you.
However, I was wondering how to make the commenter’s hyperlinks to be “nofollow”. Where do I make the edits (in what file, what lines) to add rel=”nofollow”?
I wish this could be an option in future updates of this plugin.
by FruityOaty (Mar 7, 2008 at 9 AM)Ohhhh… OK, I figured out how to do that rel=”nofollow” (enter it in widget).
Now, a different issue… When a commenter doesn’t have a website, I noticed the Fresh Comments widget displays my blog’s URL instead… which it shouldn’t. The commenter without URL shouldn’t be linked at all (as doing so makes it look like it was me leaving the comment).
How to fix this?
by FruityOaty (May 11, 2008 at 10 PM)I’m using Fresh Comments and love it. Today, I had someone leave a comment on a picture in a gallery (I didn’t even know this was possible). Fresh Comments doesn’t capture this comment (or my reply). Here’s the URL to the gallery picture.
http://blogan.net/blog/2008/08/05/weekend-in-mendocino/img_2495/
by Brent Logan (Aug 7, 2008 at 2 AM)