We noticed on our boards where we have tons of guests posting that when you reply the guests posts do not show up in the thread review..
After peeking around the newreply code within the action=newreply, It looks like this is the code that gets done for the thread review..
[code]$posts=$DB_site->query("SELECT user.username,post.pagetext,post.allowsmilie FROM post,user WHERE post.visible=1 AND post.threadid=$threadid AND user.userid=post.userid ORDER BY dateline DESC");
if ($DB_site->num_rows($posts)>$maxposts) {
eval("\$threadreviewbits = \"".gettemplate("threadreview")."\";");
} else {
while ($post=$DB_site->fetch_array($posts)) {
$username=$post[username];
$reviewmessage=bbcodeparse($post[pagetext],$forumid,$post[allowsmilie]);
eval("\$threadreviewbits .= \"".gettemplate("threadreviewbit")."\";");
}
}[/code]
That seems to tell me that guests posts are ignored since the user table is used for pulling posts username.. Maybe I am miss reading this I dont know..
Is this a bug or maybe a feature?
Herb
After peeking around the newreply code within the action=newreply, It looks like this is the code that gets done for the thread review..
[code]$posts=$DB_site->query("SELECT user.username,post.pagetext,post.allowsmilie FROM post,user WHERE post.visible=1 AND post.threadid=$threadid AND user.userid=post.userid ORDER BY dateline DESC");
if ($DB_site->num_rows($posts)>$maxposts) {
eval("\$threadreviewbits = \"".gettemplate("threadreview")."\";");
} else {
while ($post=$DB_site->fetch_array($posts)) {
$username=$post[username];
$reviewmessage=bbcodeparse($post[pagetext],$forumid,$post[allowsmilie]);
eval("\$threadreviewbits .= \"".gettemplate("threadreviewbit")."\";");
}
}[/code]
That seems to tell me that guests posts are ignored since the user table is used for pulling posts username.. Maybe I am miss reading this I dont know..
Is this a bug or maybe a feature?
Herb
Comment