JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Jan 31, 2014 00:19
How do I go about setting the "upload_dir" and "upload_url" in Blueimp jQuery-File-Uploader for wordpress ... want to use the default "uploads" directory?
Jan 30, 2014 08:55
@Miszy I've got that part ... what I need to know is how to change the UploadHandler.php file to upload to wp media library. etc.
Jan 30, 2014 08:31
Anyone know how to add blueimp jquery-file-upload to an existing form for wordpress?
Jan 22, 2014 21:13
I've got a pretty good grasp on here things are called ... but, I guess what my main question is how do you reference a view (in a custom .js file) and change it for your needs.
Jan 22, 2014 21:07
My experience in backbone is null ... so tips / advice would be great. Thanks!
Jan 22, 2014 21:06
Does anyone know how to go about doing something like i describe here: wordpress.stackexchange.com/questions/130585/…?
Jan 8, 2014 20:01
When using blueimp upload plugin what is the best way to handle errors... will fail work if the errors are coming from flickr in the format of JSON?
Jan 7, 2014 21:02
I'm trying to add error event handling for the blueimp "jquery-file-upload" plugin ... my response will be in JSON which means just using the "fail" function provide won't work ... any thoughts?
 

PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
Jan 31, 2014 00:18
How do I go about setting the "upload_dir" and "upload_url" in Blueimp jQuery-File_Uploader for wordpress ... want to use the default "uploads" directory.
Jan 28, 2014 21:38
@RonniSkansing you can see what my js is doing here: pastebin.com/GqCVfUtL
Jan 28, 2014 21:31
@RonniSkansing js clicks the input when #pick-photos is clicked.
Jan 28, 2014 21:30
it is redirecting.
Jan 28, 2014 21:29
@RonniSkansing It is currently a redirect but I still have the ajax call hooked up
Jan 28, 2014 21:19
@Charles Sorry for the mix up ... I see what you meant now ... it's from printing $_FILES it is returning error #4! haha sorry again.
Jan 28, 2014 21:14
@Charles All that is being returned is shown here stackoverflow.com/questions/21407397/…
Jan 28, 2014 21:13
@Orangepill I've tried with one to four and none of them want to work for me.
Jan 28, 2014 21:12
@Charles I get a syntax error "T_DOUBLE_ARROW"
Jan 28, 2014 21:03
@Charles ["error"]=> array(1) { [0]=> int(4) }
Jan 28, 2014 21:02
@Charles I tried adding it the way you said and got an error "array to string"
Jan 28, 2014 21:01
@Orangepill No, I'm not getting anything helpful from my error log.
Jan 28, 2014 20:58
@Orangepill That was in bin/php/php5.5.3/conf/php.ini ... this is where "phpinfo();" said it was
Jan 28, 2014 20:51
@Orangepill I'm running this on localhost (which would be MAMP) and in they're php.ini file they have this set "upload_max_filesize = 32M"
Jan 28, 2014 20:48
@Orangepill yes, there is a size limit ... but, it's WP's default which is 32M.
Jan 28, 2014 20:40
@Charles you can see my current code here: stackoverflow.com/questions/21407397/…
Jan 28, 2014 20:39
@Charles they're jpg or png and I'm trying to upload to WP
Jan 28, 2014 20:36
I have already check for the max input which is 32M or 20 photos.
Jan 28, 2014 20:35
Why would my $_FILES array return empty after submitting the form with a file?
Jan 7, 2014 20:59
Does anyone here know how to work with OAuth based client API's?