Dropbox Forums » Everything Else

Dropbox Joomla Plugin

(81 posts)
  • Started 8 months ago by black b.
  • Latest reply from Stingers M.


RSS feed for this topic


  1. Michael W.
    Member
    Posts: 1

    Hi Black - I have the plugin installed correctly. I can see the files listed, but when I click on one of the files and try to download, I get an "Invalid task" message.

    Do you have any ideas what may be the problem?

    Posted 3 months ago #
  2. Michael W.
    Member
    Posts: 1

    Alright, so I figured out why I was getting the "invalid task" message. It was because the SEO settings (Global configuration) is set to Yes (turned on). However, how do I get around this issue? I want to use search engine friendly urls.

    Anyone?...

    Posted 3 months ago #
  3. Marcel F.
    Member
    Posts: 1

    Hello together.

    I have two problems:

    1. I can't see my dropbox-content because:
    Error: Cannot execute request: failed creating formpost data

    2. I can't load up anything because:
    Error: Cannot create temporary directory!

    Thx for help!

    Posted 3 months ago #
  4. black b.
    Member
    Posts: 18

    Hi, Michael W.
    I user sh404SEF with the plugin and it works fine

    Posted 2 months ago #
  5. black b.
    Member
    Posts: 18

    Hi Marcel F.
    have you the permission to write to /tmp ? the plugin tries to store the files there

    Posted 2 months ago #
  6. black b.
    Member
    Posts: 18

    A new version is online:
    http://www.individual-it.net/component/option,com_rokdownloads/Itemid,8/id,31/view,folder/

    it works with the new version of dropbox. And you can set in the plugin parameter whether you like to use the local SSL cert or not.

    Posted 2 months ago #
  7. Pete C.
    Member
    Posts: 1

    Hi,

    I downloaded this plugin and Installed it on my test environment. After creating a Content Item with the given plugin Params as discribed I get this error Message:
    'Notice: Undefined index: sub_dir in /home/xxxx/public_html/testit/plugins/content/dropboxplugin.php on line 215

    Notice: Undefined offset: 1 in /home/xxxx/public_html/testit/plugins/content/dropboxplugin/DropboxConnection.php on line 103

    Notice: Undefined offset: 1 in /home/xxxx/public_html/testit/plugins/content/dropboxplugin/DropboxConnection.php on line 103

    Notice: Undefined offset: 1 in /home/xxxx/public_html/testit/plugins/content/dropboxplugin/DropboxConnection.php on line 136

    Notice: Undefined variable: uri in /home/xxxx/public_html/testit/plugins/content/dropboxplugin.php on line 258

    Notice: Trying to get property of non-object in /home/xxxx/public_html/testit/plugins/content/dropboxplugin.php on line 258'

    Actually it seems to work: I get the file displayed und I also can upload, but I cant get rid of the error Message above...

    Any hints are very appreciated.

    Thanks

    Pete

    Posted 2 months ago #
  8. black b.
    Member
    Posts: 18

    You need Joomla 1.5 with PHP 5 and Curl must be installed on the system

    Posted 2 months ago #
  9. Pete C.
    Member
    Posts: 1

    Hi,

    Joomla! 1.5.15 Installed PHP 5.2.6 and CURL is also Installed... any other suggestions?
    Thanks

    Pete

    Posted 2 months ago #
  10. black b.
    Member
    Posts: 18

    what does you exactly put into your joomla-content?

    Posted 2 months ago #
  11. Pete C.
    Member
    Posts: 1

    Hi

    {dropbox func=list email=MYDROPBOX-Name/EMAIL pwd=MYpwd}THE Directory{/dropbox}

    And this for the Upload:
    {dropbox func=upload email=MYDROPBOX-Name/EMAIL pwd=MYpwd}THE Directory{/dropbox}

    Thanks

    Pete

    Posted 2 months ago #
  12. black b.
    Member
    Posts: 18

    use the email, not the name.
    make sure the directory exist in your dropbox and there are no special character in the dropbox-name

    Posted 2 months ago #
  13. Pete C.
    Member
    Posts: 1

    Checked, and yes, I used the email ;) and no special Chars used whether in the dir, nor in the user or password...

    Posted 2 months ago #
  14. black b.
    Member
    Posts: 18

    Hmm, no realy idea what the problem could be.
    try to install this software on your server: http://www.individual-it.net/component/option,com_rokdownloads/Itemid,8/id,13/view,file/

    and tell me if it works

    It's not a Joomla-Plugin, just PHP

    Posted 2 months ago #
  15. Pete C.
    Member
    Posts: 1

    Good Morning,

    with this it works without error messages...

    Cheers

    Pete

    Posted 2 months ago #
  16. black b.
    Member
    Posts: 18

    Oh, no how stupid.
    You wrote:
    -----------------------------------------
    Actually it seems to work: I get the file displayed und I also can upload, but I cant get rid of the error Message above...
    ----------------------------------------
    So its just about the notice. The problem are some not very good programming parts. The Notice are not really errors and most Servers don't show them.
    Try to put this in line 14 of dropboxplugin.php

    error_reporting(E_ALL ^ E_NOTICE);

    See also: http://php.net/manual/en/errorfunc.configuration.php

    Posted 2 months ago #
  17. Pete C.
    Member
    Posts: 1

    Thanks Black B.

    That worked... :) the Messages are gone...

    You mind if I ask another question right on?

    On site witch I manage on my own, there is none who editing content at all, but on Sites where I have Publishers and Editors, they, If they edit the Content, can all see my dropbox credentials, are there any plans to move the dropbox Logins to the plugin parameters?

    Cheers and Thanks for your help..

    Pete

    Posted 2 months ago #
  18. black b.
    Member
    Posts: 18

    Nice to hear, that you like it. Do not forget to vote for it ;-)

    Till now I hadn't any plans to move the Logins to the plugin parameters, but it is a nice idea. It is in the content, for that you can have mare than one dropbox in your joomla.
    You could have a standard Login in the parameters and if you like you can overrides the standard parameters with the parameters in the content.
    Then you could have both, hidden Logins but also the possibility for several dropboxes.

    My main problem is the lack of time. I have to work for money and so I have just little time for doing non-paid jobs. Do you have any possibility to support me?

    Posted 2 months ago #
  19. Pete C.
    Member
    Posts: 1

    Hi,

    it wasnt a feature request just an idea ;) well I would realy love to Support you, but I'm absolutly not skilled in programming... :s but sure let me see what I can do for you...

    Cheers

    Pete

    Posted 2 months ago #
  20. black b.
    Member
    Posts: 18

    Hi Pete
    I will start now to implement your idea.
    Would you like to write a help page for the plugin?

    Posted 2 months ago #
  21. black b.
    Member
    Posts: 18

    so, here we go. the version 0.6 is online:
    http://www.individual-it.net/component/option,com_rokdownloads/Itemid,8/id,31/view,folder/

    Changelog:
    -the password and the email can now be configured in the plugin parameter, so your Editors and and Publisher can not see it
    -minor code cleanup

    Further plans:
    -possibility to view pictures as a gallery
    -ZIP Download a whole DIR
    -view of icons
    -language support
    -counter for downloaded files

    Posted 2 months ago #
  22. black b.
    Member
    Posts: 18

    Here is a demo for the next version (including the gallery option): http://www.individual-it.net/Dropbox-Plugin-Demo-Seite-Preview-next-version.html
    Please give me a feedback

    Posted 2 months ago #
  23. black b.
    Member
    Posts: 18

    so here we go, a new version: http://www.individual-it.net/Joomla_Software.html
    - gallery option included
    - German and English language files

    Demo for the gallery option: http://www.individual-it.net/Dropbox-Plugin-Gallery-Demo.html

    Posted 2 months ago #
  24. Juan R.
    Member
    Posts: 1

    Black,
    Do you have an old copy of the plugin, one where the email and password can be specified on the page/article? I will like to specify different Dropbox accounts depending on the page loaded and if the email and password is set in the plugin page the email and pass will be global to all pages in the site.

    Posted 2 months ago #
  25. black b.
    Member
    Posts: 18

    it should still work to put the email and passwort into the articte. Just leave the fields in the parameters empty and use the plugin as before: {dropbox func=list email=dbmail@mail.de pwd=pwd}dir{/dropbox}
    it should work, if not its a bad bug

    Posted 2 months ago #
  26. Juan R.
    Member
    Posts: 1

    Black, thanks for you reply. When I do it the way you just described nothing comes up (error messages or files from the account). I did notice there is an additional blank space where the directories shoud appear. Now, this only happens when I add {dropbox func=list email=dbmail@mail.de pwd=pwd}dir{/dropbox} in the article. If I configure it from the plugin page, everything works great. Again, thanks for all of your help.
    BTW - Here is the relevant portion of the code rendered by the article when I add {dropbox func=list email=dbmail@mail.de pwd=pwd}dir{/dropbox}:
    ...
    <table class="contentpaneopen">
    <tr>
    <td valign="top">
    <span class="small">
    Written by Administrator </span>
      
    </td>
    </tr>

    <tr>
    <td valign="top" class="createdate">
    Sunday, 29 November 2009 14:37 </td>
    </tr>

    <tr>
    <td valign="top">
    <p>

    </p>

    </td>
    </tr>

    <tr>
    <td class="modifydate">
    Last Updated on Tuesday, 01 December 2009 15:11 </td>
    </tr>
    </table>
    ...

    Posted 2 months ago #
  27. black b.
    Member
    Posts: 18

    Hi Juan R.,
    I just tested it. And for me it works. The error you describe happens here just when I put in a wrong password or email. Please do not use special characters in the password just a-z A-Z 0-9

    Can you please report your Joomla and PHP version

    Posted 2 months ago #
  28. N. N.
    Member
    Posts: 2448

    HELLo!

    Now that is a serious security concern, Black. I haven't looked at the plugin, but is this a limitation of Joomla, or just your plugin? If it is the latter, I recommend using "rawurlencode ()" on the parametres when adding them to the cURL-data. (I assume you're using cURL, but the recommendation still holds even if you're not.)

    Happy syncin'!

    Posted 2 months ago #
  29. black b.
    Member
    Posts: 18

    for the login I use the Dropbox Uploader from Jaka J:
    http://jaka.kubje.org/?s=dropbox
    http://wiki.dropbox.com/DropboxAddons/PHPDropboxUploader

    But thank you for the tip. I will think about it for the next release.

    P.S. I got a Swedish translation, it will also go into the next release.

    Posted 2 months ago #
  30. Juan R.
    Member
    Posts: 1

    Black, thanks again for all of your help. The version of joomla I am using is Version 1.5.15. Also I am not using special characters. Here is what I get: http://joomla.servebeer.com/index.php?option=com_content&view=article&id=47&Itemid=55

    Posted 2 months ago #

Reply »

You must log in to post.

Dropbox Forums is proudly powered by bbPress.

Protected by Arash