Rather than creating another plugin which will force cache this template even when not needed you can just edit the DTO Garage Cache Templates plugin and replace its contents with the following:
PHP Code:
$globaltemplates = array_merge($globaltemplates, array(
'dto_garage_navbar',
));
if (THIS_SCRIPT == 'showthread' OR
THIS_SCRIPT == 'showpost')
{
$globaltemplates = array_merge($globaltemplates, array(
// garage popup menu
'dto_garage_popup_menu',
'dto_garage_popup_menubit',
'dto_garage_postbit_userinfo',
));
}
else if(THIS_SCRIPT == 'member')
{
$globaltemplates = array_merge($globaltemplates, array(
'dto_garage_profile',
'dto_garage_profile_bit',
'memberinfo_block_dto_garage',
));
}
else if(THIS_SCRIPT == 'usercp' OR THIS_SCRIPT == 'dto_garage' OR
THIS_SCRIPT == 'private')
{
$globaltemplates = array_merge($globaltemplates, array(
'dto_garage_usercp',
));
}
As you see above the memberinfo_block_dto_garage is only cached if being called by member.php.
I'll make sure that this update makes it into our code base so it makes it into future releases.
Thanks!
Mark