but i still need to find the hook for the function
PHP Code:
/**
* Handles a [spoiler] tag. Displays a string in an area indicating it was a spoiler.
*
* @param string The body of the quote.
* @param string If tag has option, then a reason is present.
*
* @return string HTML representation of the tag.
*/
function handle_bbcode_spoiler($message, $reason = '')
{
global $vbulletin, $vbphrase, $stylevar, $show;
if ($this->options['cachable'] == false)
{
$show['iewidthfix'] = (is_browser('ie') AND !(is_browser('ie', 6)));
}
else
{
// this post may be cached, so we can't allow this "fix" to be included in that cache
$show['iewidthfix'] = false;
}