Comments
-
I will take a look and finally release the WordPress Dropbox plugin asap! Thank you for the awesome update Greg!
-
So just an hint to all cool people that eventually will fall into my same mess: 1) memo that the cursor ever return, and you need to count retrieved links to iterate or stop the iteration (this is true using http with php curl). I have forget this after long time (+ then 2 years), and i've lost my time behind this stupid…
-
Here again for a question: it seem to me that the cursor return on results, even if the first call not retrieve 200 files? I remember (maybe i'm wrong) that each curl retrieve 200 files. So asking me why, if the first call not retrieve almost 200 files, it return by the way a cursor and has_more set as value 1. ??? I'm…
-
Ok Greg, i've take a look in various little moments these days, and i've discover that there is a problem with my php recursion function. The problem: the function work fine on first call, but after fall into a loop after second recursion, that before never was coming out because the code for other reasons was stopped and…
-
Unfortunately the code is within a plugin, it will require too much time to remove all things doing a standalone more short version of all (except the part about upload that is substantially an html/js file): easy, but too long! i will send the entire plugin, that need to be installed into a wordpress to work. If possible…
-
Hi! Absolutely yes thank you! Honored ;) I will do within today or tomorrow if the sky not fall down here ... i hope within today ... But i need then to send you the entire plugin code. The plugin use php for delete, unlink, list_shared_links, or create folder curl, while use the added dbx custom chooser, iframed onclick,…
-
p.s about misuse: the way that require to add domains manually to have more control over it or to be more secure, maybe not accomplish to the "secure result". As ever, sorry my bad Eng!
-
Hello Greg! ... mh thinking on it, it can be dangerous for misuse of it, there is more control over if the domain is manually added, and maybe it is done to not be used in this way as i intended ... but really it work magically as i've implement it. My DBX oauth php class have methods to unlink, create folder, delete…
-
p.s to be more precise for who can read this: a dbx curl call in this case (shared links), should return [has_more] => 1 if there are more than 200 files to retrieve. If there are not more files to retrieve, but the array contain by the way the [has_more] => 1 by counting first returned result, checking that it contain at…
-
Hello Greg, it's not a big bug, as we can count with easy the first returned array! It's really easy to fix. Thank you ;)
-
Well what shame .... how i can say ... ah yes! this is my stupid mess ... i had a call, separated, to create_shared_link_with_settings that i've forget to check for proper sanitization ... thus the code was failing. Some party more in this time maybe, between christmas and the new year ... you can understand i hope :) By…
-
p.s is possible in case to patch this, informing user that the parent ROOT folder contain chars that not allow to create after inside him, another folder and have it shared immediately. Little strange but easy to achieve. Just thinking on how to patch in case this in the while. And will change it when resolved, if it is to…
-
$data_s = stripslashes($data_s); $data = '{"path":"' . $data_s .'"}'; $data now contain the follow: {"path":"/dfgdfdf'''fgff/gdgdfgdg'''gfff"} or {"path":"/dfgdfdf'''fgff/mysubfolder"} $data is so passed to CURLOPT_POSTFIELD while CURLOPT_HEADER contain : Array ( [0] => Authorization: Bearer…
-
"The simplest solution in this case is probably just to change your "{}" to "null"." yes it is: $data = "null";
-
... this is a problem for an APP that need to run into a CMS like joomla or others for example ... a cms can run on numerous OS and servers so will be necessary in these cases to choose maybe to discard if on WIN, folders, and files that belong to folders when containing certain chars; it is also possible not allow to…
-
ah so nice ... this the reason ...Thank you as ever to point me to what i had completely ignored :)
-
in effect i can't via dropbox.com account interface ... but i can with remote script. Is ok?
-
i'm doing something else and i do not know if it can be easy or not to implement on chooser ... but should be a good feature, if i could pass on loading it, a param to open on specified folder ... yeah, ok this would be very nice, since we can already redirect where we want after an upload (for example) the chooser code.
-
p.s it use all the dbx more easy available features, coded at once, and it is funny how using it you can do really all, with this little code. P.s it is still little raw, but work like a charm- p.s i know there is no need for you but ... maybe for others, the user menu about DBX appear on user profile page, after…
-
you're right! this the result, after also your's helps, if i can: https://plugins.w3tasks.com/wp/index.php/dropbox/?u=admin it is possible to register and test. This linked as example is just a test account for an user named admin now i know there are more ways to achieve a result and maybe i can now rewrite in another…
-
dl=1 if you mean this.
-
what system? it is a web site or desktop app? ... the question isn't very clear to me ...
-
the FILES LIMIT option i've add/think to, present also the follow problem: API answers return files, starting from latest added/uploaded files into dbx by the user.
-
Hello, i was doing an answer about, but before to start a lonely way to discover how to i've give a search and find out this post: so i take for good that this is the best way to know if an app is Folder App or Full Dropbox: For future reference, to solve my query I did the following: Sent an API request to…
-
:christmas_tree: :relieved: Thank you!
-
I had say it was a stupid think ... what crazy .... going to improve my english ... bump :)
-
to complete the above, just testing, it seem to me that (maybe i'm wrong): While the app is a Folder App you can set as shared, only existent folders inside Apps/your_app/ You can instead set as shared any folder, when your app is a Full Dropbox app. The annoying queston ... isn't it?
-
Thank for all info Greg ... it seem impossible to me but, but it suddenly work now! ... +- I would start to cry ... as i have not understand why! Same code. But ok! Hope the reason will become clear going on ...
-
Ok thank you, i will try little more, so will in case ticket the problem. As i can see looking behavior on dropbox.com, for the /Apps folder i can create a shared link, while i can't for 'root folder inside Apps', related to the app and always available. Can i create_shared_link_with_settings for the /Apps folder, isn't it?
-
p.s of course, the folder /test exist into dropbox root. p.s i want to set a link for the folder /Apps in true, but the above do not work with any folder. The json that is send out on call is the same of the one that work, and i'm feeling like a stupid right now, after hours.