The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
All Topic / Master Forums - View Threads from Multiple Forums in a Master Forums Details »» | ||||||||||||||||||||||||||||
All Topic / Master Forums - View Threads from Multiple Forums in a Master Forums
Developer Last Online: Aug 2023
This a complete and total upgrade to version 2.0!
This mod is now an importable product, there are no more manual file edits. In addition this mod will be able to auto edit your templates if you run the standard threadbit template, otherwise there are instructions in the zip file for manual template edits if needed. What does this mod do? - Basically this is only the most awesomest mod ever for vBulletin. You can now view threads from other forums in "Master Forums" you designate. For example on my site "Off Topic" is my "Master Forum" and virtually all other forums are assigned to the Master Forum offering user's the ability to browse 1 forum while seeing threads from many others. New in version 2.0: You can now have multiple master forums. See the screen shots for an example. All instructions are included in the zip file. As pointed out by phpdesk you must have at least 1 thread in your master forum for this to work. I have tested this on VB 3.8.6 and am sure it will work on all 3.8 versions. I also strongly believe it will work as far back as VB 3.6 but can't test it myself. This will not work for vBulletin 4.0, do not try to install it. The VB4 Version is here. If you used the old version revert your forumdisplay.php file back to it's original condition before installing. Please Mark as Installed if you use this. You can mostly ignore all posts in this thread up to post #28. Old posts are not longer relevant to this new version. (Note: post #7 is still relevant if you have only 1 master forum.) Upgrade to Version 2.1 (March 3, 2011) Fixes a bug where the master forum wouldn't display as many pages as there were posts. Download Now
Screenshots
Show Your Support
|
Comments |
#12
|
||||
|
||||
well anything is possible but to do what you ask would mean adding an additional field to the thread table specifying if the thread had ever been moved, then the query to list threads would have to be updated to reflect on threads from the main forum or threads from other forums where "hasbeenmoved" = 1 or such... plus we'd need to edit the move command to set that flag- maybe other changes too- so yes it's possible but I doubt I could program such a mod let alone make it easy to install.
I am looking into making this an installable product, if I figure it out I will update this with an install file option but from what I've read so far performance will be best the way I have it now, as a direct file edit. |
#13
|
|||
|
|||
Thanks for releasing this! Awesome job.
|
#14
|
|||
|
|||
I'm trying to get this working with 3.8.5 and all I'm getting is a white screen on forumdisplay. I tried disabling all other mods and switching themes with no luck. I've done the edits several times to make sure I had no typos as well. I used only the required edits in the first post. As far as I can tell the relevant code to be replaced is the same as in your guide. Any ideas?
|
#15
|
||||
|
||||
I upgraded to 3.8.5 last night and still working great after I redid the edits... sending you a PM that might help with the edits... If that still doesn't work please let me know what mods you are using and will see what I can do...
Also if you have a link to your forum I can see if anything looks like it may interfere. |
#16
|
|||
|
|||
Thanks to you I got it cleared up. Much appreciated.
|
#17
|
||||
|
||||
I was asked in another thread if this could be adopted to have multiple 'master forums' and yes it can, I shied away from sharing this because I didn't want to make it too daunting looking for most users who only need 1 master forum.
To have multiple master forums simply add an "elseif" statement below the if { } code and above the else { } code... for example in the first edit add to the middle: PHP Code:
PHP Code:
You can add as many elseif { } statements as you need for various master forums, and you can even have secondary forums be shared between multiple master forums so forumid '10' for example can be a secondary forum of master forum 2 and 7, there is no problem doing this. Once you make this elseif{} addition for the first edit you need to make similar edits for the second (optional) and third (required) edits. Just copy the entire 'if' statement for each starting with "if" and ending with "}" then copy and paste it below the if statement, change it from "if" to "elseif" and set the forum id numbers as needed. It sounds more complicated then it is but can get messy quick if you have a lot of master forums... on the plus side conditionals are very efficient as coding goes and there should be no noticeable decrease in performance no matter how many you realistically have. |
#18
|
|||
|
|||
Great idea,
I did those steps correctly, but it didn't work for me (vb 3.8.2) Do I must write my forum Ids manually? If so, it's a bad way (hard code) and it's better to use a recursive function to retrieve hierarchical data automatically. temporary uninstalled... I think it must be as default feature in vb |
#19
|
||||
|
||||
Yes you must write the forum ID's manually... I have this working down on 3.7 so I'm 99.9% sure it should work on 3.8.2 with the correct code edits. I am familiar with recursive functions but honestly don't see how it would apply here. I debated making the forum id's a declaration in only 1 place but I thought the code was neater this way, obviously if you know what you're doing you could do it either way, the crux of this code is merely the placement of the "If" statements and the WHERE clause.
|
#20
|
|||
|
|||
Quote:
in fact no need to use recursive function; while there are 2 handy fields in this table that simplify the work: 1- childlist: stores list of all childs 2- parentlist: stores list of all parents |
#21
|
||||
|
||||
I can confirm this still works in 3.8.6 with the same changes.
If you are updating to 3.8.6 from 3.8.5 you can keep using your 3.8.5 file provided you make the following small change: Find the two instances of: PHP Code:
PHP Code:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|