The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
Hi,
I'm trying to make a hack that will show threads of the subforums in the main forum or the parent forum. This will encourage ppl to post in the right subforum cause they know it will be shown in the crowded forum also I think the change should be done in forumdisplay.php in specific this part. Code:
$getthreadids=$DB_site->query("
SELECT ".iif($sortfield=="voteavg",$votequery,"")." thread.threadid
FROM thread
WHERE thread.forumid='$foruminfo[forumid]' AND thread.visible=1
$datecut $limitothers $ignoreusers
ORDER BY sticky DESC, $sortfield $sqlsortorder
LIMIT ".($limitlower-1).",$perpage
");
Code:
WHERE thread.forumid='$foruminfo[forumid]' Code:
WHERE thread.forumid='$foruminfo[forumid]' OR thread.forumid=((SUBFORUMS)) Thanks in advance. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Nobody?
|
|
#3
|
|||
|
|||
|
I would like an option to display subs in the main as well... Haven't had time to research it tho
|
|
#4
|
|||
|
|||
|
I think what should be done is something like this
Code:
$getforumids=$DB_site->query("
forumid FROM forum
WHERE parent='$foruminfo[forumid]' AND thread.visible=1
");
I really can't put this together,, if anyone can give us a hand ?
|
|
#5
|
|||
|
|||
|
Not even a hint?
|
|
#6
|
|||
|
|||
|
Ya, no one else cares I quess...
|
|
#7
|
|||
|
|||
|
Strange,, I showed most of what need to be changed,, we only need someone to tell us a small bit of information so I can proceed.
|
|
#8
|
|||
|
|||
|
There is still no one able to help in that?
|
|
#9
|
|||
|
|||
|
bump
|
|
#10
|
|||
|
|||
|
Personally I don't see the point in this.
Explain to me the benefits of having posts in multiple forums? All I can see is confusion. |
![]() |
|
|