Quote:
Originally Posted by Sir_Yaro
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']);
|
Thanks man! this is exactly what i came here looking for! big ups!