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 |
#192
|
|||
|
|||
No worries, still a fantastic mod none the less buddy.
|
Благодарность от: | ||
BirdOPrey5 |
#193
|
||||
|
||||
Would it be at all possible to show stickied subforum threads as normal threads in the master when stickies are disabled in the mod?
|
#194
|
||||
|
||||
Almost everything is possible, but even after a fresh look at the code it just isn't going to happen with this mod as it is written. The query that would need to be editing to alter that isn't one this mod even touches right now and I'm not 100% it could be done without manual file editing.
|
#195
|
|||
|
|||
I've been using this for a long time with great success and appreciate it a lot - THANK YOU!
I have one problem, though. I edited our threadbit template to customize the meta display and when I do so, it removes the "Native forum" display which displays the forum the thread was posted in, in the thread meta under the title. Is there a way I can manually insert the code into my threadbit to fix this? Thank you! UPDATE: I spoke too soon. Just read the instructions file which it includes. Thanks so much! You're the best! |
#196
|
|||
|
|||
Has anyone figured out the database error?
With and without the forumdisplay.php edit I get the error. My forumdisplay.php Code:
($hook = vBulletinHook::fetch_hook('forumdisplay_query_threadscount')) ? eval($hook) : false; # Include visible IN (0,1,2) in order to hit upon the 4 column index $threadscount = $db->query_first_slave(" SELECT COUNT(*) AS threads $hook_query_fields FROM " . TABLE_PREFIX . "thread AS thread $tachyjoin $hook_query_joins WHERE thread.forumid = $foruminfo[forumid] AND sticky = 0 $prefix_filter $visiblethreads $globalignore $limitothers $datecut $hook_query_where "); $totalthreads = $threadscount['threads']; $threadscount = $db->query_first_slave(" SELECT COUNT(*) AS newthread FROM " . TABLE_PREFIX . "thread AS thread $tachyjoin $hook_query_joins WHERE thread.forumid = $foruminfo[forumid] AND thread.lastpost > $lastread AND open <> 10 AND sticky = 0 $prefix_filter $visiblethreads $globalignore $limitothers $datecut $hook_query_where "); $newthreads = $threadscount['newthread']; // set defaults sanitize_pageresults($totalthreads, $pagenumber, $perpage, 200, $vbulletin->options['maxthreads']); // get number of sticky threads for the first page // on the first page there will be the sticky threads PLUS the $perpage other normal threads // not quite a bug, but a deliberate feature! if ($pagenumber == 1 OR $vbulletin->options['showstickies']) { $stickies = $db->query_read_slave(" SELECT thread.threadid, lastpost, open FROM " . TABLE_PREFIX . "thread AS thread WHERE forumid = $foruminfo[forumid] AND sticky = 1 $prefix_filter $visiblethreads $limitothers $globalignore "); while ($thissticky = $db->fetch_array($stickies)) { $stickycount++; if ($thissticky['lastpost'] >= $lastread AND $thissticky['open'] <> 10) { $newthreads++; } $stickyids .= ",$thissticky[threadid]"; } $db->free_result($stickies); unset($thissticky, $stickies); |
#197
|
||||
|
||||
What version of vBulletin?
|
#198
|
|||
|
|||
4.2.2
I sent you a PM with more info including a snippet of my forumdisplay.php -- maybe you can see the issue? Code:
BuffaloRange.com is my forum |
#199
|
|||
|
|||
It's not any of the mods either I don't think
|
#200
|
|||
|
|||
Love the concept, but it didn't work for me.
It would pull the threads from the slave forum to the master forum, and they could be seen on both, but it wouldn't show any native threads from the master forum. Hopefully there's a solution, but in the meantime I have to disable the mod. |
#201
|
|||
|
|||
Quote:
is this what you did? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|