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:
- Version 2.0 — Released on Jan. 2nd, 2006
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. 😉
- Version 1.11 — Released on Nov. 4th, 2005
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. 🙂
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]sweet indeed, thanks viper 🙂
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. 😉
Dude, this rocks. And it was so easy to implement too. I’ve now added this to the bag of tricks that my new template will be able to do.
-tg
Testing testing.. Looks nice, thanks pal =)
Pingback: 8 Seconden » Quote Comment
Pingback: tylerwillis.com - Hurricane Wilma eats tylerwillis.com
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.
This doesn’t work?
if (function_exists('quote_comment')) {
');quote_comment('
}
I’d think it would.
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 . "";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. 🙂
Fix released. Sorry about that. 🙂
That’s it.. Awesome. 🙂
Thanks for tackling this and updating your spectacular plugin.
No problem. Thanks for pointing out the problem! 🙂
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.
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.
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.
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?
Pingback: Ensellitis.com » Blog Archive » Another new feature
nice idea, thanks!
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:
and if you have “WordPress should correct invalidly nested XHTML automatically” enabled in the WordPress admin area, WordPress will turn the comment into this:
So, if that option is enabled, any blockquotes that are inside the comment that’s being quoted get replaced with this:
[blockquote removed]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…
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.
Yeah, the only thing I changed is $text.
It only seems to do it if you try to quote a comment that already has a quote in it…
Well there’s the problem right there probably. You didn’t say you went and modified the source of the plugin… 😐
Redownload the plugin and don’t modify it’s code this time. The plugin is setup to handle inputs on it own. 😉 You’ll want to use this in your theme:
Nope, still not working…
I dunno what to tell ‘ya then. You either have another plugin that’s interfereing or your PHP version doesn’t like
str_replace()or something. Sorry. 🙁Oh well, from time to time, things just don’t work. 🙂 Thanks for the plugin, though… I will play around with it, and if I get it to work, I will let you know.
This is a test
A new version of this is in the works to try and fix the above bug among other things.
That would be great! Thanks for letting me know, I will keep my ear to the ground.
testing ur quote?
probando
Testing 1
testing 2
If anyone has any ideas for the next version of this plugin, please reply to this thread in the WordPress support forums.
Pingback: Blogging Pro China » WordPress Plugin: Quote Comments
Pingback: 平淡是真 » 本站美化的pool这个模版æÂÂÂÂ供下载
Testing new version of my plugin on my live blog. 🙂
Tease. 😀
Feel free to grab the release canidate yourself. 🙂
http://wordpress.org/support/topic/51324
Seems to be working nicely. No live-preview of it though, but I think that’d require some remote-js (ehm, ajax).
I’m thinking about adding this to my site – just testing out the quote feature.
Yeah, I wouldn’t even know where to begin on that. 🙁
Just testing
mmm, 😐 is borked :s
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. 😉
Just testing comment quote.