Comments/Ratings for a Single Item
I enabled this script to work with Kibbitz comments yesterday. I also noticed that the kibbitzinc.php script was not appearing in the footer, which led to no one posting Kibbitz comments for a long time. So, I fixed that. After posting this, I will try to update it immediately.
And now to update it with a new line.
I enabled this script to work with Kibbitz comments yesterday. I also noticed that the kibbitzinc.php script was no appearing in the footer, which led to no one posting Kibbitz comments for a long time. So, I fixed that. After posting this, I will try to update it immediately.
I have switched the script back to using INSERT and UPDATE. I wanted to make sure that the replace_row() function would work properly, and it does. Semantically, INSERT and UPDATE make more sense, especially given that the script uses them under different conditions anyway. You don't have to be signed in to INSERT a new comment, but you do have to be signed in to UPDATE a previously posted comment. The replace_row() function is useful in code that may be used for either inserting or updating a row.
I have switched the script back to using INSERT and UPDATE. I wanted to make sure that the replace_row() function would work properly, and it does. Semantically, INSERT and UPDATE make more sense, especially given that the script uses them under different conditions anyway. You don't have to be signed in to INSERT a new comment, but you do have to be signed in to UPDATE a previously posted comment. The replace_row() function is useful in code that may be used for either inserting or updating a row.
Modified with new paragraph.
I have switched the script back to using INSERT and UPDATE. I wanted to make sure that the replace_row() function would work properly, and it does. Semantically, INSERT and UPDATE make more sense, especially given that the script uses them under different conditions anyway. You don't have to be signed in to INSERT a new comment, but you do have to be signed in to UPDATE a previously posted comment. The replace_row() function is useful in code that may be used for either inserting or updating a row.
Insertion of new subject comment using REPLACE instead of INSERT. Updating.
Update of test comment, using REPLACE instead of UPDATE. This time for real.
I am running a test of a new script for editing comments. It is a single script that will handle comments on pages and subjects. It is intended to replace createcomment.php, previewcomment.php, addcomment.php, createsubject.php, previewsubject.php, addsubject.php, usereditcomment.php, userpreviewcomment.php, and usermodifycomment.php.
I have written a new function for database-funcs.php called insert_row(). This script uses it to insert new comments.
As a test, I am updating it with this third paragraph.
9 comments displayed
Permalink to the exact comments currently displayed.

I enabled this script to work with Kibbitz comments yesterday. I also noticed that the kibbitzinc.php script was not appearing in the footer, which led to no one posting Kibbitz comments for a long time. So, I fixed that. After posting this, I will try to update it immediately.
And now to update it with a new line.
Attempting again.