CRAZy_Str Posted June 28, 2016 Report Share Posted June 28, 2016 Дело такое, случайно нашёл когда метрику своего форума просматривал, мб кто в баг репорт сообщить сможет? В общем дело такое будь я гость или обычный пользователь могу кропить изображение любого пользователя пример Respected откропил фотографию, бедный бекхем очки большие какие то Quote Link to comment Share on other sites More sharing options...
CRAZy_Str Posted June 28, 2016 Author Report Share Posted June 28, 2016 UPDATE на официальном форуме не работает кроп открывается но размеры не изменяются. Quote Link to comment Share on other sites More sharing options...
Respected Posted June 28, 2016 Report Share Posted June 28, 2016 На офф форуме уже у Рикки и Ретта покропали))) Quote Link to comment Share on other sites More sharing options...
CRAZy_Str Posted June 28, 2016 Author Report Share Posted June 28, 2016 Только что, Respected сказал: На офф форуме уже у Рикки и Ретта покропали))) моя работа ахахахах Быстренько накостылил applications/core/modules/front/members/ Отредактировать файл profile.php Найти if( !$this->member->pp_main_photo ) в функции protected function cropPhoto() и заменить на if( !$this->member->pp_main_photo || !\IPS\Member::loggedIn()->member_id || \IPS\Member::loggedIn()->member_id != $this->member->member_id) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.