The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#13
|
|||
|
|||
![]()
oops. This is returning only one item
$pollist = $DB_site->query("SELECT thread.threadid AS thread_id,thread.title AS thread_title,thread.pollid AS thread_pollid,poll.pollid AS poll_pollid, poll.active AS poll_active,poll.dateline AS poll_dateline,poll.public AS poll_public,user.userid,user.username FROM " . TABLE_PREFIX . "thread AS thread, " . TABLE_PREFIX . "poll AS poll, " . TABLE_PREFIX . "user AS user LEFT JOIN " . TABLE_PREFIX . "deletionlog AS dlog_t ON (dlog_t.primaryid = thread.threadid AND dlog_t.type = 'thread') LEFT JOIN " . TABLE_PREFIX . "deletionlog AS dlog_p ON (dlog_p.primaryid = poll.pollid AND dlog_p.type = 'poll') WHERE thread.pollid = poll.pollid AND poll.active = '1' AND dlog_t.primaryid IS NULL AND dlog_p.primaryid IS NULL ORDER BY poll.dateline ASC LIMIT 10"); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|