04.26.2024

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)

336 Comments »

  1.  
    Ultras 12.08.2007 @ 05:16

    Great! Thanks for you hard work!

  2.  
    BaseballTalkPro 12.10.2007 @ 19:45

    It’s a very nice addition to my blog. Thank you. I think WordPress should add this to the standard install in the future because it’s a great asset.

  3.  
    Sir Pavlow 12.14.2007 @ 18:06

    some problems on my blog

  4.  
    alternatif 12.16.2007 @ 13:04

    My web site how?

  5.  
    sharp aquos 12.19.2007 @ 09:29

    Hi dude your plugin is really cool thanks, can you tell me another plugin that when user submit comments then page should not be reloaded but only show submittd comment by ajax ?

  6.  
    Lushable 12.31.2007 @ 00:11

    This is great! Im using this! Thanks so much

  7.  
    homaid 01.04.2008 @ 09:16

    Thanks a lot this is really cool

  8.  
    Rina 01.07.2008 @ 01:27

    Great plugin!

  9.  
    Jaon Lee 01.12.2008 @ 20:49

    Great plug dude!

  10.  
    DeaR 01.14.2008 @ 21:27

    Great, but I can’t use it.
    How come it doesn’t show up like yours?

  11.  
    Hero 01.16.2008 @ 20:01

    I’ve just started redesigning my old WordPress blog to make itmore modern and this plugin is awesome. I’m eventually going to try to alter it a little bit though and make it so it previews while you type nto after pressing the previre button. Otherwise, great idea !!!

  12.  

    I almost hit submit — and the reason is the tab-order. The Preview button is displayed before the Submit button, so I assumed that tab + enter will hit Preview, but your tab-order is Submit first and Preview next.

  13.  
    Erica 01.21.2008 @ 18:16

    I can’t get it to work. I’m not using Kubrick but I don’t know what I’m missing in my template that makes it not show.

  14.  
    kristian 01.29.2008 @ 17:08

    thanks. this is a cool addition.

  15.  
    Null 02.01.2008 @ 17:06

    One of the best plugins!

  16.  
    Ben Tremblay 02.06.2008 @ 23:13

    HiYa

    Just DL’s the plugin and noticed a thread in /Support: “[Plugin Ajax Comment Preview] Not working in 2.3.2” … with a nice follow up comment.

    I’m going to be trying it with a theme that’s ExtJS heavy, so if it doesn’t work that won’t mean much … but I’ll comment there if it does.

    cheers
    –bentrem

  17.  
    Bobby Brownn 02.07.2008 @ 22:24

    Heya, just doing some testing :P

    Got here from google, trying to find an open source comment system. Maybe this is it?

  18.  
    Amanda 02.10.2008 @ 13:12

    I love this plug-in. However, I just installed some script on my site that has broken the plugin, and I was wondering if you had a work around or something so I could use both.

    The script I installed in my footer to turn the plain text comment box into a WYSIWYG editor is:

    script src=”http://js.nicedit.com/nicEdit.js” type=”text/javascript”>

    bkLib.onDomLoaded(nicEditors.allTextAreas);
    </script

    And I definitely know that it’s this script that is causing the problem.

    Do you know of a way to make the plugin work while this script is running?

  19.  
    Amanda 02.11.2008 @ 21:08

    Any news on the script problem?

  20.  
    MDA 02.12.2008 @ 13:02

    Sorry Amanda, I don’t know what’s up.

  21.  
    dog training tips 02.14.2008 @ 10:43

    what exactly do I need to do with my theme template to get this rollin.

    Thanks.

  22.  
    The Doctor What 02.17.2008 @ 08:11

    Suggestions:

    1) Render the preview button via JavaScript. That way if someone does not have JavaScript, it will not be shown.

    2) There should be an explicit choice to “hide” the preview area or not. It shouldn’t be done based on the text being there or not.

    3) You should use JS to hide the preview area, incase something goes wrong, you know exactly how to reveal it again.

    Ciao!

  23.  
    Nibencobinna 02.17.2008 @ 14:50

    I wondered, where does this fifteen lodge basic waltz degrade the attitude? We thinly nodded our berries no.

  24.  
    Stewart 02.21.2008 @ 19:52

    Something interesting, you say? I think I can probably muster something up. Some Mr Bungle lyrics, perhaps:

    My hand is tired and my dick is sore
    but the girls of porn want more
    so I flick through the pages one more time
    and let the jism fly!

    Or is that too rude?

  25.  
    saç ekimi 02.22.2008 @ 12:28


    ıM mARY
    I can’t get it to work. I’m not using Kubrick but I don’t know what I’m missing in my template that makes it not show.
    thanks.

  26.  
    DarkWolf 02.27.2008 @ 14:07

    Great plugin it works perfectly!
    I’ve only make little edit to best view in my theme and now is perfect!
    Thank’u very much!
    You’re Rock ;)

  27.  
    Http500 03.14.2008 @ 03:35

    great plugin!

  28.  
    Weathervane 03.22.2008 @ 15:51

    The time has come, the walrus said,
    to speak of many things.
    Of ships, and shoes, and sealing wax,
    of cabbages and kings.

  29.  
    Ben 04.08.2008 @ 13:21

    HI … i’m the belgian newbi :)

    for good french fries (reals are from begium) you need to prepare in two times: first at 160 °c (5 minutes) and finish at 180°c at your teast

  30.  
    John Kolbert 04.16.2008 @ 17:09

    Any chance of getting code tags to work? Try putting html inbetween the code tags. Nothing shows up

  31.  
    Mark 06.07.2008 @ 15:37

    `Twas brillig, and the slithy toves
    Did gyre and gimble in the wabe:
    All mimsy were the borogoves,
    And the mome raths outgrabe.

    “Beware the Jabberwock, my son!
    The jaws that bite, the claws that catch!
    Beware the Jubjub bird, and shun
    The frumious Bandersnatch!”

    He took his vorpal sword in hand:
    Long time the manxome foe he sought —
    So rested he by the Tumtum tree,
    And stood awhile in thought.

    And, as in uffish thought he stood,
    The Jabberwock, with eyes of flame,
    Came whiffling through the tulgey wood,
    And burbled as it came!

    One, two! One, two! And through and through
    The vorpal blade went snicker-snack!
    He left it dead, and with its head
    He went galumphing back.

    “And, has thou slain the Jabberwock?
    Come to my arms, my beamish boy!
    O frabjous day! Callooh! Callay!’
    He chortled in his joy.

    `Twas brillig, and the slithy toves
    Did gyre and gimble in the wabe;
    All mimsy were the borogoves,
    And the mome raths outgrabe.

  32.  
    Sleven 06.29.2008 @ 11:37

    嘿嘿,测试一下

  33.  
    Babe Pussy 07.01.2008 @ 07:59

    Thanks for this. Article who your writen was so important for me. Thanks again :)

  34.  
    pedro 07.02.2008 @ 14:26

    hi this is a test

  35.  
    me 07.08.2008 @ 17:39

    Loners are red
    gamers are blue
    if i go outside
    you have to come too

  36.  
    Bingo 07.09.2008 @ 15:21

    This looks like bingo to me – if it works as I expect that is.. ;-)

  37.  
    SEO 07.16.2008 @ 15:02

    WordPress is great for SEO nice blog. Regards.

  38.  
    cargo 08.05.2008 @ 08:13

    good..
    I love you wordpress..
    Ajax comment

  39.  
    WordPress Plugins 08.16.2008 @ 05:14

    Works perfectly! The only comments preview plugin to do so with my setup.

  40.  
    Minh Trung 09.03.2008 @ 10:39

    This perfect plugin for my wordpress blog

  41.  
    joe 09.20.2008 @ 05:52

    The Lord is my shepherd;
    I have all that I need.
    He lets me rest in green meadows;
    he leads me beside peaceful streams.
    He renews my strength.
    He guides me along right paths,
    bringing honor to his name.
    Even when I walk
    through the darkest valley,
    I will not be afraid,
    for you are close beside me.
    Your rod and your staff
    protect and comfort me.
    You prepare a feast for me
    in the presence of my enemies.
    You honor me by anointing my head with oil.
    My cup overflows with blessings.
    Surely your goodness and unfailing love will pursue me
    all the days of my life,
    and I will live in the house of the Lord forever.

  42.  
    Shirley 09.20.2008 @ 22:46

    Great plugin, and very easy to customize. Thanks.

  43.  
    Will Knot B. Revealed Snr. 10.17.2008 @ 11:52

    I wonder, does this work with WP 2.6x?

    Has anyone tested?

  44.  
    1Kind 10.18.2008 @ 22:31

    Tell me your favorite book/artist/music. Don’t suck; try to be creative.

    Neuromancer by William Gibson:
    He invented the word CyberSpace, and the book is great!
    You will be amazed.

  45.  
    Christoph 10.21.2008 @ 06:31

    Hello Michael!

    First off, thanks for your work ans this plugin!

    I’ve got a little problem. I’m using AJAX Comment Preview 1.2.1 with a german edition of wordpress 2.6.2, when i enter german umlauts, e.g.

    öäü

    inside a comment and use the preview, i see this

    öäü

    When i submit this comment, the umlauts look right again. So it’s only the preview which troubles me. In your blog everything is ok, the preview shows the umlauts correct. Do you know, what i have to do?

    Thanks
    Christoph

  46.  
    Jane 11.18.2008 @ 21:56

    Can someone help me out as to how I get the preview and the submit button on the same line?

  47.  
    Sohbet 11.28.2008 @ 02:50

    thanyk you .D

  48.  
    Disappointed 11.30.2008 @ 20:17

    ACP worked intermittently during testing, but now it won’t work at all with 2.6.5.

    Too bad, because it looked like a great plugin!

  49.  
    radyo bakur 12.03.2008 @ 08:11

    Can someone help me out as to how I get the preview and the submit button on the same line?—-
    ——————————————-
    You can get without password or user key under the writing…

  50.  
    jarofed 12.06.2008 @ 15:43

    It works on one of my blogs! It`s just perfect plugin!!!
    But on another blog it just do not work. I can`t see the button “preview” under the comment form. Can you help me with this little problem please!

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 s strike strong>

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