Show all subforum threads in main forum for vB3.7.x (no extra queries)
1 Attachment(s)
Was looking for such hack but couldn't find one for 3.7.x, so I made my own, I hope this will save some time for the next guy.
Edit forumdisplay.php find (3 of them): PHP Code:
PHP Code:
Note: Remember to set the main forum to allow posting new threads, otherwise you won't see the thread list in forumdisplay. If you don't want to allow posting of new threads in the main forum, but still want to display all the subforum threads, then make this additional change, beware that this quick method applies to all forums: Edit forumdisplay.php (you only need this IF you have set the main forum to not allow posting new threads) Find: PHP Code:
PHP Code:
|
Would appreciate a screenshot or demo :)
|
yup...screeny, please
|
yup screens please
|
Demo please.
|
Demo please.
|
Screenshot?
|
oh my god.... @@"
i need demo :| |
screenshot?
|
screens please?
|
o_O ive never seen so many requests for screenshots and demos before lol, i think he gets the point. lol
Anyway, I'll check back when you do have that demo or screenshot up ^^ |
wow... okok!!! screenshots added to main post
it is a fresh installation left pic is before-hack, right pic is after-hack in the after-hack pic, the threads you see in the main forum are from the subforums, the main forum has no threads by itself. |
oh my god...
i love it :x Thanks |
Love This! :d
|
woooooooooow hoku
|
this is a great mod - would this work for 3.6.8?
|
Can this be done for specific forums or is it site wide.
|
Oh yes! Very was needed!!!
|
Now does this do this for ALL forums or is there a way we can specify only certain ones?
|
I need to know that as well.
Would be very useful for a certain section of my site. |
1st: yes it would be good to specify by forum
2nd Code:
WHERE forumid = $foruminfo[forumid] |
Is there anyway to get this to work on a per forum basis? I want to allow all the subforum posts to show but I dont want the main forum being posted to directly. I can't use it on global level though. Thanks in advance - this is something I wanted for a very long time.
|
i no i need this but only for a few forums and definately not all of them.
|
Did someone here already install this mod and mind to share a link as a demo ?
Cheers |
This this would work w/3.6.8??? ?=x
|
I did install it but un-installed it as it is not forum specific. If it was it would be a great mod
|
Could come in quite handy. :)
|
Very handy.
Does nobody want to have another go. |
I actually did find a way to use this on my forum and just for a specific category. Thanks.
|
if (1 == 1) could be if(1) i believe
|
does work with 3.6.8
|
i believe to be forum specific you would have to do this
WHERE forumid IN ($foruminfo[forumid]," . implode(',',$foruminfo['childlist']) . ") change that to WHERE forumid IN (x, y, z) where x y and z are forumIds. dont quote me on this....just try it. if not...then its probably a problem w/the sql. |
Not sure I understand this... Why have subforums, then? Couldn't something similar be achieved without subforums, requiring prefixes in the forum that are choice "subforum 1" "subforum 2" and "subforum 3"?
|
-edit- it's working ;)
|
Quote:
As for prefixes, it might just be me but I hate how vB handles them. The original prefix hacks from previous versions of vB were much better. |
If someone can get this working for only certain forums, it would be 'the balls' :D
But, does as it says, so it's cool with me :) |
I have a forum with a large number of images in different categories - i use this so that members can click a link that says new images and this pulls the list of images from all categories.
|
pnosko31, can you show an example of what you're referring to. Sounds interesting.
|
nice thanks
|
This is great- any ideas on how it might be adapted to work on other forums within the same site, not subforums... example if I have the following top level forums:
-Off Topic -Health -Cars -Poker -Home Improvement As is people usually post topics only in "Off Topic" and I move them to the appropriate forum... it would be great if even after being moved the thread would continue to be viewable in Off Topic but the thread is physically located for lack of a better term in a different forum, and posts/replies to the thread from either forum get added to the original thread. |
All times are GMT. The time now is 06:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|