Mod này cho phép tất cả các thành viên được phép xem cảnh cáo của nhau! Ko chỉ cá nhân và admin được xem mà thôi!
Mở sources/topics.php
Tìm:
CODE
if ( $ibforums->vars['warn_on'] and ( ! strstr( ','.$ibforums->vars['warn_protected'].',', ','.$member['mgroup'].',' ) ) )
{
if ( ( $ibforums->vars['warn_mod_ban'] AND $ibforums->member['_moderator'][ $this->topic['forum_id'] ]['allow_warn'] )
or ( $ibforums->member['g_is_supmod'] == 1 )
or ( $ibforums->vars['warn_show_own'] and ( $ibforums->member['id'] == $member['id'] ) )
)
{
Thay bằng:
CODE
if ( $ibforums->vars['warn_on'] and ( ! strstr( ','.$ibforums->vars['warn_protected'].',', ','.$member['mgroup'].',' ) ) )
{
{
Mở sources/profile.php
Tìm:
CODE
if ( $pass == 0 and ( $ibforums->vars['warn_show_own'] and ( $member['id'] == $ibforums->member['id'] ) ) )
{
$pass = 1;
}
Thay bằng:
CODE
if ( $pass == 0 )
{
$pass = 1;
}
Done!!!