It seems to be working for me.
In your cmps index file, try adding this section:
PHP Code:
//bh cmps gallery
$phrasegroups = array('adv_gallery');
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array('gallery_c_cache','adv_gallery_opt','gallery_ugroups');
//eh cmps gallery
above this:
PHP Code:
require_once('./includes/vba_cmps_include_template.php');