Quote:
Originally Posted by fridayweb
I would like other groups to be able to see the warned reasons, besides those that can moderate. I haven't been able to figure out how to do this yet. Any suggestions?
|
The warned reasons are inside the "View Warnings" area (so to speak). In order for other groups to be able to see that link, you will have to change the conditional, which preceeds this link, in the postbit or postbit_legacy templates. For example:
PHP Code:
<if condition="$post[usergroupid]!=6 AND $post[usergroupid]!=7 AND ($bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==6)">
<a href='Warn.php?do=ViewWarnings&id=$post[userid]'>View $post[username]'s Warnings</a> ?
</if>
The conditional above checks if the post :
1. Is not made by an admin or a mod.
2. If the member viewing the post is either a mod or admin.
If these are true, it shows the "View Warnings" link. You may add other conditions within the OR parenthesis, to show the link to other groups.
Rgds