hi there,
I'm woring with the Sitewide Recent Comments i found here.
Works perfectly except for the user_id of a comment. It simply doesn't get saved to the MySQL table.
I have no idea why, but could it be this:
$comment_post_ID = $comment['comment_post_ID'];
$comment_author = $comment['comment_author'];
$comment_author_email = $comment['comment_author_email'];
$comment_author_url = $comment['comment_author_url'];
$comment_author_IP = $comment['comment_author_IP'];
$comment_date = $comment['comment_date'];
$comment_date_gmt = $comment['comment_date_gmt'];
$comment_content = $comment['comment_content'];
$comment_approved = $comment['comment_approved'];
$comment_type = $comment['comment_type'];
$comment_parent = $comment['comment_parent'];
$user_id =$comment->user_id;
maybe the last line should be
$user_id =$comment['user_id'];
ANY IDEAS?
If i look inside the table the user_id is always "0" even though i'm writing comments as an author.
So there must be any bug!