Paul
Mon 23rd Sep '02, 6:51pm
Another problem with postings.php:
When splitting a thread, the usernames of guests are not displayed. Only the usernames of registered users.
It appears $post[username] isn't grabbing all the names for some reason. I suppose this is insignificant as I can't think of an instance in which a moderator would want to split a thread with guests posting in it. :rolleyes:
Paul
Edit: While, I'm not sure, it appears the problem is within the query:
$posts=$DB_site->query("SELECT post.*,user.* FROM post LEFT JOIN user ON user.userid=post.userid WHERE post.threadid='$threadid' ORDER BY dateline");
It looks like that's only grabbing usernames that are in the user table.
When splitting a thread, the usernames of guests are not displayed. Only the usernames of registered users.
It appears $post[username] isn't grabbing all the names for some reason. I suppose this is insignificant as I can't think of an instance in which a moderator would want to split a thread with guests posting in it. :rolleyes:
Paul
Edit: While, I'm not sure, it appears the problem is within the query:
$posts=$DB_site->query("SELECT post.*,user.* FROM post LEFT JOIN user ON user.userid=post.userid WHERE post.threadid='$threadid' ORDER BY dateline");
It looks like that's only grabbing usernames that are in the user table.