Quote Comments Plugin For WordPress [Updated June 2010]
This plugin adds a tiny link that says “Quote” on each comment on your posts. Click it, and the contents of the comment is copied to the comment area, wrapped in blockquote tags.
This plugin is now active on this website, so you can test just below in the comment area (provided that there are comments, of course).
Download
Download the plugin from WordPress.org
Donate
If you like this plugin, feel free to buy me a beer:
Languages
The plugin is fully translatable using the built in WordPress system for that (involves “PO” files). It’s currently available in:
- English
- Danish
- German
Features
- Quote Comments is compatible with MCEComments.
- In the options page, you can type in your own title for the quote link.
- There’s an option to choose to insert the quote link after the comment text (compatible with the most themes) or right next to the comment timestamp (remember to check HTML validation, some funky stuff is being done here).
How To Replace The “Quote” Text With An Icon
Add this CSS to your stylesheet:
a.comment_quote_link {
margin: 0;
height: 0;
display: block;
overflow: hidden;
width: 12px;
height: 12px;
text-indent: -9999px;
background: url(images/icon_quote_comment.gif) no-repeat right top;
}
How To Move The “Quote” Text To The Top Right Corner Of The Comment
In addition to the above CSS, add the following to your stylesheet:
.commentlist li {
position: relative;
}
a.comment_quote_link {
position: absolute;
right: 20px;
top: 20px;
z-index: 1;
}
Updates
- October 2009, v. 1.9.1: Fixed a problem with the quote link not appearing on some setups. You can now pick the plugin hook in an options page.
- November 2009, v. 1.9.3: Added a feature that makes the commentform jump to the comment whose quote button you pushed. Also fixed a problem where the quotelink would be quoted when using get_comment_text for insertion.
- December 2009, v. 1.9.4: Microscopic bump, no new features. Changed default plugin hook to “get_comment_text” because “get_comment_time” caused a lot of people trouble. You can still pick get_comment_time in the options page.
- March 2010, v.1.9.8: Tiny bugfix for when you’re quoting names that contain apostrophes.
- Late March 2010, v. 2.0: Buncha fixes. Mostly to the comment author issue that 1.9.8 tried and failed to fix.
- New feature: Reply. It’s a simple link that takes you to the commentform, and copies the name of the comment on which you clicked “reply”. This is disabled by default, and is best used by people who don’t like the threaded comments of WordPress.
- Comment Live Preview For Wordpress
- Quote Comments Plugin For WordPress [Updated June 2010]
- Subscribed Commenters Plugin for Wordpress [Update]
- It's A Threaded Comment Nightmare (Of The Good Kind)
Hi Joen, I have a problem. I hope you can help me. I’m using WP 3.1-alpha and Quote comments 2.1.1. My blog has about 1000 comments per day and your plug-in is really useful, thanks. But since we updated your software we need to approve some of the comments that use the plug-in. Is really weird. That only happen for a bunch of people. The other ones can use it without a problem.
I made a print screen to visualize what I’m talking about.
http://img828.imageshack.us/img828/5308/quotecomment.jpg
You can see that when people don’t use the plug-in, we don’t need to approve the comment. If they use it, we need to approve some of them. What can I do to fix it?
Thanks for your help.
Kai
Kai Fuchs,
Interesting. I can only imagine this being due to the fact that quotes include a full link to the comment that is quoted. WordPress can be configured to moderate comments that contain links.
I suppose one solution would be for you to tweak your discussion settings to allow a few links.
Let me know if that helps.
Joen,
Yeah, you are right. It was a problem between the plug-in and the anti-span system (that don’t allow more than 2 links in one comment). I changed the settings to 3 links per comment and now it is fine. Unfortunately that doesn’t solve the problem. We still need to approve it if someone quotes more than one time in one comment. Do you have some advice to fix it?
Thanks
Kai
if someone quotes more than one time in one comment = if someone quotes more than two times in one comment
Kai Fuchs,
Have you noticed whether the links that cause problem are the new “Reply” links? Or whether it’s both “Reply” links an full “Quote” links? I noticed I forgot to add a rel=”nofollow” to reply links. Maybe if I add that, things’ll be fixed.
If both quote and reply links are involved, then the only solution for you is to remove the links altogether. Which I could theoretically make into an option in the plugin, but which I’d prefer not to.