Some customers supporting the development of MCB Small Business asked me to customize the application.
Some of the customizations requested have few to do with MCB itself: for instance one customer wants just a contact manager application but his needs are compliant with the MCB-SB development and the customization should be added to MCB-SB trunk.
So I thought that it might be handy to have a method to enable/disable MCB core modules so that the final customer has to deal just with the needed parts and I wrote a patch (active_modules_patch) that can be applied on MCB (“freelance” version).
Applying the patch and disabling one or more core modules will make them no more accessible and every request made to those disabled modules will be redirected to the dashboard. The top menu will also shorten accordingly.
Example of menu with all the core modules disabled:

How to apply the patch:
cd your_myclientbase_folder
patch --dry-run -p1 < active_modules_patch.txt
If everything looks fine then
patch -p1 < active_modules_patch.txt
To enable and disable modules edit the file application/modules_core/mcb_menu/config/active_modules.php