Only display comments from registered users
-
Hi there,
I got a question, I’m working on a system where it bridge up with phpBB and everything is working just fine, well almost.
I got a nasty bug that I can’t fix (and it may never be) and I have discovered that it caused by people who got a user_id of 0 in the wp_comments table.
The way that I was going to work around this is to
add AND >= '1'
to the sql statement that produce the comments.My problem is, I’m not sure how I can go about hooking into it without having to hack the core.
Does anyone have any ideas on how I can add the extra sql needed?
Thank-you ??
PS, this is going into a wordpress theme but I feel that it belong here as it hacking the core and this sort of thing is really done via plugins.
- The topic ‘Only display comments from registered users’ is closed to new replies.