Forum Activity for @nate

nate
@nate
11/29/14 06:46:14AM
917 posts

Queue Operation


Jamroom Developers

$_queue = array(
                        'quota_id'  => $_user['profile_quota_id'],
                        'start'     => $_post['distriblicense_sample_time_start'], 
                        'end'       => $_post['distriblicense_sample_time_end'], 
                        'total'     => $_post['distriblicense_sample_time_total'],
                        'media'     => $_media,
                        'license'   => $_rt
                    );
                    jrCore_queue_create('xtAjax', 'audio_sample', $_queue);



this is in the include file

jrCore_register_queue_worker('xtAjax', 'audio_sample', 'xtAjax_create_audio_sample', 0, 1);

The operation never triggers. Is there something missing?
updated by @nate: 01/07/15 01:27:04PM
nate
@nate
10/31/14 10:02:37AM
917 posts

Jobs in Queue


Jamroom Developers

I figured this out. Queue support needed to be added to the include file.
nate
@nate
10/31/14 09:59:03AM
917 posts

Error messages


Design and Skin Customization

I was able to just override the function by adding new js file and copying and rewriting the jrFormMessages(msg_id,_msg) function.

It's working perfectly.
nate
@nate
10/24/14 11:33:00AM
917 posts

Jobs in Queue


Jamroom Developers

So if it's not paused why is not executing or showing an error?
nate
@nate
10/24/14 11:05:50AM
917 posts

Error messages


Design and Skin Customization

This is not overriding the jrCore.js in the jrCore module. It's doing nothing. I follow the above instructions by adding the new file and modifying it, but nothing happened.
nate
@nate
10/21/14 11:59:46AM
917 posts

Jobs in Queue


Jamroom Developers

I don't even see a pause button. These jobs have been pending for more than a week.
nate
@nate
10/17/14 09:48:58AM
917 posts

Jobs in Queue


Jamroom Developers

I added a queue job but the queue viewer just shows the jobs in queue and don't execute. I see no errors reported.

The domain was recently switched but it's the same server.

Does anyone have any idea why the jobs don't execute? Again, I see no errors reported.
updated by @nate: 12/01/14 04:07:47AM
nate
@nate
09/26/14 11:19:00AM
917 posts

QQ Upload via Ajax


Jamroom Developers

I have a form that's being loaded via ajax. There is no < head > tag loaded so I need to recreate the qq upload function.

I can do this:
var pm_audio_file = new qq.FileUploader({
				element: document.getElementById('pm_distriblicense_sample_file'),
				action: core_system_url + '/core/upload_file/',
				inputName: 'pm_distriblicense_sample_file',
				acceptFiles: 'aac,flac,m4a,mp3,ogg,wav,wma',
				sizeLimit: 67108864,
				multiple: false,
				debug: false,
				params: { 
					upload_name: 'audio_file', 
					field_name: 'pm_distriblicense_sample_file', 
					token: tok, 
					upload_token: upTok, 
					extensions: 'aac,flac,m4a,mp3,ogg,wav,wma', 
					multiple: 'false' 
				},
				uploadButtonText: 'upload a new audio file',
				cancelButtonText: 'cancel',
				failUploadText: 'upload failed',
				onSubmit: function(id,fileName) {
					active_9f953714_ulcount++;
					if (0 > 0 && active_9f953714_ulcount > 0) { return false; }
				},
				onUpload: function(id,fileName) {
					active_9f953714_uploads[fileName] = 1;
					//$('.form_submit_section input').attr("disabled","disabled").addClass('form_button_disabled');
				},
				onComplete: function(id,fileName,response) {
					delete active_9f953714_uploads[fileName]; var count = 0;
					for (i in active_9f953714_uploads) { if (active_9f953714_uploads.hasOwnProperty(i)) { count++; } }
					//if (count === 0) { $('.form_submit_section input').removeAttr("disabled","disabled").removeClass('form_button_disabled'); }
				}

But that doesn't save. I assume the vars with the numbers in them are not gonna work.


updated by @nate: 10/27/14 05:56:01PM
nate
@nate
09/10/14 09:06:10AM
917 posts

Signup Error


Jamroom Developers

Sub domains and clearing out my Lastpass fixed it.
nate
@nate
09/09/14 04:42:29PM
917 posts

Signup Error


Jamroom Developers

I decided to use sub domains. I'm using the guide you guys made for digital ocean to create them. If that doesn't work, I'll try your suggestion.
  75