![]() |
Display subforum threads in parent forumdisplay thread list
I would like subforum threads to be displayed along with the main forum's threads in forumdisplay. Is there any setting that could accomplish this? I have tried searching for a mod that can do this but could only find one for vb 3.6.8 here https://vborg.vbsupport.ru/showthread.php?t=158760
|
|
Quote:
|
Create a plugin as follows:
Product: vBulletin Hook Location : forumdisplay_query Title: Display subforum threads in parent forumdisplay thread list Execution order: 5 Plugin PHP Code : PHP Code:
|
Quote:
|
I tested it on my local dev site first and it works perfectly...the only thing I would try adding is to put this line of code above the existing code:
PHP Code:
|
|
Quote:
What version of vB are you running? |
Oh no no haha :p. It was activated, but I set it to inactive after it broke the site. I took the screen shot after I had already tried it and then deactivated it. I have vb 4.2.
|
Do you have any other plugins hooked at that same location?
|
Quote:
|
I have published a more general purpose product based on your request, and I have cited you as a co-author/supporter:
Show Subforum Threads This is more complete, and gets the correct thread count and threadids, and modifies different queries than the plugin I posted above. Please give this a try and let me know if it works for you, and if so, if you would like any additional features. :) |
Quote:
The only thing I found wrong was that the child forum icon displays next to all threads including those posted in the parent forum. |
1 Attachment(s)
Quote:
If it is, then I will update the published product. |
Quote:
|
Quote:
I've updated the published product. ;) |
Hello,
I installed this plugin but it doesn't expand the threads at all. If I select the option to hide sub forums though, it does hide them as intended. I'm using vBulletin 4.2.2. Regards, Visual |
All times are GMT. The time now is 02:22 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|