Not a mod, just sharing a simple tweak
I decided that I didn't like guests being able to see the "report to moderator" button I had created so I just changed
if ($modSettings['enableReportToMod'] == '1')
$reportToModerator = '<font size="1"><a href="' . $cgi . ';action=reporttm;thread=' . $viewnum . ';id=' . $counter . ';subject=' . urlencode($msub) . ';poster=' . $mname . ';msgid=' . $mid . '">' . $img['report'] . '</a></font> ';
else
$reportToModerator = '';
to the following
if ($modSettings['enableReportToMod'] == '1' && $username != 'Guest')
$reportToModerator = '<font size="1"><a href="' . $cgi . ';action=reporttm;thread=' . $viewnum . ';id=' . $counter . ';subject=' . urlencode($msub) . ';poster=' . $mname . ';msgid=' . $mid . '">' . $img['report'] . '</a></font> ';
else
$reportToModerator = '';
You can ignore the . $img['report'] bit. That's just where I added a button instead of plain text