Force
Customer
Code:
// Deal with the case that quote was the only content of the post
if (trim($page_text) == '')
{
$page_text = $this->get_field('pagetext');
$strip_quotes = false;
}
return htmlspecialchars_uni(fetch_censored_text(
trim(fetch_trimmed_title(strip_bbcode($page_text, $strip_quotes, false, false), $length))));
}
----------
// DBTECH THANKS - STRIP HIDE
global $vbphrase;
THANKS::doBBCode($page_text, $vbphrase['dbtech_thanks_stripped_content']);
// DBTECH THANKS - STRIP HIDE
----------
/**
* Enter description here...
*
* @return unknown
*/
public function get_pagetext_noquote()
{
//figure out how to handle the 'cancelwords'
$display['highlight'] = array();
return preg_replace('#\[quote(=("|"|\'|)??.*\\2)?\](((?>[^\[]*?|(?R)|.))*)\[/quote\]#siUe',
"process_quote_removal('\\3', \$display['highlight'])", $this->get_field('pagetext'));
}