Quote:
Originally Posted by BirdOPrey5
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);
}