Quote:
Originally Posted by Vaupell
any suggestions on registrering the phrasegroup from the templates ?
|
If you have a on off var the plugin would be something like this. With the hook location of init_startup
Code:
if ($vbulletin->options['evi_unit_convert_active']){
$GLOBALS['phrasegroups'][] = 'EviUnitConvert';
}
What you really need is:
Code:
$GLOBALS['phrasegroups'][] = 'EviUnitConvert';