Jump to content

Remove system information in admin panel ==> Support

Featured Replies

Posted

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.

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

 

  • Author
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?

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.