Noscope is a bi-weekly journal serving up snacksized portions of pointless stuff since 2001. On a new linode server!
I also do freelance design and usability via dejligt.com

Quote Comments Plugin For WordPress [Updated June 2010]

    13:04 on December 19, 2008 , ,

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.

272 Comments

Pings

  1. » Plugins automatisch aktualisieren : testen : WP Kommentarfeed (comments feed) quote-comments-pluginmiradlo bloggt
  2. Quote Comments Plugin für WordPress - WP Plugin Archive
  3. Validieren : Kommentarfeeds : Pluginverhalten : WordPress  »miradlo bloggt
  4. Plugins vertragen sich nicht: Link Indication und Quote Comments WordPress 2.7  »miradlo bloggt
  5. Perfekte Testerin oder Ute, Horror für alle Entwickler  miradlo bloggt
  6. WordPress Plugin Releases for 02/20 | Weblog Tools Collection
  7. WordPress Plugin Releases for 02/20 | Wordpress Blog NL
  8. WordPress Plugin Releases for 02/20 | MBConsulting.se
  9. WordPress中的Quote插件 | Jinwen Say
  10. 分享我的WordPress插件列表 | Jinwen Say
  11. Eklenti.Net > Wordpress Eklentileri » Quote Comments
  12. 小晒一下我的WordPress家当 | 「桜」@豊富の町
  13. Wordpress Yorumlara Alıntı Yapma Eklentisi | Html , Html Kodları , Html Tasarım , Html Destek
  14. 评论回复和 email 通知测试 « 宇世界·流变
  15. Sackura » 晒一下我的WordPress家当
  16. Sackura » Blog Archive » 晒一下我的WordPress家当
  17. 40 Wordpress Plugins To Improve Comment Section | DesignBeep

Comments

  1. Kai Fuchs (subscribed) says:

    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

  2. Joen says:

    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.

  3. Kai Fuchs (subscribed) says:

    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

  4. Kai Fuchs (subscribed) says:

    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?ThanksKai

    if someone quotes more than one time in one comment = if someone quotes more than two times in one comment

  5. Joen says:

    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.

Leave a Reply

Have something to say? Jump right in!

(required)
(required)