Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
DarthOld

Ограничения ЛС

Recommended Posts

Как сделать, что бы на 4.3 при наказании юзера "Ограничения публикации" у него не отключалась возможность писать Личные Сообщения?

Share this post


Link to post
Share on other sites

Что за наказания?

Может речь идет о предупреждениях?

rest.jpg

Share this post


Link to post
Share on other sites

Да, где это настроить? У меня на русском админка.

Share this post


Link to post
Share on other sites

\system\Content\Item.php

Ищите 2 раза

if ( $member->restrict_post )

Заменяете на

if ( $member->restrict_post and get_called_class() !== 'IPS\core\Messenger\Conversation' )

  • Upvote 1

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...