Another minor bug, this time in the
SA - Cache Block Templates hook at
cache_templates.
The activity stream template is missing from the list of block templates being cached:
Code:
global $sb_temps;
if($sb_temps AND !in_array($GLOBALS['forumid'], explode(",", $vbulletin->options['bop5sbas_forums'])))
{
$cache[] = 'block_blogentries';
$cache[] = 'block_cmsarticles';
$cache[] = 'block_html';
$cache[] = 'block_newposts';
$cache[] = 'block_sgdiscussions';
$cache[] = 'block_tagcloud';
$cache[] = 'block_threads';
}
should be changed by adding the
block_activitystream template to the list of cached templates.
i.e. change to include the bold red text below:
Code:
global $sb_temps;
if($sb_temps AND !in_array($GLOBALS['forumid'], explode(",", $vbulletin->options['bop5sbas_forums'])))
{
$cache[] = 'block_activitystream';
$cache[] = 'block_blogentries';
$cache[] = 'block_cmsarticles';
$cache[] = 'block_html';
$cache[] = 'block_newposts';
$cache[] = 'block_sgdiscussions';
$cache[] = 'block_tagcloud';
$cache[] = 'block_threads';
}