WordPress.org

Forums

[NEW!] Quote Comment (16 posts)

  1. Alex Mills (Viper007Bond)
    Moderator
    Posted 10 years ago #

    With one click, you can now quote a previously posted comment in your own comment that you are composing.

    Plugin details and working example here:

    http://www.viper007bond.com/wordpress-plugins/quote-comment/

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    Already installed - very nice indeed. thanks !

  3. Phunky
    Member
    Posted 10 years ago #

    Nice, this shall be added to EuroCSS.NET straight away!

    Any chance one using its functionality in my Forum Plugin?

  4. Alex Mills (Viper007Bond)
    Moderator
    Posted 10 years ago #

    Go for it. :)

    [edit] Oh, and you may want to add something like this so that your quote link doesn't show up for unregistered users (i.e. those who can comment):

    get_currentuserinfo();

    if (function_exists('quote_comment') && $userdata->user_login) {
    // the quote comment function here
    }

    [/edit]

  5. Phunky
    Member
    Posted 10 years ago #

    yeah i actualy already looked at putting that in place anyway as i only allow ppl to comment if registered

  6. Alex Mills (Viper007Bond)
    Moderator
    Posted 10 years ago #

    Grr, just realized WP doesn't like blockquotes inside of blockquotes and when it fixes it, it screws up quoting a quote.

    I'll work on having it strip out all blockquotes or something in the comment being quoted.

  7. Alex Mills (Viper007Bond)
    Moderator
    Posted 10 years ago #

    Seems it's a known issue: http://trac.wordpress.org/ticket/1170

    I'll look into removing blockquotes from within quoted comments, but meanwhile, just go to Options -> Writing in your admin area and uncheck "WordPress should correct invalidly nested XHTML automatically", that is assuming you are comfortable being able to remember to close your HTML tags. ;)

  8. TechGnome
    Moderator
    Posted 10 years ago #

    Gaargh! That is so cool, I'll be including the hooks for it in my next template......... and just when I thought I was close to being done too....

    -tg

  9. Alex Mills (Viper007Bond)
    Moderator
    Posted 10 years ago #

    Haha! :)

  10. Alex Mills (Viper007Bond)
    Moderator
    Posted 10 years ago #

    Okay, I've coded up a version where all <blockquote> tags are stripped from the quoted comment's contents if "WordPress should correct invalidly nested XHTML automatically" is enabled. Hopefully the above mentioned bug will be fixed in version 1.6. :)

    I'll release the new version of my plugin soon. :)

  11. Alex Mills (Viper007Bond)
    Moderator
    Posted 10 years ago #

  12. Alex Mills (Viper007Bond)
    Moderator
    Posted 10 years ago #

    Complete recode from scratch. Much MUCH better now. :)

    http://www.viper007bond.com/archives/2006/01/02/quote-comment-v20-released/

  13. jurchix
    Member
    Posted 9 years ago #

    sorry, but i can't open this link - http://www.viper007bond.com/wordpress-plugins/quote-comment/

    please fix it!

  14. Truth
    Member
    Posted 9 years ago #

    erm, I click on the URL given above and apparently I was a spambot? and deny access to the site..

    Got a

    Precondition Failed

    We're sorry, but we could not fulfill your request for /wordpress-plugins/quote-comment/ on this server. The anti-spam bot script on this server thinks you are bad.

    We have established rules for access to this server, and any person or robot that violates these rules will be unable to access this site.

    ??? Anyway for me to view the site?

  15. moshu
    Member
    Posted 9 years ago #

    jurchix and Truth,
    Can't you see the new link for the new release just above your posts?
    (that's what happens when ppl don't read the whole thread ;)

  16. Truth
    Member
    Posted 9 years ago #

    moshu: I did saw it, I click on the new link and got the "Precondition Failed" message.

Topic Closed

This topic has been closed to new replies.

About this Topic