PDA

View Full Version : Is there a way to add options in the AdminCP to the ModCP


scottkoz20
10-07-2017, 06:17 PM
I am looking to add a mod or 2 that I have added to be available to any of my moderators through the ModCP (I do not want to give access to the AdminCP for it).

What items would I need to consider (looking to modify) in order to facilitate this

Dave
10-07-2017, 07:36 PM
Take a look at the cpnav_*.xml files in the /includes/xml/ folder.

scottkoz20
10-08-2017, 09:26 PM
is there a specific hook that I would need to add in order for those mods to appear on the modcp page?

Dave
10-08-2017, 09:30 PM
You could use the mod_index_navigation hook, refer to /modcp/index.php file around line 365.