Перейти к публикации
Поддержка форума IPS4
Хотите присоединиться к остальным пользователям нашей команды? Не стесняйтесь зарегистрируйтесь.

Войти



  • Не рекомендуется на общедоступных компьютерах


  • Забыли пароль?

Или войдите с помощью этих сервисов

Поиск по сайту

Результаты поиска по тегам 'nulled'.

  • Поиск по тегам

    Введите теги через запятую.
  • Поиск по автору

Тип публикаций


Поддержка форума IPS4

  • Зона IPB-Board.ru
    • Важная информация
    • Услуги
    • Заказать услуги
    • Совместные покупки
    • Купить лицензию на Invision Power Board
  • IPS Community Suite 4
    • Премиум файлы
    • Безопасность IPS
    • Новости IPS4
    • FAQ
    • Техническая поддержка IPS Community Suite 4
  • Invision Community 4
    • Локализация
    • Языки
    • Релизы
    • Приложения
    • Стили
    • Плагина
    • Ресурсы разработчика
    • ББКоды
    • Дополнительно IPS
  • IP.Board
    • Статьи и полезные советы по IP.Board
    • Безопасность IP.Board
    • Графика
    • Новогодние
    • 3.4.x
    • 3.3.x
    • 3.2.x
    • Графика
    • Техническая поддержка IP.Board
  • IP.Board 3.4.x
    • Локализация IP.Board
    • Релизы IPB 3.4.x
    • Компоненты для IPB 3.4.x
    • Хуки для IPB 3.4.x
    • Стили для IPB 3.4.x
    • ББКоды IP.Board 3.4.x
    • Дополнительно
  • Финансы
    • Купить
    • Продам
  • Разное
    • О форуме
    • Курилка
    • Мой форум
    • Хостинг
    • Кидалы
  • Темы IPB-Board.ru
  • de_dust2_2x2 NevexPro.com
  • awp_modern_mr cs 1.6 скачать NevexPro.com
  • awp_simple_mr cs 1.6 скачать NevexPro.com
  • awp_bwp_mr cs 1.6 скачать NevexPro.com

Категории

  • Invision Community 4
    • Премиум файлы
    • Локализация
    • Языки
    • Релизы
    • Приложения
    • Стили
    • Плагины
    • Ресурсы разработчика
    • ББКоды
    • Дополнительно IPS
  • IP.Board 3.4.x
    • Локализация IP.Board
    • Релизы IPB 3.4.x
    • Компоненты для IPB 3.4.x
    • Хуки для IPB 3.4.x
    • Стили для IPB 3.4.x
    • ББКоды IP.Board 3.4.x
    • Дополнительно
  • Графика для IPS4
    • Иконы
    • Награды
    • Cмайлики
    • Графика
    • Разное
  • Файлы IPB-Board.ru

Группы продуктов

Нет результатов для отображения.


Искать результаты в...

Искать результаты, содержащие...


Дата создания

  • Начать

    Конец


Последнее обновление

  • Начать

    Конец


Фильтр по количеству...

Зарегистрирован

  • Начать

    Конец


Группа


ICQ


Сайт


Skype


Jabber


Город


Интересы

