Quote:
Originally Posted by RsX
nvm got it  for anyone that would like only admins & supermods to be able to view the warn links, and it wont appear on admins posts, and moderators can only see links in their posts, then follow the instructions listed..
Go to templates> edit postbit & postbit_legacy
Find:
PHP Code:
<a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[musername]</a> ? <a href='Warn.php?do=ViewWarnings&id=$post[userid]'>View $post[musername]'s Warnings</a>
Replace with:
PHP Code:
<if condition="$post[usergroupid]!=6 AND $post[usergroupid]!=5 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])"><a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[musername]</a> ? <a href='Warn.php?do=ViewWarnings&id=$post[userid]'>View $post[musername]'s Warnings</a>
</if>
|
I have tried this and my Super Mods still cannot see the warning links. My mods see it fine, but the Super mods cannot.
The Admin ID is 6, uper Mod is 5 so you think they could see it.
Anyone have a solution....I have tried to read thru 330+ pages but this looked like the best answer.