comments

django comment system: How to make it more like YouTube's?

I like the comment box at the top with the posts going in reverse order. Comment rating, highest rated comments, all great features, remaining character count, spam flag. My question is, is there a open commenting system available for Django that already has these features? ...

Is it bad practice to leave commented-out code in production releases

I regularly see production code from developers (large companies and individuals) that contains code that has been commented out. Presumably this removes earlier attempts at achieving the functionality that didn't work for some reason. To my mind, this is messy, but potentially has some benefits e.g. on returning to refactor or extend...

XML Comment Viewer Add-in for Visual Studion 2010??

Wondering if anyone knows if the feature to allow add-in's for Visual Studio 2010 xml comment viewer was cut in the final release?? What I am talking about specifically is this: I took this image from this page on MSDN (http://msdn.microsoft.com/en-us/magazine/dd722812.aspx) I can't seem to find even one addin with this functionality,...

What the Comments Say About Your Website

What can you learn about a site from the volume and quality of its comments? In other words, what can you learn about your audience, the commenting interface, etc., by tracking comments? ...

Commenting systems: loading different comment threads through callbacks

I'm looking for a commenting system with a specific feature, and I wondered if anyone could advise. I want to be able to load different comment threads without reloading the entire page, via JavaScript callbacks. That means I need a commenting system that allows multiple comment threads to be associated with the same URL, with threads d...

wordpress plugin that can do syntax highlighting of java/scala/python etc code in comments

There are several wordpress syntax highlighting plugins available and they work fine for blog entries. But I want a plugin that works in the comments. I received a comment on my wordpress blog which has some scala code. This code is not highlighted and the indentation is messed up. I searched on google and couldn't find a plugin that wor...

Syndication format for describing threaded comments?

How to describe comments tree with Atom/RSS? ...

How can I enable anonymous comment in OSQA?

Hi all, I am wondering about how to enable anonymous posting their comments for a question in OSQA website, like stackoverflow.com does. If the OSQA does not support this feature yet, can you please give me a short brief on how can I implement a such feature like that. Thanks and best regards. ...

CSS - smarter code comments

Hi I read some time ago about a way to comment a css block in a such way that you only need to remove one end of the comment character set in case you want to uncomment the block later. But I can't remember how it was done :( Maybe someone here does know :) ...

Comments with timestamp and author?

When working in a large project with many authors it could be a nice feature if the IDE could record when and who is writing a ceratin comment. I would be enough if this information only was visible with a tooltip on the comment-text. Is there any add-on that could do this? Im working with C# in VS2010. Update: A quick solution could o...

Should method/class comments be consistently applied or on a need basis only?

For consistency, I've always applied comments (in the form of a JavaDoc) to all methods and classes, even if they are simple getters and setters methods or very small wrapper classes. But I'm also striving to write self-documenting code which often makes comments superfluous; i.e. write comments only where needed (and before doing that, ...

django form subclass for comments

hello im trying to subclass the CommentForm, and I'm not sure if I'm doing it correctly. I'm making those fields hidden, but they aren't rendering that way. from django.contrib.comments.forms import CommentForm from django import forms from django.utils.translation import ungettext, ugettext_lazy as _ class customCommentForm(CommentFor...

How should I order these "helpful" scores?

Under the user generated posts on my site, I have an Amazon-like rating system: Was this review helpful to you: Yes | No If there are votes, I display the results above that line like so: 5 of 8 people found this reply helpful. I would like to sort the posts based upon these rankings. If you were ranking from most helpful to ...

Where can I get more information on wordpress comments.php file?

I'm having some issues with my comments.php template file. I can't find any solution on the codex provided by wordpress, plus I've searched trough dozens of forums with no answers... my actual problem is that my comments wont appear when I click on the comments link inside the post. What exactly triggers them for each post and how can I...

Is there an XML tag in the C# comment syntax that allows for a section of text to be ignored by comment generators?

Does anyone know if there is an XML comment tag that allows one to hide text from a comment generator (specifically sandcastle)? For example, given the following: /// <summary> /// Returns the sum of two numbers. /// </summary> /// <hide>I do not want this text in any documentation generated by sandcastle.</hide> /// <param name="a">T...

Invisible CSS comments

I have recently begun the practice of using <%# Ruby on Rails comments %> in my html.erb files, as these do not display in the source code that is then viewable by a user. Is there a way of adding comments to .css files that keeps them private from the eyes of devilish onlookers? ...

Embeddable commenting systems comparison?

I need embeddable commenting system for web site where I can control posts. I want to delete posts I don't want to see and think that you can't do that if you use FB embeddable comments. There is DISQUS, FB comments and many more solutions. What do you think is best? For me controlling comments, deletion of unwanted ones and banning use...

Conditional Comment to run for all browsers except IE 8 and below

how can i write a conditional comment for scripts that should run for all browsers except IE 8 and below? i saw Conditional comment for 'Except IE8' ? but how do i adapt it to include scripts files not inline scripts? ...

PHP preg_replace to remove MS Office style html comments

Im looking for a way to remove MS Office style html comments, and everything in between. These are of the form: <!--[if gte mso 10]> blablabla blablabla <![endif]--> or <!--[if gte mso 9]> blablabla blablabla <![endif]--> The problem i'm encountering is that I do not want to remove ALL comments from the html. Only these MSO styl...

How to create standard comment blocks?

At my previous job they used a product called "Whole Tomato" (I think that's what it's called) and it allowed you save custom blocks of code. That way, if you wanted to use it over again, all you'd have to do is start typing what the code block would look like and then it'd give you a drop down option of available blocks. Well, is ther...