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)

RollaJedi 07-20-2011 04:14 PM

any way to make this a widget for the 'home' page possibly?

NovoCiv 07-20-2011 07:23 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2222911)
In 4.0.5 try just using the original forumdisplay.php without any edits at all.

When I do this it also gives the cookie error.

BirdOPrey5 07-21-2011 08:54 AM

Quote:

Originally Posted by RollaJedi (Post 2222914)
any way to make this a widget for the 'home' page possibly?

I've never tried making a widget before but I'd imagine there has to be a "recent threads" widget that would do basically the same thing, no?

Quote:

Originally Posted by NovoCiv (Post 2222991)
When I do this it also gives the cookie error.

I just verified 4.0.5 and if you use the original forumdisplay.php with no edits it should work fine. My guess is you "undid" the edits instead of used the original forumdisplay.php without any edits.

You can get it from your original vbulletin zip file or worst case you can download a new copy from the member's area.

Sometime text editors (like notepad) can mess up the files you try to edit with them.

That's my guess as to why you get the cookie error- it's usually the result of a blank line or other blank character at the top of the file.

NovoCiv 07-23-2011 04:17 AM

I discovered the error was because of the template edit option. Disabling the option and manually editing the templates worked. Now the product works as desired. Thanks and 5 stars :)

Kraxell 07-23-2011 06:36 AM

Hello,

is it possible to choose other forums by myself? Maybe a friend-board installed this hack too and i get this hack to work with my and friend-board?

BirdOPrey5 07-24-2011 12:44 PM

Quote:

Originally Posted by NovoCiv (Post 2223786)
I discovered the error was because of the template edit option. Disabling the option and manually editing the templates worked. Now the product works as desired. Thanks and 5 stars :)

Great news! :up:

Quote:

Originally Posted by Kraxell (Post 2223812)
Hello,

is it possible to choose other forums by myself? Maybe a friend-board installed this hack too and i get this hack to work with my and friend-board?

I don't really understand the question. This mod will in no way ever be able to help you see forums on another totally different forum.

Try the vBNetwork mod to share forums with a friend.

Kraxell 07-24-2011 08:22 PM

Ah ok, i though it have other functions :)

Bjoern28 08-09-2011 07:25 AM

Hi,

have installed that great MOD :) Thanks for this..

But a question..

I created a Master Forum that holds some of my other Forums. So all is fine.. :)

Masterforum
-offtopic
-new Members

so the posts of offtopic and new members are displayed in the masterforum

when i go now to off topic and create a new thread... or answer to an existing thread..

and go now to the Forumdisplay where all my forums are displayed.. ^^ i see not in the Masterforum that there are new threads in offtopic... i see this when i go IN the Masterofurm. But i want to see it also in the forum display..

do you know what i mean?

It would also be great if the Masterforum displays in the forumdisplay the number of threads and posts from all the forums it holds.

And th next question i have.. it is not possible to post new threads in a Master Forum...
Of course i can post a thread.. but it is not visible in the threaddisplay...

BirdOPrey5 08-09-2011 10:35 AM

Quote:

Originally Posted by Bjoern28 (Post 2231252)
Hi,

have installed that great MOD :) Thanks for this..

You're welcome. :up:

Quote:


But a question..

I created a Master Forum that holds some of my other Forums. So all is fine.. :)

Masterforum
-offtopic
-new Members

so the posts of offtopic and new members are displayed in the masterforum

when i go now to off topic and create a new thread... or answer to an existing thread..

and go now to the Forumdisplay where all my forums are displayed.. ^^ i see not in the Masterforum that there are new threads in offtopic... i see this when i go IN the Masterofurm. But i want to see it also in the forum display..

do you know what i mean?

It would also be great if the Masterforum displays in the forumdisplay the number of threads and posts from all the forums it holds.

And th next question i have.. it is not possible to post new threads in a Master Forum...
Of course i can post a thread.. but it is not visible in the threaddisplay...
I understand what you mean but I do not intend to add any of these features. It works how I intended it to work.

Bjoern28 08-09-2011 10:53 AM

hmm is it possible to add the feature that i can see in the forumdisplay that in the master forum (offtopic) are new threads?

BirdOPrey5 08-09-2011 12:17 PM

Quote:

Originally Posted by Bjoern28 (Post 2231311)
hmm is it possible to add the feature that i can see in the forumdisplay that in the master forum (offtopic) are new threads?

I suppose anything is possible, it would mean new queries on forumdisplay. It's not something I will do though- you would have to find someone else willing to code it that way.

0ptima 08-09-2011 09:17 PM

I;d like to see this mod in action. please post/pm me a link where I could see this.

BirdOPrey5 08-10-2011 03:34 PM

I have the 3.8 version in action on my forum, but you need to register to see it in action-

Specifically it's my "off topic" forum which is my master-forum:
http://www.juot.net/forums/forumdisplay.php?f=2

I also added a custom image to distinguish each forum from the main off-topic forum, instead of the text saying the source forum name.

If anyone else is using the 4.x version and wants to post a link, feel free.

rootzwiki 08-17-2011 08:55 PM

Great mod, however i've noticed that when viewing my forum with a program such as Forum Runner or Tapatalk that the master forums do not show threads from the slave forums.

Are there any modifications i could do on my side to get this working in app? or is that all up to the app developer.

BirdOPrey5 08-17-2011 09:40 PM

It would require modification of their files- so it's not something I'm going to attempt. I really don't know where to start with either of them.

Cybertims 08-18-2011 08:40 AM

Is this supposed to show the total number of threads and posts on Forumhome since for me it is only showing 1 Thread and 1 Post, this is the 1 thread I created in there to make it all work.

Cheers