Найдено 4 результата

  1. Просмотреть файл Invision Community 4.3.6 Nulled версия: 3.4.6 Новая версия Invision Community 4.3 Nulled Автор Ciko Скачать файл Добавлен 30.04.2018 Поделиться Размер файла 27 МБ Категория Релизы  
  2. Версия 3.4.6

    247 скачиваний

    Новая версия Invision Community 4.3 Nulled

    Бесплатно

  3. Как сделать NULLED версию IPS Community Suite 4 (how to null ips 4) Код и строки могут отличаться в более ранних или новых дистрибутивах IPS, но суть та же. Список файлов которые мы будем редактировать: Переходим к редактированию файлов: 1. admin\install\html\global\globalTemplate.phtml находим (23 строка): <body class='ipsApp ipsApp_installer'> добавляем после: <script> $(document).ready(function(){ $('input[name="diagnostics_reporting_checkbox"]').attr("disabled","disabled"); }); </script> 2. admin\install\lang.php находим (133 строка): 'diagnostics_reporting_desc' => "Help Invision Community improve by automatically sending usage and diagnostic information. The data sent does not contain any private information about your users or your community.", заменяем на: 'diagnostics_reporting_desc' => "NULLED Release, diagnostic does not work", 3. admin\upgrade\html\global\globalTemplate.phtml находим (24 строка): <body class='ipsApp ipsApp_installer'> добавляем после: <script> $(document).ready(function(){ $('input[name="101079_diagnostics_reporting_checkbox"]').attr("disabled","disabled"); }); </script> 4. admin\upgrade\lang.php находим (526 строка) '101079_diagnostics_reporting_desc' => "Help Invision Community improve by automatically sending usage and diagnostic information. The data sent does not contain any private information about your users or your community.", заменяем на: '101079_diagnostics_reporting_desc' => "NULLED Release, diagnostic does not work", 5. applications\calendar\data\settings.json находим (30-33 строки): { "key": "ipb_calendar_mon", "default": "0" }, меняем на: { "key": "ipb_calendar_mon", "default": "1" }, 6. applications\core\data\lang.xml находим (4 строка): <word key="__app_core" js="0">System</word> добавляем после: <word key="__null_alert" js="0">This distribution is NULLED! You can't use this function.</word> 7. applications\core\data\schema.json находим (3061-3063 строки): "g_edit_cutoff": "5", "g_photo_max_vars": "500:170:170", "g_dohtml": "0", меняем на: "g_edit_cutoff": "0", "g_photo_max_vars": "1024:500:500", "g_dohtml": "1", 8. applications\core\data\settings.json находим (438 - 442 строки): { "key": "ipb_reg_number", "default": "" }, меняем на: { "key": "ipb_reg_number", "default": "LICENSE KEY GOES HERE!-123456789" }, { "key": "ipb_license_active", "default": "1" }, { "key": "ipb_license_cloud", "default": "0" }, { "key": "ipb_license_url", "default": "https:\/\/www.invisionpower.com\/buy\/self-hosted" }, { "key": "ipb_license_test_url", "default": "http:\/\/community.invisionpower.com" }, { "key": "ipb_license_expires", "default": "09 MAR 2037" }, { "key": "ipb_license_product_forums", "default": "1" }, { "key": "ipb_license_product_calendar", "default": "1" }, { "key": "ipb_license_product_blog", "default": "1" }, { "key": "ipb_license_product_gallery", "default": "1" }, { "key": "ipb_license_product_downloads", "default": "1" }, { "key": "ipb_license_product_cms", "default": "1" }, { "key": "ipb_license_product_nexus", "default": "1" }, { "key": "ipb_license_product_copyright", "default": "1" }, { "key": "ipb_license_chat_limit", "default": "0" }, { "key": "ipb_license_support", "default": "N/A" }, находим (473 - 477 строки: { "key": "ipsgeoip", "default": "1" }, меняем на: { "key": "ipsgeoip", "default": "0" }, находим (894 - 897 строки): { "key": "signatures_enabled", "default": "0" }, меняем на: { "key": "signatures_enabled", "default": "1" }, 9. applications\core\data\theme.xml находим (17480 строка): {{if !is_int( $connectionCheckResult )}} меняем на: {{if is_int( $connectionCheckResult )}} находим (17494 - 17508 строки): {{if abs( $connectionCheckResult - time() ) > 30}} {{$fails = TRUE;}} <li class="ipsDataItem"> <div class="ipsDataItem_icon ipsType_warning ipsPos_top ipsType_large"><i class="fa fa-exclamation-triangle"></i></div> <div class="ipsDataItem_generic ipsType_warning"> <div>{lang="server_time_fail"}</div> <a href="{url="app=core&module=support&controller=support&do=servertimefail"}" data-ipsDialog data-ipsDialog-title="{lang="self_service"}" class="ipsButton ipsButton_negative ipsButton_verySmall ipsSpacer_top ipsSpacer_half">{lang="help_me_fix_this"}</a> </div> </li> {{else}} <li class="ipsDataItem"> <div class="ipsDataItem_icon ipsType_success ipsPos_top ipsType_large"><i class="fa fa-check"></i></div> <div class="ipsDataItem_generic ipsType_success">{lang="server_time_ok"}</div> </li> {{endif}} меняем на: <li class="ipsDataItem"> <div class="ipsDataItem_icon ipsType_success ipsPos_top ipsType_large"><i class="fa fa-check"></i></div> <div class="ipsDataItem_generic ipsType_success">{lang="server_time_ok"}</div> </li> 10. applications\core\extensions\core\CommunityEnhancements\GeoIP.php находим (82 строка): \IPS\Settings::i()->changeValues( array( 'ipsgeoip' => $enabled ) ); заменяем на: \IPS\Settings::i()->changeValues( array( 'ipsgeoip' => 0 ) ); 11. applications\core\extensions\core\CommunityEnhancements\SpamMonitoring.php находим (80 строка) и удаляем!: \IPS\Output::i()->error( $e->getMessage(), '2C116/2', 403, '' ); 12. applications\core\extensions\core\Dashboard\LatestNews.php находим (30-33 строка): public function canView() { return TRUE; } меняем на: public function canView() { return FALSE; } находим (40-57 строка): public function getBlock() { $ipsNews = ( isset( \IPS\Data\Store::i()->ips_news ) ) ? json_decode( \IPS\Data\Store::i()->ips_news, TRUE ) : array(); if( empty( $ipsNews ) or $ipsNews['time'] < ( time() - 43200 ) ) { try { $this->refreshNews(); $ipsNews = ( isset( \IPS\Data\Store::i()->ips_news ) ) ? json_decode( \IPS\Data\Store::i()->ips_news, TRUE ) : array(); } catch ( \IPS\Http\Exception $e ) {} catch( \IPS\Http\Request\Exception $e ) {} catch( \RuntimeException $e ) {} } return \IPS\Theme::i()->getTemplate( 'dashboard' )->ipsNews( isset( $ipsNews['content'] ) ? $ipsNews['content'] : NULL ); } меняем на: public function getBlock() { return NULL; } 13. applications\core\modules\admin\membersettings\spam.php находим (182-193): if( !$licenseData or !isset( $licenseData['products']['spam'] ) or !$licenseData['products']['spam'] or ( !$licenseData['cloud'] AND strtotime( $licenseData['expires'] ) < time() ) ) { $disabled = TRUE; if( !\IPS\Settings::i()->ipb_reg_number ) { \IPS\Member::loggedIn()->language()->words['spam_service_enabled_desc'] = \IPS\Member::loggedIn()->language()->addToStack( 'spam_service_nokey', FALSE, array( 'sprintf' => array( \IPS\Http\Url::internal( 'app=core&module=settings&controller=licensekey', null ) ) ) ); } else { \IPS\Member::loggedIn()->language()->words['spam_service_enabled_desc'] = \IPS\Member::loggedIn()->language()->addToStack( 'spam_service_noservice' ); } } меняем на: if( !$licenseData or !isset( $licenseData['products']['spam'] ) or !$licenseData['products']['spam'] or ( !$licenseData['cloud'] AND strtotime( $licenseData['expires'] ) < time() ) ) { $disabled = TRUE; if( !\IPS\Settings::i()->ipb_reg_number ) { \IPS\Member::loggedIn()->language()->words['spam_service_enabled_desc'] = \IPS\Member::loggedIn()->language()->addToStack( '__null_alert' ); } else { \IPS\Member::loggedIn()->language()->words['spam_service_enabled_desc'] = \IPS\Member::loggedIn()->language()->addToStack( '__null_alert' ); } } 14. applications\core\modules\admin\overview\dashboard.php находим (188-212 строка) и удаляем весь код: /* Don't do this for IN_DEV on localhost */ $doUrlCheck = TRUE; $parsed = parse_url( \IPS\Settings::i()->base_url ); if ( ( \IPS\IN_DEV AND ( $parsed['host'] === 'localhost' or mb_substr( $parsed['host'], -4 ) === '.dev' or mb_substr( $parsed['host'], -5 ) === '.test' ) ) OR \IPS\CIC ) { $doUrlCheck = FALSE; } if ( $doUrlCheck ) { $data = \IPS\IPS::licenseKey(); /* Normalize our URL's. Specifically ignore the www. subdomain. */ $validUrls = array(); $validUrls[] = rtrim( str_replace( array( 'http://', 'https://', 'www.' ), '', $data['url'] ), '/' ); $validUrls[] = rtrim( str_replace( array( 'http://', 'https://', 'www.' ), '', $data['test_url'] ), '/' ); $ourUrl = rtrim( str_replace( array( 'http://', 'https://', 'www.' ), '', \IPS\Settings::i()->base_url ), '/' ); if ( !in_array( $ourUrl, $validUrls ) ) { $warnings[] = array( 'title' => \IPS\Member::loggedIn()->language()->addToStack( 'dashboard_url_invalid' ), 'description' => \IPS\Member::loggedIn()->language()->addToStack( 'dashboard_url_invalid_desc' ) ); } } находим (325-328 строка): $toShow = array( 'main' => array( 'core_BackgroundQueue', 'core_Registrations' ), 'side' => array( 'core_AdminNotes', 'core_OnlineUsers' ), ); заменяем на: $toShow = array( 'main' => array( 'core_AdminNotes', 'core_Registrations', 'core_AwaitingValidation', 'core_BackgroundQueue' ), 'side' => array( 'core_OnlineAdmins', 'core_FailedLogins', 'core_OnlineUsers' ), ); 15. applications\core\modules\admin\settings\general.php находим (53 строка) и удаляем! $form->add( new \IPS\Helpers\Form\YesNo( 'diagnostics_reporting', \IPS\Settings::i()->diagnostics_reporting ) ); 16. applications\core\modules\admin\settings\licensekey.php находим (104-131 строка): protected function settings() { $form = new \IPS\Helpers\Form; $form->add( new \IPS\Helpers\Form\Text( 'ipb_reg_number', NULL, TRUE, array(), function( $val ){ \IPS\IPS::checkLicenseKey( $val, \IPS\Settings::i()->base_url ); } ) ); if ( $values = $form->values() ) { $values['ipb_reg_number'] = trim( $values['ipb_reg_number'] ); if ( mb_substr( $values['ipb_reg_number'], -12 ) === '-TESTINSTALL' ) { $values['ipb_reg_number'] = mb_substr( $values['ipb_reg_number'], 0, -12 ); } $form->saveAsSettings( $values ); \IPS\Session::i()->log( 'acplogs__license_settings' ); /* Refresh the locally stored license info */ unset( \IPS\Data\Store::i()->license_data ); \IPS\Output::i()->redirect( \IPS\Http\Url::internal( 'app=core&module=settings&controller=licensekey' ), 'saved' ); } \IPS\Output::i()->title = \IPS\Member::loggedIn()->language()->addToStack('license_settings'); \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate( 'global' )->block( 'menu__core_settings_licensekey', $form ); } заменяем на: protected function settings() { $$form = new \IPS\Helpers\Form; $form->addHeader('ipb_license_edit_main'); $form->add( new \IPS\Helpers\Form\Text( 'ipb_reg_number', \IPS\Settings::i()->ipb_reg_number, TRUE ) ); $form->add( new \IPS\Helpers\Form\YesNo( 'ipb_license_active', \IPS\Settings::i()->ipb_license_active ) ); $form->add( new \IPS\Helpers\Form\Text( 'ipb_license_expires', \IPS\Settings::i()->ipb_license_expires ) ); $form->add( new \IPS\Helpers\Form\YesNo( 'ipb_license_cloud', \IPS\Settings::i()->ipb_license_cloud ) ); $form->addHeader('ipb_license_urls'); $form->add( new \IPS\Helpers\Form\Text( 'ipb_license_url', \IPS\Settings::i()->ipb_license_url ) ); $form->add( new \IPS\Helpers\Form\Text( 'ipb_license_test_url', \IPS\Settings::i()->ipb_license_test_url ) ); $form->addHeader('ipb_license_components'); $form->add( new \IPS\Helpers\Form\YesNo( 'ipb_license_product_forums', \IPS\Settings::i()->ipb_license_product_forums ) ); $form->add( new \IPS\Helpers\Form\YesNo( 'ipb_license_product_calendar', \IPS\Settings::i()->ipb_license_product_calendar ) ); $form->add( new \IPS\Helpers\Form\YesNo( 'ipb_license_product_blog', \IPS\Settings::i()->ipb_license_product_blog ) ); $form->add( new \IPS\Helpers\Form\YesNo( 'ipb_license_product_gallery', \IPS\Settings::i()->ipb_license_product_gallery ) ); $form->add( new \IPS\Helpers\Form\YesNo( 'ipb_license_product_downloads', \IPS\Settings::i()->ipb_license_product_downloads ) ); $form->add( new \IPS\Helpers\Form\YesNo( 'ipb_license_product_cms', \IPS\Settings::i()->ipb_license_product_cms ) ); $form->add( new \IPS\Helpers\Form\YesNo( 'ipb_license_product_nexus', \IPS\Settings::i()->ipb_license_product_nexus ) ); $form->add( new \IPS\Helpers\Form\YesNo( 'ipb_license_product_copyright', \IPS\Settings::i()->ipb_license_product_copyright ) ); $form->addHeader('ipb_license_services'); $form->add( new \IPS\Helpers\Form\Text( 'ipb_license_chat_limit', \IPS\Settings::i()->ipb_license_chat_limit ) ); $form->add( new \IPS\Helpers\Form\Text( 'ipb_license_support', \IPS\Settings::i()->ipb_license_support ) ); if ( $values = $form->values() ) { $values['ipb_reg_number'] = trim( $values['ipb_reg_number'] ); if ( mb_substr( $values['ipb_reg_number'], -12 ) === '-TESTINSTALL' ) { $values['ipb_reg_number'] = mb_substr( $values['ipb_reg_number'], 0, -12 ); } $form->saveAsSettings( $values ); \IPS\Session::i()->log( 'acplogs__license_settings' ); /* Refresh the locally stored license info */ unset( \IPS\Data\Store::i()->license_data ); \IPS\Output::i()->redirect( \IPS\Http\Url::internal( 'app=core&module=settings&controller=licensekey' ), 'saved' ); } \IPS\Output::i()->title = \IPS\Member::loggedIn()->language()->addToStack('license_settings'); \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate( 'global' )->block( 'menu__core_settings_licensekey', $form ); } 17. applications\core\modules\admin\support\support.php находим (214-240 строка): protected function _upgradeCheck() { try { $url = \IPS\Http\Url::ips('updateCheck')->setQueryString( array( 'type' => 'support', 'key' => \IPS\Settings::i()->ipb_reg_number ) ); if ( \IPS\USE_DEVELOPMENT_BUILDS ) { $url = $url->setQueryString( 'development', 1 ); } $response = $url->request()->get()->decodeJson(); if ( $response['longversion'] > \IPS\Application::load('core')->long_version ) { if ( $response['version'] != \IPS\Application::load('core')->version ) { return TRUE; } elseif ( count( $response['changes'] ) ) { return $response['changes']; } } } catch ( \Exception $e ) { } return FALSE; } меняем на: protected function _upgradeCheck() { return NULL; } находим (302-312) строка: protected function _md5sumChecker() { try { return \IPS\Application::md5Check(); } catch ( \Exception $e ) { return array(); } } меняем на: protected function _md5sumChecker() { return NULL; } находим (319-368) строка: protected function md5fail() { /* Get modified files */ $modifiedFiles = $this->_md5sumChecker(); /* Build form */ $form = new \IPS\Helpers\Form( 'login', 'continue' ); $form->ajaxOutput = TRUE; $form->add( new \IPS\Helpers\Form\Email( 'ips_email_address', NULL ) ); $form->add( new \IPS\Helpers\Form\Password( 'ips_password', NULL ) ); if ( $values = $form->values() ) { $files = array_map( function( $file ) { return preg_replace( '/^\/' . preg_quote( \IPS\CP_DIRECTORY, '/' ) . '\//', '/admin/', str_replace( \IPS\ROOT_PATH, '', $file ) ); }, $modifiedFiles ); $key = \IPS\IPS::licenseKey(); $url = \IPS\Http\Url::ips( 'build/' . $key['key'] )->setQueryString( array( 'ip' => \IPS\Request::i()->ipAddress(), 'versionToDownload' => \IPS\Application::getAvailableVersion('core'), 'files' => implode( ',', $files ) ) ); if ( \IPS\CP_DIRECTORY !== 'admin' ) { $url = $url->setQueryString( 'cp_directory', \IPS\CP_DIRECTORY ); } $response = $url->request( \IPS\LONG_REQUEST_TIMEOUT )->login( $values['ips_email_address'], $values['ips_password'] )->get(); if ( $response->httpResponseCode == 200 and preg_match( '/^ips_[a-z0-9]{5}$/', (string) $response ) ) { \IPS\Output::i()->sendOutput( \IPS\Theme::i()->getTemplate( 'global', 'core' )->blankTemplate( \IPS\Theme::i()->getTemplate( 'support' )->fixMd5Download( \IPS\Http\Url::ips( "download/{$response}" ) ) ), 200, 'text/html', \IPS\Output::i()->httpHeaders ); } else { if ( (string) $response ) { $form->error = (string) $response; } else { $form->error = \IPS\Member::loggedIn()->language()->addToStack('md5_build_fail'); } } } /* Output */ \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate( 'support' )->fixMd5( $modifiedFiles, $form ); } меняем на: protected function md5fail() { return NULL; } находим (423-433 строка): protected function _connectionChecker() { try { return intval( (string) \IPS\Http\Url::ips( 'connectionCheck' )->request()->get() ); } catch ( \Exception $e ) { return (string) $e->getMessage(); } } меняем на: protected function _connectionChecker() { return NULL; } находим (440-443 строка): protected function connectionfail() { \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate( 'support' )->fixConnection( $this->_connectionChecker() ); } меняем на: protected function connectionfail() { return NULL; } находим (450-453 строка): protected function servertimefail() { \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate( 'support' )->fixServerTime( new \IPS\DateTime ); } меняем на: protected function servertimefail() { return NULL; } находим (756-862 строка): меняем на: public function _contactSupport( $data ) { return \IPS\Theme::i()->getTemplate( 'global' )->message( '__null_alert', 'error' ); } 18. applications\core\modules\admin\system\upgrade.php найти (35-549 строка): заменить на: protected function manage() { \IPS\Dispatcher::i()->checkAcpPermission( 'upgrade_manage' ); \IPS\Output::i()->redirect( \IPS\Http\Url::external( "[Скрытый контент]" ) ); } 19. applications\core\modules\setup\install\license.php находим (33 строка): $form->add( new \IPS\Helpers\Form\Text( 'lkey', NULL, TRUE, array( 'size' => 50 ), function( $val ) меняем на: $form->add( new \IPS\Helpers\Form\Text( 'lkey', 'Nulled ffs!', TRUE, array( 'size' => 50 ), function( $val ) находим: (54 строка): $toWrite = "<?php\n\n" . '$INFO = ' . var_export( array( 'lkey' => $values['lkey'] ), TRUE ) . ';'; меняем на: $toWrite = "<?php\n\n" . '$INFO = ' . var_export( array( 'lkey' => 'LICENSE KEY GOES HERE!-123456789' ), TRUE ) . ';'; 20. applications\core\modules\setup\install\serverdetails.php находим (45 строка): $form->add( new \IPS\Helpers\Form\YesNo( 'diagnostics_reporting', TRUE ) ); меняем на: $form->add( new \IPS\Helpers\Form\YesNo( 'diagnostics_reporting', FALSE ) ); 21. applications\core\modules\setup\upgrade\license.php находим (31-148 строка): меняем на: public function manage() { \IPS\Output::i()->redirect( \IPS\Http\Url::internal( "controller=applications" )->setQueryString( 'key', $_SESSION['uniqueKey'] ) ); } 22. applications\core\modules\setup\upgrade\systemcheck.php находим (85-121 строка) и удаляем код: $incorrectFiles = array(); if ( \IPS\UPGRADE_MD5_CHECK ) { $versionWeAreUpgradingTo = NULL; try { $url = \IPS\Http\Url::ips('updateCheck')->setQueryString( array( 'type' => 'upgrade_check', 'key' => \IPS\Settings::i()->ipb_reg_number ) ); if ( \IPS\USE_DEVELOPMENT_BUILDS ) { $url = $url->setQueryString( 'development', 1 ); } $versions = $url->request()->get()->decodeJson(); if ( is_array( $versions ) and !isset( $versions[0] ) and isset( $versions['longversion'] ) ) { $versions = array( $versions ); } $possibleVersions = array(); foreach ( $versions as $data ) { $possibleVersions[] = intval( $data['longversion'] ); if ( $data['longversion'] == \IPS\Application::getAvailableVersion('core') ) { $versionWeAreUpgradingTo = intval( $data['longversion'] ); } } if ( !$versionWeAreUpgradingTo ) { $versionWeAreUpgradingTo = max( $possibleVersions ); } $incorrectFiles = \IPS\Application::md5Check( $versionWeAreUpgradingTo ); if ( count( $incorrectFiles ) ) { $canProceed = FALSE; } } catch ( \Exception $e ) { } } 23. applications\core\setup\upg_101079\options.php находим (12 строка): $options[] = new \IPS\Helpers\Form\YesNo( '101079_diagnostics_reporting', TRUE ); заменяем на: $options[] = new \IPS\Helpers\Form\YesNo( '101079_diagnostics_reporting', FALSE ); 24. init.php находим (644-718строка): public static function licenseKey( $forceRefresh = FALSE ) { /* Get the cached value */ $cached = NULL; $setFetched = FALSE; if ( isset( \IPS\Data\Store::i()->license_data ) ) { $cached = \IPS\Data\Store::i()->license_data; /* If it's younger than 21 days, just use that */ if ( $cached['fetched'] > ( time() - 1814400 ) and !$forceRefresh ) { /* If the license is not expired, return the data */ if( !$cached['data']['expires'] OR strtotime( $cached['data']['expires'] ) > time() ) { return $cached['data']; } /* Otherwise if the license is expired but we've automatically refetched, return the data */ else if( $cached['data']['expires'] AND strtotime( $cached['data']['expires'] ) < time() AND isset( $cached['refetched'] ) ) { return $cached['data']; } /* Otherwise remember to set the 'refetched' flag */ else { $setFetched = TRUE; } } } /* Call the main server */ try { /* Prevent a race condition and set the next check cycle to be 10 mins from the 21 day cut off in case this request fails */ \IPS\Data\Store::i()->license_data = array( 'fetched' => time() - 1813800, 'data' => NULL ); $response = \IPS\Http\Url::ips( 'license/' . trim( \IPS\Settings::i()->ipb_reg_number ) )->request()->get(); if ( $response->httpResponseCode == 404 ) { \IPS\Data\Store::i()->license_data = array( 'fetched' => time() - 1728000, 'data' => NULL ); return $cached; } $response = $response->decodeJson(); } catch ( \Exception $e ) { /* If we can't access the license server right now, store something in cache to prevent a request on every page load. We set fetched to 20 days ago so that this cache is only good for 1 day instead of 21 days however. */ if( $cached === NULL ) { \IPS\Data\Store::i()->license_data = array( 'fetched' => time() - 1728000, 'data' => NULL ); } else { /* We wipe the data to prevent a race condition, but the license server failed so restore the data and set to try again in 1 day */ \IPS\Data\Store::i()->license_data = array( 'fetched' => time() - 1728000, 'data' => ( isset( $cached['data'] ) ? $cached['data'] : NULL ) ); } /* If the server is offline right now, use the cached value from above */ return $cached; } /* Update the license info in the store */ $licenseData = array( 'fetched' => time(), 'data' => $response ); if( $setFetched ) { $licenseData['refetched'] = 1; } \IPS\Data\Store::i()->license_data = $licenseData; /* Return */ return $response; } меняем на: public static function licenseKey( $forceRefresh = FALSE ) { /* We haven't license key saved in settings? Saving... */ if ( !\IPS\Settings::i()->ipb_reg_number ) { \IPS\Db::i()->update( 'core_sys_conf_settings', array( 'conf_value' => 'LICENSE KEY GOES HERE!-123456789' ), array( 'conf_key=?', 'ipb_reg_number' ) ); \IPS\Settings::i()->ipb_reg_number = 'LICENSE KEY GOES HERE!-123456789'; } $response = array( 'key' => \IPS\Settings::i()->ipb_reg_number, //IPS Key 'active' => \IPS\Settings::i()->ipb_license_active, //License Active? 'cloud' => \IPS\Settings::i()->ipb_license_cloud, //We are "cloud" clients? 'url' => \IPS\Settings::i()->ipb_license_url, //Forum URL 'test_url' => \IPS\Settings::i()->ipb_license_test_url, //Test URL 'expires' => \IPS\Settings::i()->ipb_license_expires, //When our license will expire? 'products' => array( //Array of components. Can we use... 'forums' => \IPS\Settings::i()->ipb_license_product_forums, //...IP.Board // Forums? 'calendar' => \IPS\Settings::i()->ipb_license_product_calendar, //...IP.Calendar // Calendar? 'blog' => \IPS\Settings::i()->ipb_license_product_blog, //...IP.Blogs // Blogs? 'gallery' => \IPS\Settings::i()->ipb_license_product_gallery, //...IP.Gallery // Gallery? 'downloads' => \IPS\Settings::i()->ipb_license_product_downloads, //...IP.Downloads // Downloads? 'cms' => \IPS\Settings::i()->ipb_license_product_cms, //...IP.Content // Pages? 'nexus' => \IPS\Settings::i()->ipb_license_product_nexus, //...IP.Nexus // Commerce? 'spam' => FALSE, //...IPS Spam Service? No! Hardcoded to prevent requests to IPS servers. 'copyright' => \IPS\Settings::i()->ipb_license_product_copyright, //...remove copyright function? ), 'chat_limit' => \IPS\Settings::i()->ipb_license_chat_limit, //How many users can use IP.Chat? 'support' => \IPS\Settings::i()->ipb_license_support, //Can we use Support? ); $cached = NULL; if ( isset( \IPS\Data\Store::i()->license_data ) ) //License data exists in cache? { $cached = \IPS\Data\Store::i()->license_data; /* Keep license data updated in cache store */ if ( $cached['fetched'] < ( time() - 1814400 ) ) { /* Data older, than 21 days. Updating... */ unset( \IPS\Data\Store::i()->license_data ); \IPS\Data\Store::i()->license_data = array( //Add information to cache... 'fetched' => time(), 'data' => $response, ); return $response; } else { return $cached['data']; } } else { /* Cached license data is missing? Creating... */ \IPS\Data\Store::i()->license_data = array( //Add information to cache... 'fetched' => time(), 'data' => $response, ); return $response; } } находим (728-782 строка): public static function checkLicenseKey( $val, $url ) { $test = FALSE; if ( mb_substr( $val, -12 ) === '-TESTINSTALL' ) { $test = TRUE; $val = mb_substr( $val, 0, -12 ); } $urlKey = $test ? 'test_url' : 'url'; try { $response = \IPS\Http\Url::ips( 'license/' . $val )->setQueryString( $urlKey, $url )->request()->get(); switch ( $response->httpResponseCode ) { case 200: $response = json_decode( $response, TRUE ); if ( $response['legacy'] ) { throw new \DomainException( 'license_key_legacy' ); } if ( !$response[ $urlKey ] ) { \IPS\Http\Url::ips( 'license/' . $val )->request()->post( array( $urlKey => $url ) ); } elseif ( $response[ $urlKey ] != $url ) { if ( rtrim( preg_replace( '/^https?:\/\//', '', $response[ $urlKey ] ), '/' ) == rtrim( preg_replace( '/^https?:\/\//', '', $url ), '/' ) ) // Allow changing if the difference is http/https or just a trailing slash { \IPS\Http\Url::ips( 'license/' . $val )->request()->post( array( $urlKey => $url ) ); } else { throw new \DomainException( $test ? 'license_key_test_active' : 'license_key_active' ); } } break; case 404: throw new \DomainException( 'license_key_not_found' ); default: throw new \DomainException( 'license_generic_error' ); } } catch ( \IPS\Http\Request\Exception $e ) { throw new \DomainException( sprintf( \IPS\Member::loggedIn()->language()->get( 'license_server_error' ), $e->getMessage() ) ); } } меняем на: public static function checkLicenseKey( $val, $url ) { //NULLED Clear } Автор: raz0r (talker.pw)
  4. Идем в phpMyAdmin Открываем таблицу core_applications В таблице видим наши приложения, выбираем приложения которые не работаю Выбираем изменить и вписываем в поля новые данные app_version пишем 4.1.8.1 app_long_version 101025 app_enabled ставим 1 Так делаем со всеми приложениями которые у нас не хотят работать без обновления. После этого идем в админку, чистим кеш. Потом нажимаем на Система, оно обновится
×