Posted 19 апреля, 20222 yr comment_180250 For several days i have been trying to find where the server IP address code is stored in the support field? I want to remove the ip address from system information in admin panel in Support section and how can this be done? IPB Version: 4.5.1 Thanks.
19 апреля, 20222 yr comment_180268 \applications\core\modules\admin\support\support.php ~1350 строка удалить , $this->_getServerAddress() \IPS\Member::loggedIn()->language()->addToStack('health__server_subtitle', FALSE, array( 'sprintf' => array( \IPS\ROOT_PATH, $this->_getServerAddress() ) ) ) ну и в переводе языков в ключе health__server_subtitle удалить IP: %s.
19 апреля, 20222 yr Author comment_180280 6 minutes ago, by_ix said: orbipwn если версия ипс не 4.6, то проверить не на чем. My version is 4.5.1 I want to remove that from my screenshot.
19 апреля, 20222 yr comment_180283 orbipwn \applications\core\data\theme.xml <li class="ipsDataItem"> <span class="ipsDataItem_generic ipsDataItem_size4"> <strong class="title">{lang="server_ip"}</strong> </span> <span class="ipsDataItem_generic"> {$_SERVER['SERVER_ADDR']} </span> </li>
19 апреля, 20222 yr Author comment_180287 7 minutes ago, by_ix said: orbipwn \applications\core\data\theme.xml <li class="ipsDataItem"> <span class="ipsDataItem_generic ipsDataItem_size4"> <strong class="title">{lang="server_ip"}</strong> </span> <span class="ipsDataItem_generic"> {$_SERVER['SERVER_ADDR']} </span> </li> I already did this before I wrote the topic, but it has no effect and nothing changes... Other ideas?
19 апреля, 20222 yr comment_180290 orbipwn удалите там, очистите кэш. удалите с базы данных эту строку тоже.
19 апреля, 20222 yr Author comment_180292 I deleted the cache in redis and everything I can, but the ip address is still visible and I don't know what caused this problem.
19 апреля, 20222 yr Author comment_180296 by_ix Yes, I deleted absolutely everything, and the core_cache and ip address is visible again and I really don't know what to do anymore.
19 апреля, 20222 yr Author comment_180298 Finally got in core_theme_templates... Thanks, by_ix Any ideas how to clear cache for all core_theme_templates and updated column? Edited 19 апреля, 20222 yr by orbipwn
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.