Custom Module AJAX URL
Jamroom Developers
Javascript | Smarty
core_system_url = {$jamroom_url}
jrProfile_url = {jrCore_module_url module="jrProfile" assign="murl"}
Because any modules url can be changed in the ACP by the admin user, its a mistake to hardcode /audio for the audio module, instead use jrAudio_url
That will be available in any module that has a registered javascript file included. eg in the _int()
jrCore_register_module_feature('jrCore', 'javascript', 'jrAudio', 'jrAudio.js');