comments

Customize WordPress comment post query

Hello! I am trying to extend the functionality of the comments in a WordPress install. I read allusion to an elusive 'custom comment type' functionality, but could not find any information. Instead, I was thinking that I would add a custom column ' to the 'comments' database table. That's the easy part. What I have no clue how to do is t...

How it will be if we can use PDO with CodeIgniter?

PDO for SQLite3 is done already. Have you got any way to use PDO with CodeIgniter for other Databases? How did Codeigniter skip PDO for other databese-servers, I dont get it. Expect you may know better and can pick us up. EDITED: Any tricks/way to build our own PDO class is highly appreciable. ...

Generate XML documentation comments for /// in Visual Studio 2010 C++

I need comment my function prototype (written in C/C++) with summary, returns, param tags. How can I persuade Visual Studio to insert xml tags after three forward slashes like in C#? I found one solution. When I rename xx.h xx.cs in C++ project, I can use /// for generating xml comments (IntelliSense in xml comments works too). There mus...

Query for new replies on a comment table?

I have a standard comment_id/comment_parent_id setup on my mysql comments table (with a created timestamp). My question is what is the least process intensive query to get all NEW replies on a user's comment? Just like with the commenting systems that use a checkbox to email replies to your comment? Do you cookie a timestamp for last ...

What happens if a program runs also its comments??!!

It seams very weird to me.I cant really understand whats happening. I had a false on my code,decided to put a part of it on /*...*/ BUT when i run the program... this part of code is also executed!!! EDIT: well this is the code i put in comments as you can see: /*int menu() { int code; while (1) { // printf("\nGive code:"); // s...