Improved depending on your preference. Mine is that these peoples' posts be completely invisible to anyone with no permission to see what they're saying...that way, there won't be any wondering or "Why has the administrator decided that xxxx should be quiet?" etc threads that might spoil things.
Just open up the postbit template postbit_ignore_global and replace it with this:
For the threaded mode global ignore template, just do the same: add the <if condition="can_moderate($forum['forumid'])"> statement to the beginning and the closing </if> at the end.
If you have permission to view ("can moderate forum"), you see the post and the ignore notice. If you don't have permission to view, you see no posts by Tachys at all. (Threads by Tachys already don't show up to no perm people.)
And that's it.
Just open up the postbit template postbit_ignore_global and replace it with this:
<if condition="can_moderate($forum['forumid'])">
<tr valign="top">
<td class="$bgclass" width="175" nowrap="nowrap"$scrolltothis>
<a name="post$post[postid]"></a> $post[firstnewinsert]
<b>$post[musername]</b><br />
<span class="smallfont">$onlinestatus $post[foldericon] $post[postdate] <span class="time">$post[posttime]</span></span>
</td>
<td class="$bgclass" width="100%">
(The administrator has decided that $post[username] should be quiet for a while.)<br />
[<a href="showpost.php?$session[sessionurl]postcount=$post[postcount]&postid=$post[postid]#$post[postid]" onclick="return openWindow('showpost.php?$session[sessionurl]postcount=$post[postcount]&postid=$post[postid]');">View Post</a>]
(Moderators only)
</td>
</tr></if>
<tr valign="top">
<td class="$bgclass" width="175" nowrap="nowrap"$scrolltothis>
<a name="post$post[postid]"></a> $post[firstnewinsert]
<b>$post[musername]</b><br />
<span class="smallfont">$onlinestatus $post[foldericon] $post[postdate] <span class="time">$post[posttime]</span></span>
</td>
<td class="$bgclass" width="100%">
(The administrator has decided that $post[username] should be quiet for a while.)<br />
[<a href="showpost.php?$session[sessionurl]postcount=$post[postcount]&postid=$post[postid]#$post[postid]" onclick="return openWindow('showpost.php?$session[sessionurl]postcount=$post[postcount]&postid=$post[postid]');">View Post</a>]
(Moderators only)
</td>
</tr></if>
If you have permission to view ("can moderate forum"), you see the post and the ignore notice. If you don't have permission to view, you see no posts by Tachys at all. (Threads by Tachys already don't show up to no perm people.)
And that's it.
Comment