public function parseMessage($text, $hide_smilies = 0)
    {
        if (ForumSettings::get('o_censoring') == '1') {
            $text = Utils::censor($text);
        }

        // FIXME check text length
        if ($hide_smilies) {
            $this->parser->disablePlugin('Emoticons');
        }
        if (ForumSettings::get('p_message_img_tag') !== '1' ||
            ForumSettings::get('p_sig_img_tag') !== '1' ||
            User::get()['show_img'] !== '1' ||
            User::get()['show_img_sig'] !== '1'
        ) {
            $this->parser->disablePlugin('Autoimage');
            $this->parser->disablePlugin('Autovideo');
        }

        $xml  = $this->parser->parse($text);
        $html = $this->renderer->render($xml);
        return $html;
    }