WP Comment Remix
May 28, 2008
WP Comment Remix adds a plethora of new options and features to Wordpress. From Reply and Quote links for commenters, to a full upgrade to the edit comments pages in the admin panel, WPCR will save you time and effort when running your blog.
Requirements:
Wordpress: 2.5+
mySQL: 5+ (Maybe 4.1.1+? - not tested yet)
Current Version: 1.4
Download: Download WP Comment Remix Here (From the WP Extend SVN)
Wordpress Compatibility: Tested on 2.5.x
Plugin Competition:
I entered this plugin in the Weblog Tools Collection Plugin Competition. If you like it, please vote for it here!
History:
Not much to say here, I was reading the archives at Lorelle on Wordpress, and came across her post, titled: Wanted: Wordpress Plugins For Me - I read through the post, and what she was looking for, and thought “She’s right - the WP comment system could use an upgrade”
And thus, WP Comment Remix was born
Features/Benefits:
WP Comment Remix adds a plethora of new options and features to Wordpress. These include:
For the readers
WP Comment Remix adds a number of great features that you can turn on or off, but they include:
Reply Link
You can add a Reply link to each comment, which, when clicked, adds “@OriginalPoster”, and links it to the anchor of that comment. For instance, if Steve left comment #23, and you click the reply link for that comment, WP Comment Remix automatically adds:
<a href=”#comment-23″>@Steve</a> -
to the reply box.
Quote Link
Clicking the Quote link has a similar action to the Reply link, but it adds the entire comment in a blockquote tag, including “<a href=”#comment-23″>Originally posted by Steve</a>”
Comment Ordering
You can choose how you want to order the comments for your readers - By Author name or Date, and Ascending or Descending
Separate or Remove Trackbacks
You can choose to separate the Trackbacks from the comments and move them to the bottom of the list, or remove them completely
Comment Tags
Comment tags allow your readers (and you) to find comments more easily, instead of having to read through potentially hundreds of comments in a single post to find something specific
In the admin area
WP Comment Remix also adds some awesome admin functionality for comments.
New ‘In Need Of Reply’ notifier
WPCR adds a button, similar to the “Awaiting Moderation” button that shows up on the right hand side of the Comments menu link. The new button tells you how many comments are in need of a reply, and when clicked, takes you to a list of those comments
New Links In Comment Admin Area
WPCR adds new links to each comment display: Edit, Reply, Quote, and Mark Replied
- Edit does exactly that: sends you to the edit comment page.
- Reply and Quote function much like the Reply and Quote links in the public comment area, except instead of sending you to the post page to enter your comment, WPCR simply pops up an ajax reply box where you can make your reply, then save it - all without leaving the page
- Mark Replied tells WPCR that you’re not going to reply to that comment. This makes it easy to hide comments in the “In need of reply” list if you’re not going to reply to them
Added AJAX functionality on the Manage Posts page
Now you can click on the comments image on the Manage Posts page and the comments for that post will drop down in the same window, so you can edit them right there!
Widgets
WP Comment Remix also adds 4 powerful new widgets. All of the widgets enable you to set a display template, and use similar tokens to control that template.
Recent Comments Remix
The recent comments remix widget allows you to control the look and feel of the display of recent comments. Also included is the ability to add gravatars to each recent comment displayed
Recent Trackbacks Remix
We pulled the trackbacks from the recent comments control, and put them into their own widget, so you can effectively feature both on your sidebar.
Most Active Discussions
This widget displays the most active discussions (posts with the highest comment counts) so you can wear your most popular posts like a badge of honor
Most Active Commenters
Looking for a way to honor frequent commenters? Look no further. The most active commenters widget allows you to display your blog’s top commenters proudly, as well as give them some love by linking their name to their site
Tokens
Each of the widgets is template-enabled, which means you can easily tell the widget how you want things displayed. You simply enter HTML, with one or more of the tokens below in it:
Tokens available for Recent Comments and Recent Trackbacks
- %ct - Comment title
- %cd - Comment date
- %cid - Comment ID
- %g - Gravatar
- %pt - Post title
- %pu - Post url (the permalink)
- %au - Author url
- %an - Author name
Tokens available for Most Active Discussions
- %pd - Post date
- %pt - Post title
- %pu - Post url (the permalink)
- %c - Count
Tokens available for Most Active Commenters
- %g - Gravatar
- %au - Author url
- %an - Author name
- %c - Count
Template Examples:
You use the tokens in place of data in the widget templates. For example, if you typed
<a href=’%au’>%an</a> - %c Comments
into the Most Active Commenters widget template field, it would display something like this for each commenter:
<a href=’http://pressography.com’>Jason DeVelvis</a> - 10 Comments
Installation Instructions:
- Upload
- Activate
- Go to Settings > Comment Remix and choose which features you want
Then you’re done!
Video Walkthrough
(My apologies for the poor video quality, I didn’t realize viddler would eat the video like that… I’ll get a better version up soon)
Credits
A big thank you goes to Ozh, who wrote the Absolute Comments plugin
I used some of the ideas (and a bit of code) from that plugin for the edit-comments page links & ajax reply capabilities. Make sure you check out Ozh’s site for some phenominal WP plugins!
The filterCommentsNumber, stripTrackbacks and stripComments functions in the Trackback sorter code are from Ronald Huereca’s Managing Trackbacks and Pingbacks in Your WordPress Theme post on WeblogToolsCollection.com
Known Bugs:
None
Plugin Competition:
I entered this plugin in the Weblog Tools Collection Plugin Competition. If you like it, please vote for it here!
Because this plugin/widget is provided free of charge, I simply ask you to link back to Pressography.com in a post on your blog, or from one of your sites. It doesn't need to be anything fancy - just a note saying that you're using it, and whether or not you like it. However, there is no requirement that you do this, you're free to use the plugin regardless.


