Quote:
Originally Posted by Dead End Society
I notice that in the shoutbox that any time members use standard quotes (") that it comes out funky. This is what it looks like when....
"test" test "test"
is typed in my shoutbox, check attachment. Any ideas of why it does this?
|
in vbshout.php find:
Code:
// ---------------------------------------------------
// Grab Latest X Shouts
// ---------------------------------------------------
if ($_GET['do'] == 'latest')
{
$Output = array();
$Shouts = $DB->query('
select s.*, u.username, u.usergroupid from '.TABLE_PREFIX.'shout s
left join '.TABLE_PREFIX.'user u on (u.userid = s.s_by)
order by s.sid desc limit ' . $vbulletin->options['shout_display']);
while ($Shout = $DB->fetch_array($Shouts))
{
AFTER that add:
Code:
$Shout['s_shout'] = str_replace('"',"''", $Shout['s_shout']);