Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
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
Mod Version: 2.1, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Nov 2019 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (8 votes - 5.00 average) Installs: 46
Released: 28 Jun 2010 Last Update: 03 Mar 2011 Downloads: 172
Supported Uses Plugins Auto-Template 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

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	ss_masterforum_set.jpg
Views:	612
Size:	86.0 KB
ID:	124702   Click image for larger version

Name:	ss_masterforum_vb3.jpg
Views:	1181
Size:	137.3 KB
ID:	124703  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 06 Jul 2010, 06:37
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This would make the entire code for the first edit look like:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In this case you'd change the number 7 to your second master forum id, and 7,8,9,10 to your secondary forum id's (and your master).

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.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #17  
Old 06 Jul 2010, 10:14
sinpin's Avatar
sinpin sinpin is offline
 
Join Date: Feb 2008
Real name: Sina
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

Last edited by sinpin; 06 Jul 2010 at 10:27.
Reply With Quote
  #18  
Old 06 Jul 2010, 15:20
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
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.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #19  
Old 08 Jul 2010, 05:46
sinpin's Avatar
sinpin sinpin is offline
 
Join Date: Feb 2008
Real name: Sina
Originally Posted by sinpin View Post
it's better to use a recursive function to retrieve hierarchical data automatically.
I checked the Forum's table again,
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
Reply With Quote
  #20  
Old 13 Jul 2010, 21:49
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Thumbs up

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace them both with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

f you can't 'find' the text above via 'find/replace' you probably have an extra blank space at the end of the text, it IS there in 3.8.5.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.

Last edited by BirdOPrey5; 18 Jul 2010 at 18:49.
Reply With Quote
  #21  
Old 11 Aug 2010, 15:17
FleXy FleXy is offline
 
Join Date: Dec 2006
great idea and job, looking for something like this for 2 years! Need mod to simple upload and install. Maybe somebody can realise this at this way: create you own forumdisplayS.php file (modificated). and then we will create "Master Forum". Then install Plugin. Plugin will get option (ID of master forum from settings) and replace the url on Index.php to step users to forumdisplayS.php (modificated). all other options will be stored also at the db and edited from plugin setting menu.

sorry for my english, but the main idea to use 3th part forumdisplayfile.php and substitute there file only for master forum. Substituton need to do with MOD while parse_templated for forumid used by setting (or simple redirect another forum to url or forumdisplayfile.php?f=masterforum). Other setting will be managed by Plugin.
__________________
Reply With Quote
  #22  
Old 20 Aug 2010, 17:12
kjsmith84 kjsmith84 is offline
 
Join Date: Sep 2009
is ther a way to do this reverse?
I want to take a thread and have it show in mutiple subforums
Reply With Quote
  #23  
Old 20 Aug 2010, 17:18
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
There is no way I know of of doing this 'per thread.' That is what I was originally looking for and made requests but never found it.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #24  
Old 20 Aug 2010, 17:40
kjsmith84 kjsmith84 is offline
 
Join Date: Sep 2009
Originally Posted by BirdOPrey5 View Post
There is no way I know of of doing this 'per thread.' That is what I was originally looking for and made requests but never found it.
ok I want all threads in one main subforum to show in 5 different sub forums. how do i do this?

do the #16 post?

I have 5 subforums on 5 seperate forum pages- If I post a thread in any one of those 5 subforums I want the thread to show in all the other sbuforums- this is what Im trying to achieve.

Last edited by kjsmith84; 20 Aug 2010 at 17:45.
Reply With Quote
  #25  
Old 20 Aug 2010, 17:49
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Yes, the instructions in post 16 would work but it's going to look really messy with all those else statements... unfortunately it's the only way I know of to do this.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #26  
Old 07 Sep 2010, 20:48
nando99 nando99 is offline
 
Join Date: Dec 2005
Real name: Fernando
I'm trying to install this on 3.8.2 and I'm getting the following error:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I know you tried it on 3.8.4+ but I was wondering if you can help me out...

thanks in advance,

nando
__________________
Part Time Gamerz - It's not that serious...
Reply With Quote
  #27  
Old 07 Sep 2010, 21:18
nando99 nando99 is offline
 
Join Date: Dec 2005
Real name: Fernando
nevermind, I got it - just redid it a few times - still not sure where i messed up initially... oh well.. thanks 4 the mod!
__________________
Part Time Gamerz - It's not that serious...
Reply With Quote
  #28  
Old 22 Dec 2010, 06:47
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Major Upgrade On This Mod!

Totally new version is now a product file you can install, no file edits needed!

If you used the old version revert your forumdisplay.php file back to it's original condition before installing.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #29  
Old 23 Dec 2010, 19:22
grey_goose grey_goose is offline
 
Join Date: Jun 2009
- Easy install
- Works perfectly
- Great idea
- Nominated
Reply With Quote
  #30  
Old 26 Dec 2010, 05:11
m_7 m_7 is offline
 
Join Date: Apr 2009
Great .

Thank you .
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 03:14.

Layout Options | Width: Wide Color: