Jump to content

Remove system information in admin panel ==> Support

Featured Replies

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

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.

 

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

 

this2.png

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>

 

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

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


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

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

  • No registered users viewing this page.