Content last modified Monday 5 September 2016
hop to #bottom
Categories:
Author:
Current version:
0.3
About It:
Get it:
Rate it:
  • Helpful?
  • 2 Yes
  • 0 No
Flag it:
Contact Reason [ ? ]

nhn_livecommentpreview

This plugin is heavily based on the live comment hack described by Jon Hicks using code by Stuart Langridge and Jeff Minard. It automatically creates a new form called hn_livecommentpreview where you can change the appearance of the live preview.

Available tags:

<txp:nhn_lcp_author />

The name of the author whose comment is previewed.

<txp:nhn_lcp_preview />

The live comment preview itself.

<txp:nhn_lcp_date />

The date, using the standard comments dateformat

Things to do

<txp:nhn_livecommentpreview_js />

Place this tag in the head of your website. It contains the javascript used for the live preview.

<txp:nhn_livecommentpreview />

Place this tag in the form comment_form. It marks the spot where the live preview will be placed.

<txp:nhn_comments_form />

Replace <txp:comments_form /> in comments_display under “presentation” > “forms” with <txp:nhn_comments_form />

Optional things

<txp:nhn_comment_submit />

If you don’t like to use the standard comment preview, you can skip it by deleting <txp:comment_preview /> and <txp:comment_submit /> and replacing it with <txp:nhn_commit_submit />. <txp:nhn_comment_submit /> requires <txp:nhn_comment_spamsave />.
<txp:nhn_comment_spamsave />

This is a very basic spam checker when using <txp:nhn_comment_submit />. It inserts a checkbox that has to be checked before the comment can be submitted. This tag has to be placed inside the comment_form.

Article Request Count:

Archived [?]: orphaned; broken links

Keywords/tags:
Initially released:
2005-09-30
Posted here:
02 Nov 2005
Article modified:
10 Feb 2008

If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (6)

Little typo in the text:
Place this tag in the head of your website. It contains the javascript used for the live preview.
Thanks Alex, fixed it :-)
Here is czech translation for this plugin: http://textpattern.ivorius.com/plugin/nhn_livecommentpreview-komentare-live

Hey, where’s it gone? :(

Ditto on that one – this puppy is 404.

This plugin has some sort of a new version made by separate Textpattern community member. More info can be found from here.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

Would you care to write a comment or visit the forum discussion?

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.