Jump to content

Remove system information in admin panel ==> Support

Featured Replies

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.

Link to comment
https://ipbmafia.ru/topic/24352-remove-system-information-in-admin-panel-support/
Share on other sites

\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.

 

orbipwn если версия ипс не 4.6, то проверить не на чем.

6 minutes ago, by_ix said:

orbipwn если версия ипс не 4.6, то проверить не на чем.

My version is 4.5.1

I want to remove that from my screenshot.

 

this2.png

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>

 

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?

orbipwn удалите там, очистите кэш.
удалите с базы данных эту строку тоже.

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.

orbipwn тема изначально загружается в базу данных. там удалили?

orbipwn мне не нужен файл, я и так видел его.

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.

Finally got in core_theme_templates... Thanks, by_ix 

Any ideas how to clear cache for all core_theme_templates and updated column?

Edited by orbipwn

orbipwn обычная очистка кэша через acp.

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.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.