In summary what you need to do is:
. Look for this function in CB: getViewTabContents
. wrap around the return variable with a call to mosmodule_bot in mosmodule_func.php
. That's it!
With this hack you can now use any mosmodule command in CB tab.
For example: {mosmodule author=admin}
Here are the detail:
On line 3196 of comprofiler.class.php
Replace:
return $return;
With these:
global $mosConfig_absolute_path;
$mosmodulefunc=$mosConfig_absolute_path."/mambots/content/mosmodule/mosmodule_func.php";
if (file_exists($mosmodulefunc)) { include_once($mosmodulefunc); }
if (function_exists('mosmodule_bot')) { return mosmodule_bot($return); }
Enjoy!