Quote Comment

Note:

Both versions of this plugin have their issues and so a version 3 is planned. I’m not sure exactly what it’ll do, but it’ll encorporate the best of both versions hopefully (editable quotes, options page, dynamic byline creation, etc.). Stay tuned.

Check out this cool plugin. It’s pretty much exactly like what the next version of my plugin was going to be like and thankfully someone else got to it first (yay, less work for me!).

As a result, I will no longer be developing this plugin and I suggest that you use that plugin instead of mine. 🙂

And yes, you can run both my plugin and that plugin at the same time. Just remove the function for this plugin from your theme and replace it with the new one. This way my dynamic replacements will keep working.

Description:

This plugin allows commenters to quote other comments in their reply. It is highly cofigurable, all via an admin area options page. The formatting of past quotes can also now be changed as the quote replacements, as of plugin version 2.0, are replaced at the time of diplay rather than the time of quoting.

Try it out below.

Installation / Configuration Instructions:

See included readme. Instructions and such have been moved to there. 😉

Download Latest:

Past Versions:

Don’t like the way the newest version works? You can get the old version of the plugin that inserts the comment right into the reply box (rather than a placeholder) here. Note though that the v1.x series is dead and I doubt I’ll do anything more than minimal support for it. 😉

Plugin Support / Feature Request Forum:

http://www.viper007bond.com/wordpress-plugins/forums/viewforum.php?id=18

Donate

If you enjoy this plugin, please consider sending a few bucks my way. I’ve spent a lotta time on this plugin and all donated money will be put towards paying off my college loans and such. 🙂

226 thoughts on “Quote Comment

  1. Ozh on October 4th, 2005 at 3:21 AM said:

    Viper007Bond on October 4th, 2005 at 1:25 AM said:

    Use this comment to test on. Just click “Quote” to the lower-right.

    Ah, nice one. I’ve meant to do this for a long time. Cool plugin.

    Glad you like it. 🙂

    [edit] D’oh, seems WordPress doesn’t like a

    within a

    and attempts to fix it by moving the to before where the 2nd one starts. I’ll have to look into perhaps getting my plugin to ignore all blockquotes in the the comment being quoted or something… [/edit]

  2. Version 1.1 released. It fixes the issue with nested blockquotes issue wehn you have “WordPress should correct invalidly nested XHTML automatically” enabled plus a few code simplifications and such.

    No need to update unless you have that enabled on your blog though as otherwise there’s no noticable difference. 😉

  3. Ozh on October 4th, 2005 at 3:21 AM said:

    Viper007Bond on October 4th, 2005 at 1:25 AM said:

    Use this comment to test on. Just click “Quote” to the lower-right.

    Ah, nice one. I’ve meant to do this for a long time. Cool plugin.

    Ozh on October 4th, 2005 at 3:21 AM said:

    Viper007Bond on October 4th, 2005 at 1:25 AM said:

    Use this comment to test on. Just click “Quote” to the lower-right.

    Ah, nice one. I’ve meant to do this for a long time. Cool plugin.

    Testing testing.. Looks nice, thanks pal =)

  4. Pingback: 8 Seconden » Quote Comment

  5. Pingback: tylerwillis.com - Hurricane Wilma eats tylerwillis.com

  6. Great plugin and very useful.

    One question. Instead of displaying text, what would need to be changed to display an image?

    I tried replacing the line that says $text=’Quote’ with the img src line, and it just displays that text instead of the image.

  7. I had tried that before, and it just displays that as text.

    I did get it to work, but its probably not a correct solution.

    What I ended up doing was

    Changed this line to remove Quote from the $text=’Quote’ part

    function quote_comment($text = '', $aftername = ' said', $displaywhen = TRUE, $beforedate = ' on ', $beforetime = ' at ', $commentformanchor = 'commentform', $commentareaid = 'comment')

    And then this to get the image to display.

    echo "' . $byline . ':\n\n' . $commentcontent), ENT_QUOTES) . '</blockquote>\n\n\'">' . $text . "";

  8. Problem confirmed and fixed. It was doing that because I stupidly made my script replace quotes and such in the entered strings so that invalid code wouldn’t happen. It didn’t occur to me that people might want to enter HTML into the function’s values. Anyway, I’ll have a release out in a few minutes. 🙂

  9. One more problem that I noticed with a site I write at using the Quote Comment plugin.

    When someone quotes a comment, it shows up like this.

    Todd on Tuesday, November 8, 2005 at November 8, 2005 – 02:50 PM said:

    Instead of Todd on Tuesday, November 8, 2005 at 02:50 PM said:

    This is how I call the plugin.


    '); } ?>

    Thanks again.

  10. Okay.. I did a quick test. On that site, in the line that uses get_comment_time, I changed it to comment_time and it displayed the text November 8, 2005 7:38 –

    On another site using the same plugin, it works properly. I guess its something in the theme? The incorrect site is hosted at the same hosting company the properly working site is at. Both sites use wordpress 1.5.2

    I will have to look into the site more.

  11. The plugin should pull what date and time formats to use from your WordPress admin area options. “Default date format” and “Default time format” on the main options page.

    For the first site, your time value has date output in it. Change it to just a time format and it’ll work properly.

  12. Pingback: Ensellitis.com » Blog Archive » Another new feature

  13. Ensellitis on November 13th, 2005 at 9:48 PM said:

    I am having a problem with quoting something that has been quoted before, it just doesn’t show up in the textarea.

    Here is the page I am testing it on.

    Any ideas?

    Seems you have my plugin currently disabled, but I’m pretty sure I know what you’re talking about. Scroll to the top of this page and read “Known Issue”.

    Basically, if you have this:

    This is a cool quote:

    Quote!!!

    and if you have “WordPress should correct invalidly nested XHTML automatically” enabled in the WordPress admin area, WordPress will turn the comment into this:

    This is a cool quote:

    Quote!!!

    So, if that option is enabled, any blockquotes that are inside the comment that’s being quoted get replaced with this:

    [blockquote removed]

  14. Sorry about that… I got frustrated. I just activated it again, so check out that last link I posted, and try to quote that last comment there that already has a quote in it. I found that if there is text not inside of a blockquote, it just plain refuses to quote it. I have had the correct XHTML turned off since day one, so I don’t think that is the problem, I have ben playing around with it for most of the day with no luck…

  15. For some reason, line breaks in the Javascript contents of your “Quote This” links are not being replaced with “\n”. Have you modified the plugin at all? ‘Cause it should do it automatically, as it does here.

  16. Pingback: Blogging Pro China » WordPress Plugin: Quote Comments

  17. Pingback: 平淡是真 » 本站美化的pool这个模版提供下载

  18. Looking at the source of your previous comment, you didn’t have the code to quote a comment there, i.e something like this:

    That’s why it didn’t work. You gotta tell my blog you wanna quote a comment. 😉

Comments are closed.