hi
this plugin information is really and its help to its usage.
thanks
Preetam Purbia
Same problem here. Nothing happens after I click SAVE.
I am having the same problem!
Could it be related to a theme, because the only thing I changed recently is my theme?
Darn, I guess I’m going to have to decide which plugin to use. MCE comments or WP Comment Remix. Can’t have the best of both worlds
Any word on if/when this will happen?
Unfortunately I could not find the source of this problem.
I tried what Eddy De Clercq suggested, but add_action(’admin_menu’ was already there.
Jason, any chance to fix this problem?
Thanks,
Eddie
Hi,
First let me say thanks for the great plugin. It’s very useful to me.
However, I too have the problem that when I reply to a comment and hit “save reply” nothing happens.
Only “post reply… be patient” appears and disappears. No error.
It might be interfering with another plugin because I do not have this error on my local WP-Installation.
But which one?
Eddie
@Jason - Where would I be looking for said errors? All I see are blank pages. Also, the code I linked to earlier only shows up when this plugin is enabled, FWIW.
@Josh Budde - In the Settings page (Settings > Comment Remix) you can uncheck the Reply box, and only the Quote link will show
@Eddy De Clercq - Hmmm, I have no idea why admin_head doesn’t work, but admin_menu does - I’ll look into it. I’m glad you have your copy working, though!
How would I go about only using the quote feature?
Found a workaround with http://konstruktors.com/blog/wordpress/277-fixing-postpost-and-ozh-absolute-comments-plugins/
It seems that WP comment remix and Absolute Comments have problems with other plugins when they use add_action(’admin_head’,….
When you replace it with add_action(’admin_menu’,…. everything works fine.
admin_head looks rather legit to me so I don’t see why the comment plugins have troubles with it. Any ideas/suggestions?
Eddy
Found the problem thanks to Ozh’s comment plugin. That had also that problem but showed where the issue is in an error screen. It was a plugin that seemed to reffer to a file that not existed.
I would suggest that you include also the error screen feature in your plugin.
Eddy
@Jason - I think that I can pinpoint the problem to the Ajax functionality in the reply functionality. Nothing happens when you click on save, not even errors. Everything else works.
Any suggestions on what/where to look for to find the problem?
@Eddy De Clercq - There is no delete/uninstall script, but the only DB stuff this does is add options. No tables are added or modified
Any plugin that modifies the admin area could be the collision point. Or, any plugin that throws javascript on every admin area page could be it, too.
I search for a while after a plugin like those..
Great Plugin - Thanks!
Great Plugin - Thanks!
It occurs to me that the AJAX functionality is giving the problems. Is there btw a complete uninstall script (db delete, etc) in order to see if that helps?
@Jason -
Sorry for the late reply. I was on holiday. Any suggestion on which plugins might cause a problem? If I need to test all the combinations of the plugins I’ve installed…
@Beeex Happy Team - Hmmm, I can’t recreate the problem on 2.6, any chance you can get into your error log and find out what the error was? I’m thinking there’s a collision with another plugin that you’re using or something.
@Ok0 - Yeah, I’m aware of that problem, but can’t reproduce it… Are you getting any errors associated with the blank pages?
@The Tim - That source looks like Wordpress generated code, with some internationalization stuff, as well as google gears stuff. Is there anything else that could be causing the problem? Any errors or anything?
I’m getting blank admin pages as well, with WordPress 2.6. I dumped a suspicious-looking portion of the generated source, which you can find at the link I put in this comment.
Also, blog posts did not return blank, but the reply and quote links didn’t do anything, either. Similar-looking strange stuff was in the source of those pages.
Hi,
The plugin does not work with wp-admin! The wp-admin appears blank pages.
I am using WP 2.5.1
Sorry for my english,
bye!
Jason, we like your plugin a lot and featured it on Beeex.net, right here:
http://beeex.net/web-development/wordpress/plugins/10-excellent-promising-wordpress-plugins-some-brand-new
But we are getting an internal server error (500) every time we attempt to save a post, with this plugin acticated. We are keeping it in the post and added a little note about the WP versions you tested it with (2.5x).
We are running WP 2.6 - have you heard of any such issue yet?
Thanks!
@Phil Barron - Yeah, it’s because changing the comments box to a tinyMCE box changes it’s name, so the Reply/Quote function can’t find it to insert the text…
As of this point, there is no fix.
@Eddy De Clercq - Strange - I tested it on 2.6 and it worked fine for me. Can you try disabling other plugins one at a time to see if there’s a conflict with one of them?
@Saad Ibrahim - How big is your screen resolution? The ignore button moves down when the browser doesn’t have a wide enough area to display it properly
these is a bug see the screenshot;
http://i35.tinypic.com/33e7psz.png
I am using wp comment mix plugin it is wonderful
Sounds promising, but version 1.4.3 isn’t working alongside MCE Comments; Reply - Quote does not function while the other plugin is active. Any chance of a fix?
@Jason - WP 2.6
This is a great plug-in, exactly what I was after. Thanks a lot!
@Eddy De Clercq - What WP version?
@Jason -
Just installed the new version and when I want to post a reply to an existent comment from the admin part of my site, the save reply doesn’t do anything. This time it doesn’t even give JS errors. I tried several browsers.
Replying in the end user side does work.
Just found out what the problem was. It was conflicting with the Social Bookmarks Plug-in.
http://www.dountsis.com/projects/social-bookmarks
I also notice that socialspark.com loads when I click. Maybe it’s the tracking script from socialspark.com?
I just updated to Wordpress v 2.6 and now when I go to click on the Reply or Quote links, nothing happens.
It was working fine before the update.
Any ideas?
Using Firefox 3.0
@Jason - Yep, whatever you did seems to have fixed the problem. Thanks Jason.
@Jeffro2pt0 - When the SVN updates to 1.4.3, update your copy of WPCR. I fixed the collision, and the fix should work for any similar plugins, too
Hey Jason, it’s me again. I’m running 2.6 but the same issue was present in 2.5.1. I’ve discovered that WP Comment Remix has some sort of conflict with the Batch Categories plugin http://robm.me.uk/projects/plugins/wordpress/batch-categories when I try to access the Batch Categories plugin, the interface for the plugin is replaced by some sort of REPLY to comment box from WP Comment Remix. It’s weird and the only way to get access to Batch Categories is to disable WP Comment Remix.
I will put an example : “To jest w?a?nie przyk?ad jak wygl?da cytowany tek?cik”
My language is polish and quoted comments with polish characters don’t appear correctly. (Something like this: Ï?Ï?Ï?θεÏ?η αÏ?Ï?ή μοÏ? θÏ?μίζει αÏ?Ï?ήν Ï?οÏ? )
Any idea how/when to fix this?
Thanks in advance for help
Cheers
i keep scrolling through my plugin list to find one that might do that but i got nothing. at some point today i’ll deactivate them and check anyway….
@Eddy De Clercq - I’ll take a look at it, Eddy. I’m out of own until tomorrow, so it’ll be after that.
@Mark Eckenrode - Do you have any other plugins that change URLs to links? That was the problem before: Wordpress was trying to auto-link the URL in javascript, and it was killing the JS.
hey jason,
i’ve updated to the latest version of remix but am still getting an error on comments where the reply/quote section is messed up if the commenter ends with a link.
check out this comment to see what i mean:
http://www.homestomper.com/?p=110/#comment-129
Well, it works nice but there is always the problem with special characters.
@Jason -
Hi,
Sorry for the late reply. I took a day off with the family. I installed 1.4.2 and I now get
Error: _gat is not defined
Source File: http://wordpress.org/extend/plugins/wp-comment-remix/
Line: 16
in FF3. Didn’t try any other browsers.
Btw, a nice addition would be that one could get e-mail subscription for comments like this.
Eddy
@Jeremy - Hi Jeremy, it sounds like the CSS in your theme is adding border-bottom to your li tags. The widgets use typical styling rules for Wordpress - are you getting lines under every widget?
@Chris Osborne - Good thought, Chris, I’ll look into adding that to a future version
@Eddy De Clercq -
Eric, I uploaded a fix, and hopefully it’ll update in the SVN soon - when 1.4.2 is available in your plugins area, upgrade and see if that takes care of it. If not, let me know
Hi,
I just installed 1.4.1 and when I want to reply to an existent comment, I get this JS error when I want to submit:
Error: xml.match(/(.*)/) is null
Source File: http://mydomain/wp-content/plugins/wp-comment-remix/commentlinks.js
Line: 105
and the script stops without submitting the comment.
What is causing this problem?
Eddy
@Jason - Alright, I got bored and started looking through the widget code. Since I’m the only registered user by design, just changing the admin ID to 2 seems to work.
Something that I would suggest though is having a list of users to ignore comments from rather than ignoring comments from the admin. A blog might want to ignore comments from all of its authors.
Same problem with french characters (à, é and so on…)
The new version works very well for me; thanks.
One question; is there a guide to styling the elements in the widget. for example, I have horizontal lines between my recent commenters, whereas you don’t have them here.
But the CSS in the plugin seems to be all about the Admin pages.
Thanks
Comment ID anchor works a treat. Thanks!
@Greek - I’m not entirely sure, as I don’t often deal with international characters like that. I’ll look into it for you, though, because I’m sure there are many others who need the same thing!
My language is greek and quoted comments with greek characters don’t appear correctly. (Something like this: Ï?Ï?Ï?θεÏ?η αÏ?Ï?ή μοÏ? θÏ?μίζει αÏ?Ï?ήν Ï?οÏ? )
Any idea how to fix this?
testing….
@Chris Osborne - I’d wait, re-creating yourself as #1 would require quite a bit of DB work, since you’d also have to change all of the user IDs for comments and posts you made
That’s probably it since I’m #2. Would you recommend that I wait for the plugin to have a fix or recreate #1 and move myself over there?
Thanks. It’ll have to wait now, but I do appreciate your swift responses.
WooHoo!!! Works perfectly for me again
Thanks Jason you rock!
@Jeremy -
Whoops - sorry about that, there was a glitch with the K2 fix. It’s fixed in 1.4.1 (I just committed it to SVN)
I thought I’d try again, and this time my problem is different. On the design page, I don’t see any of the widgets that I expected to. Doesn’t seem to matter what Theme I am using.
After finally getting my flash image uploader to work, so I could reproduce the problem with WPCR, I figured out what the problem was, and I can upload with the flash uploader with WPCR turned on!
I also fixed some other things:
- Image Uploader bug (Woo hoo!)
- XHTML compliance
- The problem with K2 and blank admin pages should be fixed (if you’re still having this problem, let me know!)
- Comment ID anchor for recent comments widget - Now you can use %cid to retrieve the comment ID, so this will give you the link to the specific comment:
<a href=”%pu#comment-%cid”>%pt</a>
Stuff that’s not fixed:
@Chris Osborne - Have you changed your admin profile lately? Or is your admin user not the initial user? Either of those things may be the culprit. I’m working on a fix that won’t require the admin user to be ID 1, but for now, that might be the problem.
This plugin won’t work with the TinyMCE Comments plugin, because the JS required by WPCR needs to access the text box with the name “Comment”, but the Tiny MCE Editor changes it, which is what renders the Reply/Quote functionality inoperable when you have Tiny MCE running. I’ll see about adding a fix, or Tiny MCE functionality altogether, but this is low on the priority list…
Current version: 1.4
I was listen to wordpress weekly this week and discovered that I was having the same issue as others with the plugin breaking my image uploader. If you need to ask anyone questions I will be happy to help. email me at matt [at] promptcs.com
Mantap plugin wordpressnyo bro. Keren nian.
@April Reign - Nice, thanks. Glad I came back to look. um, a subscribe to comments would be nice here too *wink
Also, something else that I just noticed. I don’t have the box checked to show admin comments in the recent comments or most active commenters widgets, but my stuff shows up anyway.
I’ve also check the box, saved, and unchecked it. Still I’m showing up.
This isn’t a deal breaker for me, but I’d rather not show up on the top commenters section.
I was liking this plugin, but it was disabling the media add functionality in the edit post window. That is something I use quite often to get image URLs, so it won out in the end. WP Comment Remix is currently disabled
Another thing was that MCE comments (Allowing simple Tiny MCE functionality) would not play nice with this plugin. I’d love to have the functionality of this AND the ability for people to style their comments a bit.
I think this would be a great idea. I think that’s the only thing missing from this plugin. I know it’s possible because I’ve seen other plugins that do it. But they’re not as pretty as yours.
@Rob - Former Fat Guy -
I have both working. Same MysSql version
@Rob - Former Fat Guy -
I mean SQL v 4.1.22
Anyone know if this is compatible with “subscribe to comments” and has anyone got it working on php v4.1.22 yet?
Hi Everyone,
I’m still trying to sort out some of these bugs - it’s really hard when I can’t reproduce them.
If anyone is getting an error notification, please copy/paste it here!
That will help a lot.
Here are some of the issues I’m working on right now:
Image uploader problem
XHTML compliance
Comment ID anchor for recent comments widget
Collision with K2
Blank admin pages
I’ll keep you updated as to how things are progressing. Thanks for all your comments!
@Rob -
The quote link is in an a tag with class=”quote”, and there is a <div class=”comment-remix-meta”> tag wrapping both the reply and quote links, so you should be able to style it using
.comment-remix-meta .quote
Yep, I’d would like to respectfully request the same thing. Being able to have my comment quotes stand out from my post quotes would be a benefit.
hello
i love this plugin but…when I activate the plugin, my wp-admin become empty. I dunno why…please please HELP ME!
Thank you soo much in advance.
I’m having a similar problem after upgrading to 2.6, but I’ve decided to deactivate when I need to upload. Still if there is a fix ‘twould be easier
Thanks for very nice plugin. It was one of my favourite but on upgrading to Wordpress 2.5.1 i lost my flash image uploader and to find out the cause by deactivating plugin, i found out that WP-Comment Remix plugin was causing trouble and had to deactivate it permanently.
Hopefully you will be able to fix the proble.
Thanks
I love the idea of this plug-in. Great job!
However, activating it generates many validation errors in the page. Do you have plans to make the generated code standards-compliant?
I’ll second the call for a comment url link - that would raise this up to the level of near perfection!
Also, i’d love to see a class added for the “quote this” text insertion, one for the link, one for the quoted text. That way we can modify the CSS styling of those elements on a per-theme basis, without having to hack away at the plugin itself.
Thank you for your effort on this plugin. This is very, very useful!
Recent Comments
Are there plans to implement a token for comment_id? e.g. %cn
I would like to be able to use something like
%an on <a href=”%pu#comments-%cn“>%pt
in the Recent Comments template to produce a link that would allow the visitor navigate directly to a particular comment. e.g.
… url.com/2008/06/22/a-post/#comment-12345
Otherwise, this is an excellent plugin. Well done!
I have found that your plugin is incompatible with K2 if you have widget support disabled against K2 embedded sidebar manager.
Very odd indeed. I deactivated all plugins, then activated WPCR, and everything was fine. I then reactivated all my plugins one at a time, and everything stayed fine.
So I now have exactly the same set up as I had when I first tried to activate WPCR, except that the various Admin pages DO display.
I have no idea what, if anything, this means, but I am happy to have got it working and just wanted to let you know.
@Jason - No, there are no errors shown. When I upload an image through the media manager, I don’t see the bar which says crunching and I never get to the point where I can actually configure the way the image is displayed. Perhaps I should try using the no flash uploader plugin combined with your plugin and see if everything works then.
@Jason - Thanks. Alas, big problems installing WPCR. After activating the plug-in, all WP Admin pages are blank. I’m off to investigate.
Jeremy
@Jeremy - Interesting thought, I’ll look into it
@Jeffro2pt0 & everyone else with the image upload p