Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
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
Version: 2.2, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.x Rating:
Released: 07-03-2010 Last Update: 06-05-2011 Installs: 102
Uses Plugins Auto-Templates
Code Changes  
No support by the author.

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

File Type: zip All Topic - Master Forums by BOP5 - VB4v22.zip (5.5 KB, 494 views)

Screenshots

File Type: jpg ss_masterforum_set.jpg (86.0 KB, 0 views)
File Type: jpg ss_masterforum_vb4.jpg (141.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
mikesafl, Muhammad Rahman

Comments
  #212  
Old 10-30-2014, 01:48 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only way not to show zero as the post count in the master forum would be to create some threads/posts that were native to the Master Forum, and don't appear in any other forum.

What you want to do you might be better off using a "Link" forum and making the link URL and the link to the "New Posts" page but setup to exclude whatever forumids you don't want.

Something like-

Code:
search.php?do=getdaily&days=10&exclude=11,15,23,81
Where the 11,15,23 and 81 are forumids of forums you don't want listed.

10 is the number of days back you want to show posts from.
Reply With Quote
  #213  
Old 11-04-2014, 04:57 AM
pjkcards pjkcards is offline
 
Join Date: Jul 2007
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
The only way not to show zero as the post count in the master forum would be to create some threads/posts that were native to the Master Forum, and don't appear in any other forum.

What you want to do you might be better off using a "Link" forum and making the link URL and the link to the "New Posts" page but setup to exclude whatever forumids you don't want.

Something like-

Code:
search.php?do=getdaily&days=10&exclude=11,15,23,81
Where the 11,15,23 and 81 are forumids of forums you don't want listed.

10 is the number of days back you want to show posts from.
Doesn't new posts rely on what you read/unread? I thought the idea of the master forum was for having all the posts in the forum show up, regardless of whether it was read or not.
Reply With Quote
  #214  
Old 11-04-2014, 08:09 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That search string is "getdaily" which is the Today's Post link expanded to 10 days- that should show old and new posts. The one you are talking about would be "getnew" that should only show threads with new posts.
Reply With Quote
  #215  
Old 04-01-2015, 11:24 PM
Sarab Sarab is offline
 
Join Date: Oct 2007
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello =D

I have this error:
Quote:
Database error in vBulletin 4.2.2:

Invalid SQL:

SELECT COUNT(*) AS threads,
(
SELECT COUNT(*) AS newthread
FROM thread AS thread
WHERE forumid = 185
AND lastpost > 1427937256
AND open <> 10
AND sticky = 0

AND visible IN (0,1,2)



*/ WHERE forumid IN (186) AND sticky = 0 AND visible IN (0,1,2)
) AS newthread

FROM thread AS thread

/*
WHERE forumid = 185
AND sticky = 0

AND visible IN (0,1,2)



*/ WHERE forumid IN (186) AND sticky = 0 AND visible IN (0,1,2);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*/ WHERE forumid IN (186) AND sticky = 0 AND visible IN (0,1,2)
) AS new' at line 14
vbulletin version is 4.2.2 without forumdisplay.php edit, how to fix it =")?
Reply With Quote
  #216  
Old 04-03-2015, 02:30 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upload the fresh forumdisplay php. file from the VB 4.2.2 download package.

For some reason it looks like the query hooks are backwards.
Reply With Quote
  #217  
Old 06-17-2015, 05:15 AM
jagtpf jagtpf is offline
 
Join Date: Mar 2015
Location: Scotland
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgraded vB to 4.2.3 from 3.8.7 - this product works as expected.

One out of the box thought - would it be possible to use this excellent product to show threads with no replies!

In vB 3.8.7 we had a link dedicated to search for all uncommented threads - that no longer works. and I'm trying to find alternatives.....
Reply With Quote
  #218  
Old 06-19-2015, 07:14 AM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm with pjkcards - it would be wonderful not to have it appear on the forum home as an empty forum. If the #threads/replies can't be changed, is there any way to simply hide them on master forums only? I've had several people tell me they never click on the master forum because from the forumhome it looks like there's nothing there.
Reply With Quote
  #219  
Old 08-10-2017, 06:09 PM
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love this mod. Appears to be working great on 4.2.5/php 7. I actually have no desire to have a 'Master Forum' but was able to create two master forums (one for all threads, the other for just RSS news feed threads) and then set the Forum's active status to 'No'.

I then created a 'View All Threads' and 'View All News' link for my sub-nav bar. great way for members to be able to see all of the most recent threads without having to go forum to forum if they prefer not to. Great work BOP5!
Reply With Quote
Благодарность от:
BirdOPrey5
  #220  
Old 08-06-2018, 04:12 AM
jagtpf jagtpf is offline
 
Join Date: Mar 2015
Location: Scotland
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Absolutely love this mod. I'm probably not going to get an answer, or even a solution - but if the display options could provide threads in a random order it would be awesome!
Reply With Quote
  #221  
Old 08-06-2018, 08:21 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A random option for thread display would seem like its own separate mod, it wouldn't be part of this since this mod doesn't alter how threads are displayed. But thank you for the kind words about the mod though.
Reply With Quote
Благодарность от:
jagtpf
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:26 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06870 seconds
  • Memory Usage 2,346KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete