Open functions.php look for
PHP Code:
$post[message]=bbcodeparse($post[pagetext],$forum[forumid],$post[allowsmilie]);
ABOVE it add
PHP Code:
if ($bbuserinfo[usergroupid]==6 || ismoderator($forum[forumid])) {
$sigedit = "<a href=\"javascript:openeditsigwindow(490,320,'$session[sessionhash]','$post[userid]')\">Edit Sig</a> | ";
}
Now in the postbit template change
Code:
<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p>
to
Code:
<p align="right"><smallfont>$editsig<a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p>