The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]()
I don't think this has the same meaning as what I suggested in my first post, but here it is with LEFT JOINs and still not working (database error):
Code:
SELECT thread.*, post.*, IF(thread.pollid = poll.pollid, 'poll.*', '') FROM " . TABLE_PREFIX . "thread AS thread LEFT JOIN " . TABLE_PREFIX . "post AS post ON (post.postid = thread.firstpostid) IF(thread.pollid = poll.pollid, 'LEFT JOIN " . TABLE_PREFIX . "poll AS poll ON (poll.pollid = thread.pollid)', '') WHERE thread.forumid = " . $forumid . " |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|