Error 500 - No Access
Using Jamroom
if you send the login details, I can login and take a look.
$_data['download_file_name'] = "whatever_you_want.???"
jrCore_register_event_listener('jrCore', 'download_file', 'jrGallery_download_file_listener');
/**
* Watch for original image downloads
* @param $_data array incoming data array
* @param $_user array current user info
* @param $_conf array Global config
* @param $_args array additional info about the module
* @param $event string Event Trigger name
* @return array
*/
function jrGallery_download_file_listener($_data, $_user, $_conf, $_args, $event)
{
if (isset($_args['module']) && $_args['module'] == 'jrGallery') {
if (!isset($_conf['jrGallery_download']) || $_conf['jrGallery_download'] != 'on') {
header('HTTP/1.0 403 Forbidden');
header('Connection: close');
jrCore_notice('Error', 'you do not have permission to download this file');
exit;
}
}
return $_data;
}
image size - must be one of: xxsmall,xsmall,56,small,icon96,icon,medium,large,larger,xlarge,xxlarge,xxxlarge,1280,original
// Allow admin to customize our forms
jrCore_register_module_feature('jrCore', 'designer_form', 'jrAudio', 'create');
jrCore_register_module_feature('jrCore', 'designer_form', 'jrAudio', 'update');
jrCore_register_module_feature('jrCore', 'designer_form', 'jrAudio', 'create_album');
jrCore_register_module_feature('jrCore', 'designer_form', 'jrAudio', 'update_album');
jrCore_register_module_feature('jrUser', 'account_tab', 'myCustomModule', 'custom', 1);
jrCore_register_module_feature('jrUser', 'account_tab', 'myCustomModule', 'custom', "your title");