WordPress.org

Support

Support » Plugins and Hacks » Comment Preview for WordPress 1.2

Comment Preview for WordPress 1.2

Viewing 15 replies - 1 through 15 (of 19 total)
  • Very sweet! I think I’ll be trying that out later tonight.

    Download link not working for me.
    Thanks – looks great though!

    It’s working now. =)

    That’s awesome; I’ve been looking for this hack for so long!
    sweet. I might wait for the WP release so I can add it to it.
    thanks,

    very nice indeed.
    only ‘bug/suggestion’ so far: it allows you to use html tags that are not allowed in the final message like <h1>. These render in the preview so the writer might think it’s accepted. You might want to pass the preview though some html sanitizing?
    cheers.

    Laughinglizard
    Member

    @laughinglizard

    @thomasmaas: I see the issue…will fix it soon.
    Thanks for the heads up and the positive feedback, everyone.

    LaughingLizard, thank you! This is just what I was looking for.
    Question: Is it possible to include both a “post” and a “preview” button, so the user can choose if he/she wants to go through the extra preview step?

    Laughinglizard
    Member

    @laughinglizard

    @marky: sure, but that makes the original form a little more complicated.
    I will look into that when I get a chance.

    The original post should show on the preview. Also, if the mandatory fields are empty, it should pit out an error and the post and form, instead of giving out a blank preview.

    The hack is also incompatible with Chinese. Probably caused by htmlentities().

    I second Marky’s request.

    It just turned an apostrophe into a slash and an apostrophe. Any way to turn this off?

    A couple thoughts: I got the same as xrlq: extra slash shows on the preview when I typed an apostrophe, but it displayed fine after hitting ‘post’.
    Also, it does not show my background image on the preview page. Is this a CSS problem?

    another thing: i just noticed it does not show Alex’s WP Grins plug in now. 🙁

    I’ve done some hacks to improve the ‘texturizing’ of previewed comments, fix the problems with quotation marks in user names and URLs, and solve at least some of the layout problems, among other things. Here’s the updated source code:
    http://zone38.net/blog/wp-comment-review.phps
    Feel free to include the changes in your own distribution, LaughingLizard.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Comment Preview for WordPress 1.2’ is closed to new replies.