comments

How to Customize my comment registration in WordPress

Hey guys, I was wondering if name in the leave comment template can be separated to allow for first name and last name as opposed to just name? Did I explain myself right? if so can someone point me to an example. I would like to do this without having to install a module. Thanks guys, Matt ...

Drupal 6 module for adding CCK-like fields to comments?

I'm needing to allow users of a site to add structured comments to nodes. Are there any stable modules out there for Drupal 6 that will enable me to do this? I'm thinking along the lines of being able to add CCK-like fields to the comment type. In an ideal situation the administrator would be able to alter/change the questions being aske...

Why are Nested Comments forbidden?

Why are nested comments forbidden in C++, Java inspite of the fact that nested comments are useful, neat, and elegant and can be used to comment out statements that have comments? ...

in HAML, how to write comments in :javascript region so that comments not shown to the public?

in HAML, we can write comments using -# some comment and it won't become HTML and made public but if it is inside :javascript -# comments like this line will break the javascript interpreter as it becomes javascript code // so we are forced to use comment like this and is publicly viewable is there a way to make it non-public?...

Alternatives to commented out code for historical purposes

Does anyone have a valid alternative for using commented out code checked into the repository for findability reasons? The reason I ask is because I had a discussion with a fellow developer recently on checking in code that is commented out. My stance is that commented out code should never be checked into our VCS since it is not techn...

Documentation style: how do you differentiate variable names from the rest of the text within a comment?

Hi, This is a quite superfluous and uninteresting question, I'm afraid, but I always wonder about this. When you're commenting code with inline comments (as opposed to comments that will appear in the generated documentation) and the name of a variable appears in the comment, how do you differentiate it from normal text? E.g.: // Try t...

Is there a way to install IntenseDebate on localhost?

Hi guys, I've been searching for a while now for a solution to install IntenseDebate on my local machine. From what I've seen, there doesn't seem to be anything around that would help me do that. Anyone has had any success installing IntenseDebate on their localhost? Thanks folks, LP ...

how to comment in Windows command line?

In Bash, # is used to comment the following. I was wondering in Windows command line, how to make a comment? Thanks and regards! ...

Telerik RadEditor add comments while being in Preview mode

Telerik's RadEditor is used for our content management system's WYSIWYG editor. We need to find a way to display content for review. User should be able to add comments and NOT be able to change the text itself. Currently, RadEditor has a Preview mode, and i am looking on how to add commenting functionality through context menu or button...

How do I code a comment box on my blog?

Obviously, I am a novice web designer. I'm using php and sql to do all the under-the-hood stuff, but I want a visually appealing as well as functional comment system. Right now I am just using HTML forms but they don't look very good. Should I be using javascript? Any tips to get me started? ...

Display username to logged in user only?

I have a Wordpress blog set up to display comments as "Anonymous User" by hard coding it into the comments.php file. I would like to have it say the user's Username next to their comment and ONLY display that Username to THEM. In other words, if they're a guest, they'll see "Anonymous User" and if they're a registered/logged in DIFFERE...

Wordpress comments - perform simple math?

I have a Wordpress website in which one of the categories I've stripped the comments field down to basic whole numbers only. The logged in user can enter data on the post via the "comments" field, in basic simple whole numbers. Is there any way to take the MOST RECENT comment on all posts from that category (cat 1) and run basic math? ...

Can comments in HTML and CSS ever create rendering problems?

Is it possible for HTML and/or CSS comments to cause rendering problems? HTML Comment : <!-- some info --> CSS : /* some info */ ...

Looking for a script to convert multiline "block" comments in C/C++ to single line comments.

A simple find/replace will not work for code commented out like this: ex: /* templine1 templine2 templine3 */ Got any ideas? ...

Should JavaDoc comments be added to the implementation

Is it correct practice to add Javadoc comments in Interface and add non Javadoc comments in the implementation? Most IDEs generate non JavaDoc comments for implementations when you auto generate comments. Shouldn't the concrete method have the description? ...

Is it better to comment out unneeded code or delete it?

Possible Duplicate: Do you leave historical code commented out in classes that you update? For web applications under maintenance, assuming you have source control, when you need to remove part of the UI and the associated code, do you delete the code and check in, or do you comment out the old code? Arguments in favor of del...

Javadocs without HTML

Robert C. Martin's book Clean Code contains the following: HTML in source code comments is an abomination [...] If comments are going to be extracted by some tool (like Javadoc) to appear in a Web page, then it should be responsibility of that tool, and not the programmer, to adorn the comments with appropriate HTML. I kind of agre...

Sort articles by most commented using disqus

Hi there, I'm using disqus for my MODx blog commenting system, but couldn't find anywhere a way to sort my articles based on the most commented one, or the most recent comments. I see that there are already many questions similar to this so any help will be much appreciated us. ...

How to pass on a large codebase?

I am a university student and I have been working on the same software project for the past two years. It is not a class project; it is sponsored by an outside organization, and it has been my part time job during the school year and my full time job during the summer. I have to complete everything by the end of the summer, and the fun...

Links in Visual Studio Comments?

When investigating effective methods of documenting our VB .NET project, by experimentation I discovered that I can make a comment like 'See the file at file://path_to_file and I can then ctrl-click on this link to bring up the file in a new tab. Is this feature and perhaps other capabilities of Visual Studio comments documented anyw...