This project is read-only.

Separate comments and pingbacks

Topics: Themes
Nov 5, 2010 at 4:53 PM

How can I separate the pingbacks from the list of comments? For example, the new main BlogEngine website has a plus/minus button to expand/collapse the comments and another for pingbacks. See here:

Is there an extension for this or instructions on how I can add something like this?

Nov 5, 2010 at 7:05 PM

I think, but could be wrong, that was probably done with some custom code.  Here's a slightly older post on achieving that:

Nov 5, 2010 at 8:33 PM

I have something like this on my blog with instructions on how to install it... I'm not sure if this is what you're looking for, but it kind of sounds like it.

The rating system isn't working properly (haven't really had the time or will to fix it), but the separation of different comment types works just fine.

Nov 5, 2010 at 10:17 PM

If you go to this link ( and scroll down to the Comments section and Pingbacks. The pingbacks are separated from the comments. The Comments has a plus/minus sign to show and hide the comments. Same for pingbacks.

Does anyone have instructions on how to add this?

BlogEngine, can you share how this was done?

Nov 5, 2010 at 10:34 PM

bianchi:  Have you looked at either of the links we posted (me and fstanek) ?

Both of those links provide instructions on how to separate the pingbacks/trackbacks from the regular comments.  It's done a bit differently than the Plus sign, but both still separate them into separate groups.

Nov 5, 2010 at 10:40 PM

Yeah I looked at yours. It is just about what I'm looking for. I'd like to know how to apply the expand/collapse (+/-) button too like BlogEngine's website has. This is a really nice ui feature.

fstanek's approach is not what I need. Thanks for sharing. May look into this more later on.

Nov 6, 2010 at 4:23 AM

The site uses very much same code as we have in latest builds. If you don't want to upgrade to latest, you can just look at "User controls/CommentView.ascx" to see how it was done. It is mostly in the code behind. I suspect you'll be ok just by coping this control to 1.6.x, but not 100% sure.

Nov 6, 2010 at 5:14 AM

Is there any reason trackbacks and pingbacks aren't their own classes, versus being properties on the Comment class?

Nov 6, 2010 at 6:10 AM

FYI - I am using the latest version 1.6.1. But the comments and pingbacks are all listed together.

All I want to do is make it look and work like how shows comments and pingbacks.

Nov 6, 2010 at 6:39 AM

bianchi, I'm talking latest source code, not release. You'd need to go to "source code" tab on top of this page and then "browse" to look at latest.

Nov 8, 2010 at 5:39 PM

Thanks rtur! This got me on the right track. The source code within the source code tab is more for the newest version of blogengine (I'm guessing it's using the newer .net framework). But I was able to pull out pieces from it along with pieces from Janko's post and make it work for the standard 1.6.1 release that I have. I have it at least working in my development. Later today I'll publish it to my live blog that has both comments and pingbacks.

If anyone else is interested in applying this to your 1.6.1 release let me know and I'll send you my code for CommentView.ascx and CommentView.ascx.cs.

Again, thank you so much for your help.