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

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

Category: Forum Display Enhancements - Version: 3.8.x Rating:
Released: 06-27-2010 Last Update: 03-02-2011 Installs: 48
Supported Uses Plugins Auto-Templates
Translations  

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

File Type: zip All Topic - Master Forums by BOP5v21.zip (4.0 KB, 194 views)

Screenshots

File Type: jpg ss_masterforum_set.jpg (86.0 KB, 0 views)
File Type: jpg ss_masterforum_vb3.jpg (137.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 08-15-2011, 07:42 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 new thread appears in the master forum.
Reply With Quote
  #53  
Old 08-15-2011, 07:57 PM
Undertaker #59 Undertaker #59 is offline
 
Join Date: May 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll have to test it out, but I am wondering if I can not allow new threads in this forum, but still allow replies. Basically I want to use this mod as a way to view and reply to threads from multiple forums, but I want new threads to be placed in the proper forum for those who choose not to use the master forum view and view the forums singly.
Reply With Quote
  #54  
Old 08-15-2011, 08:06 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Each thread remains in its own forum... When someone is viewing the master forum the "New Thread" button will put a thread in the Master Forum as if ti was any other forum.

If someone clicks on a thread that is shown in the Master Forum but is from another forum, say Forum 2, then once the user clicks on it they will be in Forum 2. If they use the Forum Jump menu for example they will be taken "back" to Forum 2. That's why on my forum I edited the Jump Menu to include a link back to my master forum at all times.

Best way to understand is just to try it.
Reply With Quote
  #55  
Old 08-20-2011, 08:04 AM
punchbowl punchbowl is offline
 
Join Date: Nov 2006
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brilliant mod. Just testing it on 3.8 but hopefully it'll bring order to chaos when we upgrade to vb4 too.

Anyone tested this on the vb mobile apps/tapatalk? (I saw something about it not being compatible with tapatalk in this thread or the vb4 one)

If I wanted to force users to select a forum when they hit post new thread when in the master forum I'd have to edit the newthread.php as well as the template wouldn't I? (thinking aloud - I could do it with a plugin)

Cheers!
Reply With Quote
Благодарность от:
BirdOPrey5
  #56  
Old 08-20-2011, 11:15 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know it doesn't work with Tapatalk, not sure about vbulletin mobile app. For Tapatalk I find a lot of people use the "New Posts" feature anyway.

Yes you can edit new thread to ask where to post, but I haven't done it.
Reply With Quote
  #57  
Old 08-20-2011, 02:27 PM
Undertaker #59 Undertaker #59 is offline
 
Join Date: May 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would love that feature (having it prompt for forum on new thread).

Anyway, downloading and installing now.
Reply With Quote
  #58  
Old 09-01-2011, 03:23 AM
hpidriver hpidriver is offline
 
Join Date: Jun 2009
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Marked as installed! great mod, extremely useful thank you.

I have a question - I have a forum that is being used a master forum. Where would I edit to have the sub-forums be displayed above the threads (so the opposite as in your first example screenshot)
tia
Reply With Quote
Благодарность от:
BirdOPrey5
  #59  
Old 09-01-2011, 11:22 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hpidriver View Post
Marked as installed! great mod, extremely useful thank you.

I have a question - I have a forum that is being used a master forum. Where would I edit to have the sub-forums be displayed above the threads (so the opposite as in your first example screenshot)
tia
To do that best way would be to not use the auto template edit on the threadbit and do the manual edit instead- per the instructions:

Code:
Manual Template Edit for vBulletin 3.x series:

In your Admin CP -> Styles & Templates -> Style Manager
Choose your style(s) and go to Edit Templates
Scroll down to Threadbit Templates -> threadbit

In the threadbit template find the code:

<if condition="$show['guestuser']">
				$thread[postusername]
				
				
And directly after it add the following code:
For your request instead put this code directly BEFORE the above:

<if condition="$thread[forumid] != $foruminfo[forumid]">&nbsp;-&nbsp;$thread[forumtitle]</if>

Also find the code:

<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span>

And REPLACE it with:

<span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]<if condition="$thread[forumid] != $foruminfo[forumid]">&nbsp;-&nbsp;$thread[forumtitle]</if></span>
changes in red.
Reply With Quote
Благодарность от:
hpidriver
  #60  
Old 10-24-2011, 08:44 PM
James T Brock James T Brock is offline
 
Join Date: Sep 2004
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting the below error. Any ideas on how to fix this?

Code:
Database error in vBulletin 3.8.5:

Invalid SQL:

	SELECT COUNT(*) AS threads,
	(
		SELECT COUNT(*) AS newthread
		FROM thread AS thread
		WHERE forumid = 22
		AND lastpost > 1319489077
		AND open <> 10
		AND sticky = 0
		
		 AND visible IN (0,1,2)
		
		
		
		*/ WHERE forumid IN (22) AND sticky = 0   AND visible IN (0,1,2)   
	) AS newthread
	
	FROM thread AS thread
	
	/*
	WHERE forumid = 22
	AND sticky = 0
	
	 AND visible IN (0,1,2)
	
	
	
	*/ WHERE forumid IN (22) 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 (22) AND sticky = 0   AND visible IN (0,1,2)   
	) AS newth' at line 14
Error Number  : 1064
Request Date  : Monday, October 24th 2011 @ 01:44:44 PM
Error Date    : Monday, October 24th 2011 @ 01:44:44 PM
Script        : http://website.com/forumdisplay.php?f=22
Referrer      : http://website.com/forumdisplay.php?f=11
IP Address    : xx.xx.xx.xx
Username      : admin
Classname     : vB_Database
MySQL Version : 5.1.52-log
Reply With Quote
  #61  
Old 10-25-2011, 12:07 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by James T Brock View Post
I am getting the below error. Any ideas on how to fix this?

Code:
Database error in vBulletin 3.8.5:

Invalid SQL:

	SELECT COUNT(*) AS threads,
	(
		SELECT COUNT(*) AS newthread
		FROM thread AS thread
		WHERE forumid = 22
		AND lastpost > 1319489077
		AND open <> 10
		AND sticky = 0
		
		 AND visible IN (0,1,2)
		
		
		
		*/ WHERE forumid IN (22) AND sticky = 0   AND visible IN (0,1,2)   
	) AS newthread
	
	FROM thread AS thread
	
	/*
	WHERE forumid = 22
	AND sticky = 0
	
	 AND visible IN (0,1,2)
	
	
	
	*/ WHERE forumid IN (22) 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 (22) AND sticky = 0   AND visible IN (0,1,2)   
	) AS newth' at line 14
Error Number  : 1064
Request Date  : Monday, October 24th 2011 @ 01:44:44 PM
Error Date    : Monday, October 24th 2011 @ 01:44:44 PM
Script        : http://website.com/forumdisplay.php?f=22
Referrer      : http://website.com/forumdisplay.php?f=11
IP Address    : xx.xx.xx.xx
Username      : admin
Classname     : vB_Database
MySQL Version : 5.1.52-log
One of two things is the problem...

1) You have another mod using the hook forumdisplay_query_threadscount. In plugin manager see if any other plugin is using that hook and if so let me know which mod and I'll take a look.

Or

2) Are you using a modified or different forumdisplay.php file then came with your version. Please replace your forumdisplay.php with a copy from the original 3.8.5 install. (Keep a backup in case of anything.)
Reply With Quote
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 12:23 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.05020 seconds
  • Memory Usage 2,350KB
  • Queries Executed 28 (?)
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
  • (3)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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
  • 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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete