06.01.2006

AJAX Comment Preview

DOWNLOAD

Get the plugin from the Ajax Comment Preview page in the WordPress.org plugins directory.

COMPATIBILITY

The newest version of this plugin (version 2.1) is compatible with WordPress 2.6 and higher only. Users of WordPress 2.0.x should use the older version 1.0.1 (which is unsupported and probably broken).

INSTALLATION

For more information, see the Ajax Comment Preview FAQ in the WordPress.org plugins directory.

To use this plugin, all files from the zip file you download must be in your wp-content/plugins/ directory. If you choose to place them in a subdirectory, all files must be in the same directory.

Activate the plugin from your WordPress site’s Plugins admin page.

Edit the plugin’s options from your Options -> AJAX Comment Preview admin page in order to specify the formatting of the preview. This will depend on your particular theme. The default format works for WordPress’ default Kubrick theme.

Note: You may need to tweak your theme’s CSS to get the preview to look exactly like a normal comment.

Testing

I get a number of comments on this post testing the system. A little odd, since it seems to me people should be testing the preview functionality (which is new) not the comment posting functionality (which is the same old WordPress standard stuff). Anyway, that’s cool. Go ahead. But please do me a favor; don’t just thow up some lame “testing” comment. Try sending over a poem or maybe something from the Farmer’s Almanac. Tell me your favorite book/artist/music. Don’t suck; try to be creative.

The History

My original post.

2.1

  • Fixes an JavaScript issue in Internet Explorer reported by Eric

2.0

  • Full gravatar/avatar support
  • Moved to jQuery
  • WordPress 2.7 support
  • Should have fixed any character endcoding issues
  • Should now work on pages served as XML

1.2.1:

  • Fully internationalized dates

1.2:

  • Fixed some JS errors (Mark Jaquith)
  • %email_hash% available for gravatars
  • Readme file with configuration instructions
  • Fix double offset in dates (Mark Jaquith)

