The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
All Topic - Master Forums - Shows threads from multiple forums in one forum Details »» | |||||||||||||||||||||||||||||||||
All Topic - Master Forums - Shows threads from multiple forums in one forum
Developer Last Online: Aug 2023
This a complete and total upgrade to version 2.0!
New Version: 2.2 NOTE: VB 4.2.0(and over) Users DO NOT do the Manual File Edit on forumdisplay.php in the directions. 1 manual file edit is required to fix a bug where the thread count may be wrong in the master forum. Details in instructions in zip file. You can now specify an * to denote "all forums" when creating a master forum. See instructions for details. 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. New in 2.2: Show or hide sticky threads from slave forums on the master forum. 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 4.0.8 and am sure it will work on all 4.0/4.1 versions to date. There is a separate version for VB 3.x. You can mostly ignore all posts in this thread up to post #25. Old posts are no longer relevant to this new version. (Note: post #7 is still relevant if you have only 1 master forum.) ------------------------------------------------------ Please "Mark as Installed" if you use this. Donations always appreciated. :up: Nominate MOTM if you LOVE it! Download Now
Screenshots
Show Your Support
|
2 благодарности(ей) от: | ||
mikesafl, Muhammad Rahman |
Comments |
#32
|
||||
|
||||
I do believe that is possible, in fact it is exactly what I do on my vb 3.8 forum with this mod installed...
You need a collection of icons that have file names like 2.png, 3.png, 4.png, etc... basically ForumID#.png for each forum id you have...in this example in your misc images directory but you could make it anywhere you want. Then manually edit the threadbit template... Find a suitable location and add the code: Code:
<img src="images/misc/{vb raw thread.forumid}.png" border="0" /> You can add a conditional too so if the $thread[forumid] equals $forum[forumid] you don't show any icon at all. (Because the thread is from the same forum you are viewing). |
#33
|
|||
|
|||
tagged,will install later ..many thanks
|
#34
|
|||
|
|||
I'm having a weird issue with this mod.
Running on 4.1.2 patch 1 Threads displayed in master forum will only display as many threads as there are in the master forum. In other words, if there's 50 threads in the master forum, and 200 in a sub forum, it will still only show 50 threads in the master forum. It will still show sub-forum threads, but it will remove threads based on what I believe to be the last time they had activity. The missing threads from one of my sub-forums we're the oldest ones. I replied to them and then they would show up again in the master forum, which the total thread count stayed the same - so I assumed other threads were then gone missing. Would really appreciate some help. Maybe I'm doing something wrong? Thank you! |
#35
|
||||
|
||||
I see the issue, it is indeed a bug. I will work on a fix and post back soon.
|
#36
|
||||
|
||||
Is it possible to designate one master forum to hold all forums? Something like:
76|all or 76|0 And does this respect usergroup permissions to view certain forums, i.e. if forum is invisible to this usergroup, would thread from this forum also be invisible? |
#37
|
||||
|
||||
Version 2.1 Released
Full instructions in .zip file... But basically there is now a required manual file edit- there is no way around this in order to get the thread count correct for master forums. As Jennifer2010 pointed out the master forum would only count as many threads as were originally in the forum. This is especially an issue when the master forum contains very few threads and the slave forums contain many more threads. No page numbers (or not enough) will be produced. The fix requires deleting 1 line from your forumdisplay.php file. At approximately line 761 you will find this code: PHP Code:
So your final code should look like: PHP Code:
Then import/install the new product .xml file version 2.1. NOTE- You MUST DELETE the entire line, you cannot "comment it out." Also New in 2.1 You can now use an * to specify "ALL" forums be included in your master forum, such as: Code:
2|* |
#38
|
||||
|
||||
Quote:
76|* As for usergroup permissions, users will see the thread title for every thread in every forum, but they will get a permission denied error if they try to view a thread from a forum they don't have permission to view. |
#39
|
|||
|
|||
Wow, awesome job on the super quick update! Thank you so much!
Installed now and works great Some bugs to note though: - On top of all of my forums above my header in the upper left, the forum #'s are displayed and pushes the header down. - There also seems to be an intermediary blank white page with the forum #'s in the same place before going into a forum, which loads for 1 or 2 seconds before it hits the actual forum Thank you! |
#40
|
||||
|
||||
Oh whoops. That's what I get for updating the software on 0 hours sleep. That's likely responsible for both issues.
I left a debug line of code in there. I have commented it out and re-uploaded the file. Same version number, please re-import the new version above OR you can manually delete the 1 line.... In the plugin All Topic Forumdisplay Thread Count find the line: PHP Code:
|
#41
|
|||
|
|||
That worked like a charm! Thank you so much for your hard work!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|