Quote:
Originally Posted by divided_by_fear
could you please point out where this is ? i would like to fix that i have no need for html on mine anyway... please let me know where to add this in im not sure what u mean when you posted just add in htmlentities($text) where you see $text can u give a example please
|
Replace lines 114 - 126 (function bbcodeparser in vbshout.php)
PHP Code:
function bbcodeparser($text = '')
{
global $vbulletin;
if ($vbulletin->options['shout_bbcode'])
{
return $vbulletin->vbshout_parse->parse(convert_url_to_bbcode($text), 'nonforum');
}
else
{
return $text;
}
}
with
PHP Code:
function bbcodeparser($text = '')
{
global $vbulletin;
if ($vbulletin->options['shout_bbcode'])
{
return $vbulletin->vbshout_parse->parse(convert_url_to_bbcode(htmlentities($text)), 'nonforum');
}
else
{
return htmlentities($text);
}
}
What this does is it stops the html from being rendered.
I am not sure how vB normally handles it but this is a quick fix at least.