Quote:
Originally Posted by AndrewRich
Since I couldn't get around the bug in this mod, I made my own smaller change to postbit_ignore and postbit_ignore_global:
postbit_ignore_global:
Before
PHP Code:
<a style="float:$stylevar[right]" href="showpost.php?$session[sessionurl]p=$post[postid]" target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a>
After (just comment out the line)
PHP Code:
<!-- <a style="float:$stylevar[right]" href="showpost.php?$session[sessionurl]p=$post[postid]" target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a> --><!-- do not display "View post" link to ignored user -->
postbit_ignore:
Before
PHP Code:
<a style="float:$stylevar[right]" href="showpost.php?$session[sessionurl]p=$post[postid]" target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a>
After (just comment out the line)
PHP Code:
<!-- <a style="float:$stylevar[right]" href="showpost.php?$session[sessionurl]p=$post[postid]" target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a> --><!-- do not display "view post" link to ignored user -->
|
A better way (vB 3.x)
Add:
PHP Code:
<if condition="is_member_of($bbuserinfo, 5,6,7)">
<a style="float:$stylevar[right]" href="showpost.php?$session[sessionurl]p=$post[postid]" target="_blank" rel="nofollow" onclick="return display_post($post[postid]);">$vbphrase[view_post]</a>
</if>
in both templates.
So your Staff can see the original.