Jan
20

Fresh Comments 1.2 (WordPress 2.1 compatible)

Uncategorized

Note that Fresh Comments 1.2.1 is out.

What is Fresh Comments 1.2?

Fresh Comments 1.2 is a 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.

(Click on the icon to configure Fresh Comments.)

Easy. Just download Fresh Comments 1.2 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?

Configuration screen of 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.

(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 anythings goes wrong.

I didn’t update any part of Fresh Comments 1.2 except to make it WordPress 2.1 compatible. WordPress 2.1 is going to be released in just a couple of months and this update is compatible with WordPress 2.1 RC1. You can download the current released version of WordPress 2.07 which is also compatible.

The browsers tested are Windows Internet Explorer 7.0 and Mozilla Firefox 2.0.

Note that Fresh Comments 1.2.1 is out.

Download it (2.97 KB in ZIP archive, 10.8 KB after extraction)

The source code for Fresh Comments 1.2 is distributed under GPL (General Public License), meaning that you can freely modify and distribute this source code.

Please do comment about my work. :)

Possibly related:

  1. Fresh Comments 1.2.1
  2. fresh//comments
  3. freshen//comments

Tags: , , ,

13 comments for “Fresh Comments 1.2 (WordPress 2.1 compatible)”

  1. [...] Note that Fresh Comments 1.2 is out. [...]

    by //beconfused » Blog Archive » freshen//comments (Jan 20, 2007 at 9 AM)
  2. Awesome. I haven’t updated to WordPress 2.1 yet (I’m still on 2.07)… and I’d hate to lose Fresh Comments. I’m glad it’s compatible with 2.1.

    Great plugin. Keep up the good work!

    by fruityoaty (Jan 25, 2007 at 12 PM)
  3. Thank you. I just updated to 1.2

    by Modeblog (Jan 27, 2007 at 3 AM)
  4. fruityoaty: Thanks!

    Modeblog: You’re most welcome!

    by Mr. Dew (Jan 27, 2007 at 9 AM)
  5. Thanks for such a neat plugin and easy to understand instructions!

    by Britgirl (Feb 16, 2007 at 12 PM)
  6. Thank you for a wonderfully functional plug in. I appreciate it!!

    by John P. (Mar 15, 2007 at 1 AM)
  7. Thanks for using it!

    by Mr. Dew (Mar 21, 2007 at 2 PM)
  8. Great plugin!

    There appears to be a small issue that prevents this plugin from working with the latest nightly version of the K2 theme. The workaround (and thus what I’m hoping you can change in the plugin) is:

    Change:
    add_action(’plugins_loaded’, ‘widget_freshcomments_init’);

    to:
    add_action(’widgets_init’, ‘widget_freshcomments_init’);

    Near the bottom of the plugin. See here

    by blogan (Mar 23, 2007 at 2 PM)
  9. [...] 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 [...]

    by //beconfused » Blog Archive » Fresh Comments 1.2.1 (Mar 23, 2007 at 2 PM)
  10. Thanks for informing me, blogan, the plugin has been updated. Now at version 1.2.1.

    by Mr. Dew (Mar 23, 2007 at 2 PM)
  11. Hello! great idea of color of this siyte!

    by Vilyamvb (Aug 9, 2007 at 12 PM)
  12. Wordpress 2.5 Problems?

    by FACTOR2 (Apr 16, 2008 at 1 AM)
  13. hi, i can`t download coz it goes to not found page.

    by akber kabir (Jun 26, 2009 at 6 PM)
 

Leave a Reply

 

Comments may be moderated due to spam. No advertisements are allowed in comments.

You'll require some math knowledge to comment, this is done to stop evil bots from spamming my blog.

Read my comments policy

Want a display picture?