524 Comments »

  1.  
    scribu 01.01.2009 @ 19:08

    Hello! Just installed your plugin and it’s working great.

    Just have one minor problem: Could you add around Says, so it matches the default comment template in WP 2.7?

  2.  

    [...] AJAX Comment Preview – Other preview plugins don’t know what sort of changes WordPress will make to a visitor’s comment, but this plugin uses AJAX to send each previewed comment through WordPress’ inner voodoo in order to figure out those changes. [...]

  3.  

    [...] Ajax comment preview permet aux commentateurs de voir leur commentaire avant de le poster définitivement [...]

  4.  

    [...] Ajax Comment Preview – Allows readers to preview their comment before submitting. [...]

  5.  
    Eric 01.27.2009 @ 11:33

    Why is there a
    version=”1.0″ encoding=”utf-8″ message in the preview box with IE 7 and ajax preview plugin v2.0 (I’ve just checked out on this site)???

    •  
      MDA 01.29.2009 @ 20:29

      Version 2.1 should fix this. Thanks!

  6.  

    [...] AJAX Comment Preview – за удобство на читателите. Добавя бутон за преглед на написан коментар, преди да бъде изпратен. [...]

  7.  

    [...] Ajax Comment Preview – Allows readers to preview their comment before submitting. [...]

  8.  
    Abel Cheung 02.14.2009 @ 11:52

    Probably I run into some obscure problem(?): typing some specific pattern and the whole comment preview will be gone. To test it, one can type these keys in sequence:

    [e] [c] [h] [o] [space] [a] [;]

    The most important things are “echo” and semicolon. “a” can be replaced by anything. This can be problematic when pasting code snippets in comment.

    •  
      MDA 02.14.2009 @ 18:16

      It’s not a problem with the plugin, it’s a problem with my server.

      My host has mod_security installed on my webserver, which is blocking that request. You’ll note that if you try to post a comment with the same text, you get a 412 Precondition Failed error.

      So the plugin really is returning the same result back to you when you preview the comment as WordPress would after submitting the comment for real.

  9.  

    [...] AJAX Comment Preview [...]

  10.  

    [...] Ajax Comment Preview – 可以让读者在提交留言前进行预览。 [...]

  11.  
    exer 02.22.2009 @ 14:52

    Thanks for the plugin, it’s working flawlessly!

  12.  

    [...] AJAX Comment Preview – за удобство на читателите. Добавя бутон за преглед на написан коментар, преди да бъде изпратен. [...]

  13.  
    aa 02.26.2009 @ 02:56

    Thanks for the plugin…

  14.  
    wa7di 02.26.2009 @ 02:57

    Hello,
    Umm… the plugin is amazing! and original. I really liked it, and it worked when I used it.
    However, when I installed the MCEComments plugin, it stopped working. When I click, it doesn’t preview the comment.
    Is there someway to make it compatible with that plugin?

    Thanks a lot!
    SA

  15.  

    [...] 在全站运用AJAX,从而加快页面载入速度。 Alexa Rank?- 显示Alexa排名。 Ajax Comment Preview?- 允许读者在发表评论前预览。 asTunes?- [...]

  16.  

    [...] AJAX Comment Preview – Other preview plugins don’t know what sort of changes WordPress will make to a visitor’s comment, but this plugin uses AJAX to send each previewed comment through WordPress’ inner voodoo in order to figure out those changes. [...]

  17.  

    [...] – 在全站运用AJAX,从而加快页面载入速度。 Alexa Rank – 显示Alexa排名。 Ajax Comment Preview – 允许读者在发表评论前预览。 asTunes – [...]

  18.  

    [...] – 在评论管理中添加评论回复选项。 AJAX Comments 2.0 – 基于AJAX的评论系统。 Ajax Comment Preview – 允许读者在发表评论前预览。 Ajax Comments-Reply - [...]

  19.  
    docwhat 03.08.2009 @ 09:28

    Suggestions:

    Some conflict or are obsoleted by other suggestions. I’m just trying
    to offer alternatives.

    Use JavaScript to insert the preview button and #ajax-comment-preview. This wil prevent
    it from “not working” if a user doesn’t have JavaScript enabled (or
    something goes wrong).
    Move the preview button into the that contains the submit
    comment button. Either via add_filter() in php or via JS if you use
    the above suggestion.
    Have an option (as the default) to just use the system default for
    the date string instead of specifying it.
    Have an option to use the wp_list_comments() default markup. It
    should probably also be the default. This way a user won’t have to
    update this as things change.
    Maybe a “restore default” button for things?

  20.  

    [...] – 在评论管理中添加评论回复选项。 AJAX Comments 2.0 – 基于AJAX的评论系统。 Ajax Comment Preview – 允许读者在发表评论前预览。 Ajax Comments-Reply – [...]

  21.  
    xx 03.14.2009 @ 20:09

    i饿爱的咆哮

  22.  

    [...] AJAX Comment Preview – Other preview plugins don’t know what sort of changes WordPress will make to a visitor’s comment, but this plugin uses AJAX to send each previewed comment through WordPress’ inner voodoo in order to figure out those changes. [...]

  23.  
    Domus 03.28.2009 @ 07:18

    Хороший плагин! Спасибо большое! Искал нечто подобное более 2-х лет и никак не мог найти…

  24.  

    [...] Ajax Comment Preview — Позволяет посмотреть превью комментария перед публикацией. [...]

  25.  
    Mia 04.05.2009 @ 05:10

    thanks

  26.  
    Druzhanja 04.05.2009 @ 13:36

    Прикольный плагин, а он и переводит коментарии??

  27.  

    [...] Ajax Comment Preview – 允许读者在发表评论前预览。 [...]

  28.  
  29.  

    [...] Ajax Comment Preview – Ajax效果的留言预览插件, 会在留言文本框下面添加一个预览按钮, 点击生成按钮即可. [...]

  30.  
    aldren 04.23.2009 @ 07:53

    thanks for the plugin! ^^

  31.  
    bas 04.29.2009 @ 13:49

    Damn great plugin!
    Thanks a lot!!!!!!!!!!!

  32.  

    [...] http://blogwaffe.com/ajax-comment-preview/ VN:F [1.2.2_602]Geef uw waardering:momentje aub…Rating: 0.0/4 (0 votes cast) [...]

  33.  
    Ben 05.02.2009 @ 15:08

    Great Stuff!

  34.  
    Pingback from 逍遥山庄 » Wordpress插件大整理 05.03.2009 @ 18:41

    [...] 在全站运用AJAX,从而加快页面载入速度。  Alexa Rank - 显示Alexa排名。  Ajax Comment Preview - 允许读者在发表评论前预览。  asTunes - [...]

  35.  

    [...] Ajax Comment Preview – Ajax效果的留言预览插件, 会在留言文本框下面添加一个预览按钮, 点击生成按钮即可. [...]

  36.  
    caillou 05.16.2009 @ 01:04

    thank so much

  37.  
    Pingback from 50个WordPress插件 | 桃园水榭 05.20.2009 @ 20:23

    [...] – 在全站运用AJAX,从而加快页面载入速度。 Alexa Rank – 显示Alexa排名。 Ajax Comment Preview – 允许读者在发表评论前预览。 asTunes – [...]

  38.  
    Darren 05.25.2009 @ 19:53

    Great plugin

  39.  
    ivan 05.28.2009 @ 20:25

    great plugin!

  40.  
    albert 05.29.2009 @ 13:57

    I am testing your comment pluging right now.

  41.  
    igoy cavalera 05.30.2009 @ 13:30

    good job! i loved! thanks brother

  42.  
    William 05.30.2009 @ 18:45

    I was researching a number of comment plugins when I came across this one. I really like the idea of adding the preview function. Thanks.

    “It is best to do things systematically, since we are only human, and disorder is our worst enemy.” Hesiod (~800 BC)

  43.  
    Pingback from Cuban Nomad » WordPress Plugins 06.06.2009 @ 14:42

    [...] AJAX Comment Preview – There’s nothing worse than spending time crafting the perfect comment, only to see your HTML tags were incorrect and it looks all garbled once posted.  This plugin didn’t need any further customization after install and has been working like a champ. [...]

  44.  
    Pingback from WordPress Ajax 插件 | CKSKY 06.06.2009 @ 14:44

    [...] Alexa Rank -显示你的Alexa排名。. Ajax Comment Preview - 可以让读者在提交留言前进行预览。 asTunes - [...]

  45.  

    [...] blogwaffe AJAX Comment Preview Posted by root 18 minutes ago (http://blogwaffe.com) Get the plugin from the ajax comment preview page in the wordpress org a little odd since it seems to me people should be testing the preview functionality which is new not the comment posting functionality which is the same old wordpress mdawaffe michael Discuss  |  Bury |  News | blogwaffe AJAX Comment Preview [...]

  46.  
    Pablo Almeida 06.10.2009 @ 18:07

    Nice plugin! Congratulations! ;)

  47.  
    Kevin Paquet 06.12.2009 @ 15:31

    Just leaving a comment to see whether I can also leave comments without refreshing the page.

  48.  
    Pingback from 100多个Wordpress留言插件 | CKSKY 06.14.2009 @ 12:46

    [...] 且这个插件具有防垃圾留言的效果, 它必须对留言进行预览后才能提交.Ajax Comment Preview – Ajax效果的留言预览插件, 会在留言文本框下面添加一个预览按钮, [...]

  49.  

    [...] readers can preview a criticism prior to submitting. Ajax Comment Preview let we sort in a criticism as good as click “Preview”. The report we come in is sent [...]

  50.  

    [...] readers can preview the comment before submitting. Ajax Comment Preview let you type in a comment and click “Preview”. The information you enter is sent back [...]

Leave a Reply

Comment Moderation is on; comments with spammy words or a few links might be delayed. Don't worry, they'll get posted soon. If you think something has gone terribly wrong, contact me.

Line and paragraph breaks are inserted automatically and e-mail addresses are never displayed. You may use the following HTML tags in your comments.

<a abbr acronym b blockquote cite code del em i q strike strong>

© mdawaffe (Michael D Adams) - Powered by WordPress - Full Credits