Quote:
Originally posted by Stallion
rangersfan: I don't have guest posting enabled on my forum,
so I wasn't aware of that problem. I'll look more into the
way vB handles non-registered posts and see if I can come
up with an update.
|
Actually this is more of a SQL syntax thing, you need to do
a left outer join between the post and user table, this way
all posts (within the criteria of course) will be returned
even when there is no user record available (as for guests).
Something like:
Code:
SELECT <fields> FROM post LEFT JOIN user ON (user.userid = post.userid) WHERE post.threadid=$threadid AND visible=1 ORDER BY dateline $postorder LIMIT $limitlower,$perpage
This is untested, but something along this line should work.
-Chris
[edit for readability]
[Edited by Chris Schreiber on 08-29-2000 at 10:32 AM]