BirdOPrey5 08-18-2011 11:20 AM

no, it doesn't affect forumhome.

Cybertims 08-18-2011 01:37 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2234901)
no, it doesn't affect forumhome.

Ahh, it is deceiving though when members see there is only 1 thread and 1 post in the Master Forum, until you click in there and see the list. Would it not be a good idea to have it calculate the total threads and posts in the entire Master or maybe remove the number of threads and posts from the Master Forum altogether?

Cheers for the Mod

BirdOPrey5 08-18-2011 01:47 PM

Quote:

Originally Posted by Cybertims (Post 2234944)
Ahh, it is deceiving though when members see there is only 1 thread and 1 post in the Master Forum, until you click in there and see the list. Would it not be a good idea to have it calculate the total threads and posts in the entire Master or maybe remove the number of threads and posts from the Master Forum altogether?

Cheers for the Mod

My master forum has thousands of threads anyway so it was never really an issue for me. Perhaps something in the forum description explaining there are more threads than it appears.

This has been discussed a number of times and I can understand why people would want this but the fact is it would be a far more complicated and resource intensive mod to do those extra calculations. It's not something I plan on adding.

Cybertims 08-19-2011 05:07 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2234946)
My master forum has thousands of threads anyway so it was never really an issue for me. Perhaps something in the forum description explaining there are more threads than it appears.

This has been discussed a number of times and I can understand why people would want this but the fact is it would be a far more complicated and resource intensive mod to do those extra calculations. It's not something I plan on adding.

I just added some code to show this instead.....

http://www.monthehoops.co.uk

BirdOPrey5 08-19-2011 05:40 PM

Quote:

Originally Posted by Cybertims (Post 2235448)
I just added some code to show this instead.....

http://www.monthehoops.co.uk

I like it!

Conehead555 08-20-2011 10:18 PM

....

BirdOPrey5 08-20-2011 10:28 PM

Quote:

Originally Posted by Conehead555 (Post 2235910)
Wrecked my forum, no check boxes next to threads now.

Probably an incompatibility with a custom style...

If you still have it installed simply turn off the automatic template edit in the settings: Enable Threadbit Template Edit -> No.

That will fix your issue- you will have to make the template edit manually if you want to see the name of the source forums.

Conehead555 08-20-2011 10:34 PM

.....

BirdOPrey5 08-20-2011 10:39 PM

This mod doesn't make ANY changes to the database or your files... Just disable or uninstall the entire mod then.

BTW what version of vBulletin are you using?

Conehead555 08-20-2011 11:43 PM

My mistake, duh. Installed - 5 stars - great mod! :)

Sarab 09-12-2011 06:16 PM

Hello,

I tried installing it and do as I should in the editing but when I enable it and open the master forum I get database error, I'm using vb 4.1.5, so is their a solution?

BirdOPrey5 09-12-2011 06:29 PM

I have this running on a 4.1.5 forum without issue. If you are getting a database error it is most likely because of a mistake when making the file edit. If you post the exact database error I might be better able to diagnose the problem.

shuangddr 09-12-2011 11:52 PM

my god.
thank you,i am looking for this

Sarab 09-13-2011 09:50 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2244993)
I have this running on a 4.1.5 forum without issue. If you are getting a database error it is most likely because of a mistake when making the file edit. If you post the exact database error I might be better able to diagnose the problem.

I thought so but can't find where I went wrong =\

But somehow I tried today and it worked XD

Thank you for this great mod I wanted it for years now, really thank you =)

BirdOPrey5 09-13-2011 11:04 AM

Quote:

Originally Posted by shuangddr (Post 2245086)
my god.
thank you,i am looking for this

Thanks. Please "Mark as Installed" if you are using this.

Quote:

Originally Posted by Sarab (Post 2245230)
I thought so but can't find where I went wrong =\

But somehow I tried today and it worked XD

Thank you for this great mod I wanted it for years now, really thank you =)

Great to hear. Please "Mark as Installed" in the top post. :up:

8thos 10-10-2011 06:18 PM

This is the most important modification on my site. I always make sure this mod is working first after upgrades.

vbresults 10-18-2011 11:40 AM

Hey BOP,

I was looking for a way to do this for my product site and found your mod. I was sort of confused by the code so I ended up writing my own plugins, but seeing as this mod came from 3.x, the code might just be a little out of date. Anyway, below is how I did it. It requires three plugins and does not need a post in the master forum; it also displays the post counts correctly etc.

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";


Here it is in action. Hope you found this useful!

BirdOPrey5 10-18-2011 03:08 PM

Very cool way of doing thins, Lancer. :up:

8thos 10-18-2011 04:07 PM

I'll pay for this on xenforo.

8thos 10-18-2011 04:09 PM

I don't see the all topics mod in that link @ Lancer.

vbresults 10-18-2011 05:32 PM

Quote:

Originally Posted by Octavius. (Post 2258637)
I'll pay for this on xenforo.

I've added it to my list. Whatever happened to getting that live topic mod? :p

Quote:

Originally Posted by Octavius. (Post 2258639)
I don't see the all topics mod in that link @ Lancer.

All topics mod?

BirdOPrey5 10-18-2011 05:46 PM

I apreciate Lancer's code and I understand your desire for an All Topic mod for XenForo Octavius, but please keep discussion of XenForo mods on XenForo's or Lancer's own forum thanks.

This thread is for discussion of this vBulletin modification.

shuangddr 11-05-2011 03:16 PM

I want to show threads also from user's subscribed forums,can you add this features?

BirdOPrey5 11-06-2011 10:04 AM

I would have to look into it- it would be a pretty significant change.


All times are GMT. The time now is 12:51 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.01591 seconds
  • Memory Usage 1,847KB
  • 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
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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