Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #2  
Old 06-28-2010, 05:28 PM
F0xy's Avatar
F0xy F0xy is offline
 
Join Date: Mar 2008
Location: Ireland
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any chance of a screenshot or a demo?
Reply With Quote
  #3  
Old 06-28-2010, 08:04 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I attached a couple of screen shots... This is up and running on my forum, www.juot.net, but you need to register to see my main off-topic which is my 'master' forum.
Reply With Quote
  #4  
Old 06-29-2010, 04:06 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK I made an optional update to this mod...
This will give users the option of turning this mod off if they would rather not see all the forums you've chosen in a 'master' forum. Install this ONLY if you want to give users a choice.

First in Admin CP go to the menu on the left and choose "Add New User Profile Field" under "User Profile Fields."

Choose "Single Selection Radio Box" from the drop down menu...

On the next screen set the following...

Title: All Topic
Description: Use this setting to enable or disable the 'All Topics' system. [or whatever description you want obviously]
Options:
Code:
Yes
No
Field Required: Yes, at registration and...
Private/Field Searchable.../Display on... All "No"
Display Page: Options: Thread Viewing
Leave all other settings to default and hit "Save" to create the profile field.

Inform users the option now exists... The code below is designed so even if a user doesn't make a selection it is enabled by default so they only need to change it to 'opt out.'

Now we'll make the forumdisplay.php edits mentioned in the top post of this thread. Make those same edits except change all the IF statements to the one below:

PHP Code:
if (($foruminfo[forumid] == 1) && ($vbulletin->userinfo['field5'] != "No")) 
Replace the number 1 of course with the forumid of your "master" forum... Replace 'field5' with the profile field name that was auto created when added the profile field above. Go to "User Profile Field Manager" to see the name the field was given.

And that's that, you now have an "All Topics" system that can be turned on or off by each member.
Reply With Quote
  #5  
Old 06-29-2010, 12:01 PM
Kolektor Kolektor is offline
 
Join Date: Jun 2010
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you know I like this idea

Thanks for sharing.
Reply With Quote
  #6  
Old 06-30-2010, 03:26 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks... I've come up with another add-on / option for this mod...

If you want to edit a thread's title to reflect it is a thread outside of your 'master forum' do the following...

Edit the threadbit template.

Find:

Code:
<if condition="$show['sticky']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]" /> </if>
				</span>
			</if>
After this add:
Code:
<if condition="$vbulletin->userinfo['field5'] != 'No'">
<if condition="($foruminfo[forumid] == 1) AND ($thread[forumid] != 1)">[X]</if></if>
Replace the two instances of "1" with the forumid of your master forum. Replace 'field5' with the field name of your opt-in field discussed in post #4 in this thread. If you are not using the opt-in system then instead add the following code:
Code:
<if condition="($foruminfo[forumid] == 1) AND ($thread[forumid] != 1)">[X]</if>
You can obviously change "[X]" with any text or code you'd like... in fact I went a step further personally... I have a unique status icon for each of my forums so I used a mini version (18 pixels square) of each icon in place of the [X]. To do this I renamed each icon to be the forumid number of each forum. Then in place of [X] I used:
Code:
<img src="/forums/images/ministatus/$thread[forumid].gif" border="0" align="absmiddle">
Of course you'd set the directory path to wherever you uploaded your images. Doing this will produce results like in my screen shot (but with your images of course.) I recommend 18x18 pixel graphics so they are the same size as standard text but any size icons will work.

Attached Images
File Type: jpg ss_staticons.jpg (34.1 KB, 0 views)
Reply With Quote
  #7  
Old 06-30-2010, 03:38 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One additional change I made that I find works well with a "Master Forum" is to edit your forumjump template to add a 'quick link' back to your 'master forum.' This is because users may be used to using the forum jump menu to quickly return to the forum they were previously browsing, but if they followed a link from your 'master forum' the forum jump menu will send them back to the listing for the forum the thread is 'really' in.

This link can be used to always return users to the 'master forum' in one click and doesn't take up any room on the page that wouldn't otherwise be wasted.

Edit your forumjump template...

Find:
Code:
<strong>$vbphrase[forum_jump]</strong><br />
Replace With:
Code:
<strong>$vbphrase[forum_jump]: <a href="/forums/forumdisplay.php?f=1">Jump to Master Forum</a></strong><br />
As always replace the number "1" with the forumid of your master forum. Edit "Jump to Master Forum" and the file path to suit your needs, I personally used "Jump to Off-Topic"

Screen Shot:
Attached Images
File Type: jpg ss_forumjump.jpg (8.3 KB, 0 views)
Reply With Quote
  #8  
Old 06-30-2010, 07:00 AM
funmasti's Avatar
funmasti funmasti is offline
 
Join Date: Aug 2009
Location: World Wide Web
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its great, but can u make a XML (product installation) file?
Reply With Quote
  #9  
Old 06-30-2010, 07:05 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, unfortunately I don't know how to put php file edits into an xml file, or if it's even possible due to the edits needed... but I give my permission for someone else to do so if they have the know-how.
Reply With Quote
  #10  
Old 07-01-2010, 02:28 AM
ChuteBoxe ChuteBoxe is offline
 
Join Date: Jun 2010
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod. Does everything that it says it does, and is rather easy to install.

Only question is, is it possible to break it down to a per thread basis?

Maybe like, posts that are moved from the offtopic forum to the subforum, are the only ones that show in both forums?
Reply With Quote
Reply


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 09: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.07977 seconds
  • Memory Usage 2,338KB
  • Queries Executed 24 (?)
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
  • (7)bbcode_code
  • (1)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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