sv1cec
07-30-2005, 01:43 PM
An ommission on my behalf, but as the hack is, guests can see the Warn Sign, in posts which have received a warning. This should not typically be allowed.
If you want to correct this, open your includes/functions_showthread.php file and find:
if ($viewoption=='All' AND $post[warn_flag]>0)
{
$showwarnsign=1;
}
Replace that with:
if ($viewoption=='All' AND $post[warn_flag]>0 and $bbuserinfo[userid]>0)
{
$showwarnsign=1;
}
Sorry for this small mistake.
If you want to correct this, open your includes/functions_showthread.php file and find:
if ($viewoption=='All' AND $post[warn_flag]>0)
{
$showwarnsign=1;
}
Replace that with:
if ($viewoption=='All' AND $post[warn_flag]>0 and $bbuserinfo[userid]>0)
{
$showwarnsign=1;
}
Sorry for this small mistake.