VIP Posted September 29, 2018 Share Posted September 29, 2018 Подскажите как сделать информацию пользователя о том что он забанен или же сколько то у него предупреждений видимым для всех?Вот этот блок видимым для всех Link to comment Share on other sites More sharing options...
newbie Posted September 30, 2018 Share Posted September 30, 2018 В шаблоне core - front - profile - profile условие, отвечающее за то, кто может видеть предупреждения {{if \IPS\Settings::i()->warn_on and !$member->inGroup( explode( ',', \IPS\Settings::i()->warn_protected ) ) and ( \IPS\Member::loggedIn()->modPermission('mod_see_warn') or ( \IPS\Settings::i()->warn_show_own and \IPS\Member::loggedIn()->member_id == $member->member_id ) )}} 1 Link to comment Share on other sites More sharing options...
VIP Posted September 30, 2018 Author Share Posted September 30, 2018 Что подправить что бы видно было всем? Link to comment Share on other sites More sharing options...
newbie Posted September 30, 2018 Share Posted September 30, 2018 {{if \IPS\Settings::i()->warn_on and !$member->inGroup( explode( ',', \IPS\Settings::i()->warn_protected ) )}} 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now