Jump to content

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


DarthOld
 Share

Recommended Posts

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

Link to comment
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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...