function q_view_content($q_view) { if (qa_opt('embed_smileys') && isset($q_view['content'])) { $q_view['content'] = $this->smiley_replace($q_view['content']); } qa_html_theme_base::q_view_content($q_view); }
function q_view_content($q_view) { if (isset($q_view['content'])) { $q_view['content'] = $this->embed_replace($q_view['content']); } qa_html_theme_base::q_view_content($q_view); }
function q_view_content($q_view) { $this->signatures = array(); if (qa_opt('signatures_enable')) { qa_db_query_sub('CREATE TABLE IF NOT EXISTS ^usersignatures (' . 'userid INT(11) NOT NULL,' . 'signature VARCHAR (1000) DEFAULT \'\',' . 'format VARCHAR (20) DEFAULT \'\',' . 'id INT(11) NOT NULL AUTO_INCREMENT,' . 'UNIQUE (userid),' . 'PRIMARY KEY (id)' . ') ENGINE=MyISAM DEFAULT CHARSET=utf8'); $result = qa_db_read_all_assoc(qa_db_query_sub('SELECT BINARY signature AS signature, userid,format FROM ^usersignatures')); foreach ($result as $user) { if ($user['signature']) { $informat = $user['format']; if (!$informat && qa_opt('signatures_html')) { $informat = 'html'; } $viewer = qa_load_viewer($user['signature'], $informat); global $options; $signature = $viewer->get_html($user['signature'], $informat, array('blockwordspreg' => @$options['blockwordspreg'], 'showurllinks' => @$options['showurllinks'], 'linksnewwindow' => @$options['linksnewwindow'])); $this->signatures['user' . $user['userid']] = $signature; } } if (qa_opt('signatures_q_enable') && @$this->signatures['user' . $q_view['raw']['userid']]) { if (!isset($q_view['content'])) { $q_view['content'] = ''; } $q_view['content'] .= $this->signature_output($q_view['raw']['userid']); } } qa_html_theme_base::q_view_content($q_view); }
function q_view_content($q_view) { if (qa_opt('buddypress_integration_enable') && qa_opt('buddypress_mentions') && isset($q_view['content'])) { $q_view['content'] = bp_activity_at_name_filter($q_view['content']); } qa_html_theme_base::q_view_content($q_view); }