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)
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?
[...] 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. [...]
[...] Ajax comment preview permet aux commentateurs de voir leur commentaire avant de le poster définitivement [...]
[...] Ajax Comment Preview – Allows readers to preview their comment before submitting. [...]
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)???
Version 2.1 should fix this. Thanks!
[...] AJAX Comment Preview – за удобство на читателите. Добавя бутон за преглед на написан коментар, преди да бъде изпратен. [...]
[...] Ajax Comment Preview – Allows readers to preview their comment before submitting. [...]
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.
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.
[...] AJAX Comment Preview [...]
[...] Ajax Comment Preview – 可以让读者在提交留言前进行预览。 [...]
Thanks for the plugin, it’s working flawlessly!
[...] AJAX Comment Preview – за удобство на читателите. Добавя бутон за преглед на написан коментар, преди да бъде изпратен. [...]
Thanks for the plugin…
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
[...] 在全站运用AJAX,从而加快页面载入速度。 Alexa Rank?- 显示Alexa排名。 Ajax Comment Preview?- 允许读者在发表评论前预览。 asTunes?- [...]
[...] 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. [...]
[...] – 在全站运用AJAX,从而加快页面载入速度。 Alexa Rank – 显示Alexa排名。 Ajax Comment Preview – 允许读者在发表评论前预览。 asTunes – [...]
[...] – 在评论管理中添加评论回复选项。 AJAX Comments 2.0 – 基于AJAX的评论系统。 Ajax Comment Preview – 允许读者在发表评论前预览。 Ajax Comments-Reply - [...]
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?
[...] – 在评论管理中添加评论回复选项。 AJAX Comments 2.0 – 基于AJAX的评论系统。 Ajax Comment Preview – 允许读者在发表评论前预览。 Ajax Comments-Reply – [...]
i饿爱的咆哮
[...] 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. [...]
Хороший плагин! Спасибо большое! Искал нечто подобное более 2-х лет и никак не мог найти…
[...] Ajax Comment Preview — Позволяет посмотреть превью комментария перед публикацией. [...]
thanks
Прикольный плагин, а он и переводит коментарии??
[...] Ajax Comment Preview – 允许读者在发表评论前预览。 [...]
[...] AJAX Comment Preview [...]
[...] Ajax Comment Preview – Ajax效果的留言预览插件, 会在留言文本框下面添加一个预览按钮, 点击生成按钮即可. [...]
thanks for the plugin! ^^
Damn great plugin!
Thanks a lot!!!!!!!!!!!
[...] http://blogwaffe.com/ajax-comment-preview/ VN:F [1.2.2_602]Geef uw waardering:momentje aub…Rating: 0.0/4 (0 votes cast) [...]
Great Stuff!
[...] 在全站运用AJAX,从而加快页面载入速度。 Alexa Rank - 显示Alexa排名。 Ajax Comment Preview - 允许读者在发表评论前预览。 asTunes - [...]
[...] Ajax Comment Preview – Ajax效果的留言预览插件, 会在留言文本框下面添加一个预览按钮, 点击生成按钮即可. [...]
thank so much
[...] – 在全站运用AJAX,从而加快页面载入速度。 Alexa Rank – 显示Alexa排名。 Ajax Comment Preview – 允许读者在发表评论前预览。 asTunes – [...]
Great plugin
great plugin!
I am testing your comment pluging right now.
good job! i loved! thanks brother
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)
[...] 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. [...]
[...] Alexa Rank -显示你的Alexa排名。. Ajax Comment Preview - 可以让读者在提交留言前进行预览。 asTunes - [...]
[...] 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 [...]
Nice plugin! Congratulations! ;)
Just leaving a comment to see whether I can also leave comments without refreshing the page.
[...] 且这个插件具有防垃圾留言的效果, 它必须对留言进行预览后才能提交.Ajax Comment Preview – Ajax效果的留言预览插件, 会在留言文本框下面添加一个预览按钮, [...]
[...] 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 [...]
[...] 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 [...]