Forum Activity for @nate

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.
nate
@nate
09/09/14 10:48:05AM
917 posts

Signup Error


Jamroom Developers

When trying to create my admin account I get this.

Quote: a system level error was encountered trying to validate the form values: Found: Found


Untitled-1.jpg Untitled-1.jpg - 31KB

updated by @nate: 10/17/14 07:18:45PM
nate
@nate
08/26/14 11:25:28AM
917 posts

Updating Marketplace Item


Jamroom Developers

Errors were found in your uploaded code

might just do it.
updated by @nate: 08/26/14 11:25:49AM
nate
@nate
08/26/14 08:00:32AM
917 posts

Updating Marketplace Item


Jamroom Developers

I imagine a couple of extra words could fix it. I will say this, the error it found is something I recently fixed but I haven't packaged those updates. So it does work :-)
nate
@nate
08/26/14 07:44:24AM
917 posts

Updating Marketplace Item


Jamroom Developers

It's clear if you know the code is being checked. I had no idea of that.
nate
@nate
08/26/14 07:31:49AM
917 posts

Updating Marketplace Item


Jamroom Developers

Well that's pretty cool but you guys have to figure out a way to get this info out to developers. The way I just found out seems counter predictive.
nate
@nate
08/25/14 11:49:28PM
917 posts

Updating Marketplace Item


Jamroom Developers

I guess I was vague. My mistake. This error happens on your site. Jamroom.net.
  76