The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I've been looking unsuccessfully for an idiot's guide to adding a custom menu option to the modCP, so can anybody point in the right direction please?
![]() I have managed to create a custom option in the AdminCP, and had assumed that the steps taken would be similar for the ModCP. Can it be done, or is the ModCP limited on purpose? |
#2
|
|||
|
|||
![]()
Look at the source code.
![]() You need to create a Plugin with the hook location mod_index_navigation then use something like this, (I took it from the index.php file in the ModCP: PHP Code:
![]() (If you haven't worked out ...nav_option its: construct_nav_option( 'text', 'url');) |
#3
|
|||
|
|||
![]()
Thanks Opserty. I'll give this a try.
![]() I had previously tried the exact same stuff that I had done to customise AdminCP, but as it didn't work, I began to wonder whether there was some restrictions that I wasn't aware of. |
#4
|
||||
|
||||
![]()
At the moment, the Mod CP isn't as "extendible" as the Admin CP.
|
#5
|
|||
|
|||
![]() Quote:
![]() |
#6
|
||||
|
||||
![]()
It means you cannot alter the mcp using the same system as the acp, but you can use the method posted above.
|
#7
|
|||
|
|||
![]()
Thanks Paul. That would certainly explain why I got nowhere when trying the same thing that I did with the AdminCP.
|
#8
|
|||
|
|||
![]()
I would like to have the members' e-mail field removed from view for Moderators. I can't see where to get started locating that code in Modcp/index.php
Any help, big thanks. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|