vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - All Topic / Master Forums - View Threads from Multiple Forums in a Master Forums (https://vborg.vbsupport.ru/showthread.php?t=245414)

James T Brock 10-25-2011 03:16 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2261215)
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.

vbOptomize Pro. I confirmed it's what's causing the issue, when I disable that hook it works.

Anyway to have them both working together? This is the code in that hook location...

Code:

if (class_exists('vb_optimise'))
{
        $vars = array(
                'lastread'                => $lastread,
                'hook_query_fields'        => $hook_query_fields,
                'tachyjoin'                => $tachyjoin,
                'hook_query_joins'        => $hook_query_joins,
                'forumid'                => $foruminfo['forumid'],
                'prefix_filter'                => $prefix_filter,
                'visiblethreads'        => $visiblethreads,
                'globalignore'                => $globalignore,
                'limitothers'                => $limitothers,
                'datecut'                => $datecut,
                'hook_query_where'        => $hook_query_where,
        );

        vb_optimise::cache('forumdisplaysub', $db, $vars);
}


BirdOPrey5 10-25-2011 10:19 AM

Try changing the execution order of the plugin on forumdisplay_query_threadscount.

It is usually "5" - try changing it to "2" or "8" and see if either makes a difference.

James T Brock 10-29-2011 07:13 PM

Thank you, changing the execution order did fix the issue. One last question, I noticed in the 4.0 version of this mod there is a way to have sticky threads show in the master forum, how do you do it in the 3.8 version of the mod?

BirdOPrey5 10-29-2011 08:31 PM

I haven't released the updated version for 3.8 yet. If you want to show stickies you can edit the two forumdisplay_query_ plugins...

Find all "sticky = 0" and change it to "sticky = 1" in each plugin.

James T Brock 11-01-2011 02:10 AM

If you do that ALL threads disappear except for the stickies.

BirdOPrey5 11-01-2011 10:59 AM

Sorry. I didn't have this version still installed on my test servers.

Change "sticky = 0" to "sticky = 0 OR sticky = 1" in both plugins

punchbowl 11-17-2011 02:07 PM

it shows threads in the list even if the member has no perms. i.e. if I include nsfw and mod forums in my master forum users will see those threads in the list even if they haven't got perms to see them.

They can't actually open the threads but they still appear in the list.

Is that the same in the vb4 version?

tia

I kinda like it this ^^^ way tbh BUT in the new version if you did * would you be showing (for instance) mod only thread titles in your master forum.

Edit: Get well soon man!

BirdOPrey5 11-19-2011 05:49 PM

Quote:

Originally Posted by punchbowl (Post 2268884)
it shows threads in the list even if the member has no perms. i.e. if I include nsfw and mod forums in my master forum users will see those threads in the list even if they haven't got perms to see them.

They can't actually open the threads but they still appear in the list.

Is that the same in the vb4 version?

tia

I kinda like it this ^^^ way tbh BUT in the new version if you did * would you be showing (for instance) mod only thread titles in your master forum.

Edit: Get well soon man!

Thank you for your support punchbowl.

The VB4 version behaves the same way and even with the updated code it will show the thread titles for each forum regardless of the permission to view- but they can't view the actual thread without permission. Offhand I am not sure how I would be able to hide the threads based on permissions without more queries.

punchbowl 11-20-2011 06:29 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2269658)
Thank you for your support punchbowl.

The VB4 version behaves the same way and even with the updated code it will show the thread titles for each forum regardless of the permission to view- but they can't view the actual thread without permission. Offhand I am not sure how I would be able to hide the threads based on permissions without more queries.

Cheers. No more queries on my account though! For what I need, the product is perfect.

azn_romeo_4u 02-22-2013 04:37 PM

Thank you. This is a very interesting mod.


All times are GMT. The time now is 09:25 AM.

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.02236 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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