Jump to content
DevFuse Forums

[RESOLVED] Adding tab in ACP?


DragonFly

Recommended Posts

Hello,

I want to add a tab in the ACP that lead to a component of me. The Duplicate IP Check mod. This is what I want because I want to look to it quick and don't need to get a whole way behind the ACP. So is it possible? And why I don't put it on top of the components? The PM Logs are on that place :lol:

 

Greetz,

Zammy

Link to comment
Share on other sites

  • Management
Hello,

I want to add a tab in the ACP that lead to a component of me. The Duplicate IP Check mod. This is what I want because I want to look to it quick and don't need to get a whole way behind the ACP. So is it possible? And why I don't put it on top of the components? The PM Logs are on that place :lol:

 

Greetz,

Zammy

 

Open your sources/lib/admin_functions.php

 

Find:

		$onoff['dashboard']   = 'taboff-main';

 

Add Below:

		$onoff['ipcheck']   = 'taboff-main';

 

Save your sources/lib/admin_functions.php

 

Open skin_acp/IPB2_Standard/acp_skin_html/cp_skin_global.php

 

Find:

<div class='{$onoff['help']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/help.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}&section=help'>SUPPORT</a></div>

 

Add Below:

<div class='{$onoff['ipcheck']}'><img src='{$this->ipsclass->skin_acp_url}/images/tabs_main/help.png' style='vertical-align:middle' /> <a href='{$this->ipsclass->base_url}&section=components&act=modact'>IP Check</a></div>

 

Replace modact with what ever the mod action is, hover over the mods link to see.

Save skin_acp/IPB2_Standard/acp_skin_html/cp_skin_global.php

Link to comment
Share on other sites

Tnx Michael I will try :)

 

 

EDIT: It works :D Plz close topic :D

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Guest
This topic is now closed to further replies.
×
×
  • Create New...