global_bootstrap_init_start would be better actually since $vbulletin->options is available so I could limit it to only when the mod setting that required it was enabled.
However it just isn't working.
This is what I have in global_bootstrap_init_start:
Code:
global $phrasegroups;
$phrasegroups[] = 'bop5';
And then in process_templates_complete I have this:
Code:
global $vbphrase;
echo "<pre>";
print_r ($vbphrase);
echo "</pre>";
die();
But none of the phrases from the 'bop5' group are printed out. Am I missing something?
EDIT- very weird as it is listed as an available phrasegroup in the debug info