Floris
26th September 2007, 05:04 AM
Style title: See all threads of subforums in a main forum
Style author:
Released: Tue, 25 Sep 2007 20:34:36 GMT
open forumdisplay.php
find
---
$stickies = $db->query_read_slave("
SELECT thread.threadid, lastpost, open
FROM " . TABLE_PREFIX . "thread AS thread
WHERE forumid = $foruminfo[forumid]
AND sticky = 1
$visiblethreads
$limitothers
$globalignore
");
---
replace
---
$getparent_id = '';
$getparentid = $db->query_read("SELECT * FROM " . TA ........
For the full text, visit vBulletin.org (http://www.vbulletin.org)
Read More! (http://www.vbulletin.org/forum/showthread.php?t=158760&goto=newpost) (licensed customers only) :D
Style author:
Released: Tue, 25 Sep 2007 20:34:36 GMT
open forumdisplay.php
find
---
$stickies = $db->query_read_slave("
SELECT thread.threadid, lastpost, open
FROM " . TABLE_PREFIX . "thread AS thread
WHERE forumid = $foruminfo[forumid]
AND sticky = 1
$visiblethreads
$limitothers
$globalignore
");
---
replace
---
$getparent_id = '';
$getparentid = $db->query_read("SELECT * FROM " . TA ........
For the full text, visit vBulletin.org (http://www.vbulletin.org)
Read More! (http://www.vbulletin.org/forum/showthread.php?t=158760&goto=newpost) (licensed customers only) :D