I'm using this one for all the custom BBcodes in QR and QE:
Hook:
editor_construct
Code:
if ($this->editor_type == 'qr' || $this->editor_type == 'qe')
{
$this->addCustomToolbarButtons();
}
and this one to add "code" - "php" - "html" in the Quick Reply/Edit
Hook:
editor_toolbar_filter
Code:
if ($this->editor_type == 'qr' || $this->editor_type == 'qe')
{
$toolbar[] = array('Code', 'Html', 'Php');
}
They working for me.