vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - All Topic - Master Forums - Shows threads from multiple forums in one forum (https://vborg.vbsupport.ru/showthread.php?t=245839)

Datenpapst 06-17-2012 04:41 PM

Is it possible to add forums from other servers/other boards?

BirdOPrey5 06-18-2012 12:47 PM

No not with this mod.

Check out this one for sharing boards across different forums (domains): https://vborg.vbsupport.ru/showthread.php?t=245942

BrettJC 08-05-2012 01:06 AM

Is it possible to color threads based on there original forumid, so if I have 3 forums and 1 master forum can I have all treads from forum 1 show blue and all threads from forum 2 show red etc

thenoob2012 08-05-2012 08:42 AM

Just installed your mod and it is exactly what I was looking for. I only have one question and it is how do I get it to update thread count. No matter how many threads are posted in master forum it only says there is one and the one it is referring to is the one I actually made in the master forum.

Is there anyway to fix this. I am running the newest VB forum. Thanks is advance.

BirdOPrey5 08-05-2012 01:49 PM

Quote:

Originally Posted by BrettJC (Post 2354552)
Is it possible to color threads based on there original forumid, so if I have 3 forums and 1 master forum can I have all treads from forum 1 show blue and all threads from forum 2 show red etc

Possible but not something I have coded. If you are interested in trying yourself you'd start in the plugin called All Topic in Threadbit and add a custom edit for when the thread[forumid] matches the forum[forumid].

Quote:

Originally Posted by thenoob2012 (Post 2354601)
Just installed your mod and it is exactly what I was looking for. I only have one question and it is how do I get it to update thread count. No matter how many threads are posted in master forum it only says there is one and the one it is referring to is the one I actually made in the master forum.

Is there anyway to fix this. I am running the newest VB forum. Thanks is advance.

Again possible but complicates the mod much more by needing changes to even more queries and it is simply not something I have attempted at this point.

If you read through this thread it was discussed before, a long time ago- I forget if anyone posted a solution or not.



This mod is probably due for an overhaul... I will look into a fresh rebuild of this mod and see which features I can add. No promises of how soon though.

BrettJC 08-06-2012 04:51 AM

Thanks Joe, I will see what I can do, i will post here if i get it working.

thenoob2012 08-06-2012 08:31 PM

Thanks for getting back with me.

vbresults 10-22-2012 08:32 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2354679)

This mod is probably due for an overhaul... I will look into a fresh rebuild of this mod and see which features I can add. No promises of how soon though.

Quote:

Originally Posted by LancerForHireLLC (Post 2258542)
hook: forumdisplay_start
PHP Code:

if (in_array($foruminfo['forumid'], $masterForums)) {
    
// *Tell* the forum it will contain threads! >=)
    
$foruminfo['cancontainthreads'] = true;


hook: forumdisplay_query_threadscount
PHP Code:


if (in_array($foruminfo['forumid'], $masterForums)) {
    
$childForums implode(', '$foruminfo['childlist']);

    
// Add an OR IN(children) condition and the default thread count query ones.
    
$hook_query_where .= "OR forumid IN($childForums)
        AND sticky = 0
        
$prefix_filter
        
$visiblethreads
        
$globalignore
        
$limitothers
        
$datecut";


hook: forumdisplay_query_threadid
PHP Code:

if (in_array($foruminfo['forumid'], $masterForums)) {
    
$childForums implode(', '$foruminfo['childlist']);

    
// Same deal for the thread id query.
    
$hook_query_where .= "OR forumid IN($childForums)
        AND sticky = 0
        
$prefix_filter
        
$visiblethreads
        
$globalignore
        
$limitothers
        
$datecut";



;-)

Harpo 11-12-2012 11:04 AM

Hi I'm interested in this mod. I have not installed it yet...I was wondering How to do this.

I want to make the Master forum Thread listing as my "Index" So my members can browse the listings of threads collected.

Maybe have the Master Forum Thread listing located in my NAV menu. of course members can choose "forum" too from the NAV. to see the normal view.... If I'm making any sense. :P

Would this be possible with this mod?

Harpo 11-12-2012 10:50 PM

Hi again, Just installed it and followed the instructions. I made my master forum and set it up in my ACP. now when I try to enter the master forum I get the following Database error.

Database error in vBulletin 4.2.0:

Quote:

Invalid SQL:

SELECT COUNT(*) AS threads

FROM thread AS thread

/*
WHERE thread.forumid = 35
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 thread.forumid = 35
AND sticky = 0

AND visible IN (0,1,2)' at line 9
My masterforum ID is 35. Any idea what went wrong?


All times are GMT. The time now is 10:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01243 seconds
  • Memory Usage 1,759KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete