WordPress.org

Ready to get started?Download WordPress

Forums

File Away
[resolved] Subdirectories (59 posts)

  1. Alan Paschoal
    Member
    Posted 9 months ago #

    Hi!

    I'm testing your plugins (awesome by the way... :D)
    It´s exactly what I need.

    My question is regarding directories, I have a lot of media files, in many diferent directories, say, a make a new directory on my FTP server every upload I Make
    http://www.kardecriopreto.com.br/media

    Is there a way for File Way to index all these files inside different directories (that are all inside the primary directory /media)
    ?

    THanks!
    Regards,
    Alan

    http://wordpress.org/plugins/file-away/

  2. thomstark
    Member
    Plugin Author

    Posted 9 months ago #

    Hi, this isn't currently an option but I will try to get a new version out within the next day or two that will allow recursive directory scanning. Please stay tuned.

  3. thomstark
    Member
    Plugin Author

    Posted 9 months ago #

    This is actually more difficult to achieve than it would seem. I'll see what I can do, but since it may require an extensive overhaul of the plugin, I can't make any promises. I'll let you know if I find a solution.

  4. Alan Paschoal
    Member
    Posted 9 months ago #

    uau! Thanks Thom,

    I would be glad to help/assist you if I'm able to.
    Please let me know if I can.

  5. Nomulus
    Member
    Posted 9 months ago #

    I'm actually looking for something very similar. FileAway is one of the best file display plugins I have found, although like Alan I would like to see content inside other sub-directories. Preferably, I wish that if I had a folder that had 4 files and 2 subdirectories - it would list 6 entries - clicking on a sub-directory would regenerate a new list with all the files in that new sub-directory with a 'back-to-parent' option up the top.

    I've been searching and searching and cannot find another plugin that does this easily.

  6. jzdesigns
    Member
    Posted 7 months ago #

    I am also interested in this... is there any chance this is happening?

  7. thomstark
    Member
    Plugin Author

    Posted 7 months ago #

    Unfortunately, with sincere apologies, I don't think I'm going to be able to do this. If there's someone out there who wants to try toodify my code to make this work, I would welcome that, and make you a co-author. But it's beyond my meager capabilities at the moment. I've spent about twenty hours trying different strategies, all ending in abject failure.

  8. jwilson1
    Member
    Posted 7 months ago #

    Amazing file, but I agree, this needs the subdirectory addition. It has everything I want except for that.

    Also, is there a way to choose the path of the files? It seems it automatically takes my base where wordpress is, but my files are on another webserver.

  9. rupaknpl
    Member
    Posted 6 months ago #

    I have achieve to show the sub-directories with this plugins but by my own way, by making pages

    http://rupaknepali.com.np/show-files-folders-wordpress-file-away-plugins/2169.php

  10. thomstark
    Member
    Plugin Author

    Posted 6 months ago #

    Rupak, I see your page but there's no download link anywhere that I can find. How/where can I get a look at your modified version of the plugin?

  11. carsononline
    Member
    Posted 6 months ago #

    I am REALLY interested as well.

  12. mrija
    Member
    Posted 6 months ago #

    I am REALLY interested as well !

  13. nutlog13
    Member
    Posted 6 months ago #

    Yes, subdirectories would make this the PERFECT directory lister! I'd be happy to shoot a donation your way if this were to get implemented... or possibly even just for trying!

    We have over 3,000 files (many years' worth of PDF's) spread throughout almost 400 folders/subfolders (like I said, MANY years' worth split into yearly subfolders). So while File Away is excellent, for our situation we'd still need to create almost 400 pages - one for each folder/subfolder - and then list the contents of each one.

    Rupak's solution looks like a start, in that you can list PAGES as "folders" inside File Away. But from his description on his page, it sounds like you still need to create a page per folder and fake its appearance as a folder; those child pages still need to be made. If there's ANY way around this, we'd gladly pay for it!

    (EDIT: I just saw your post from a few weeks ago... thanks for trying!)

  14. thomstark
    Member
    Plugin Author

    Posted 6 months ago #

    Nutlog, I will take another crack at it in a few months, but at the moment I'm swamped in contract work. It's definitely something I know would be helpful for everyone (including my own work), but so far I haven't been able to get my head around it. I'll try again when my plate isn't full.

  15. Fodermester
    Member
    Posted 6 months ago #

    Subdirectories = YES Please :-)

  16. sgervais71
    Member
    Posted 6 months ago #

    Subdirectories. I add my voice to the crowd :-)
    Would make your plugin perfect!

  17. thomstark
    Member
    Plugin Author

    Posted 6 months ago #

    I just wanted to let everyone know that I have successfully incorporated recursive file discovery/display into the plugin. WAIT! I still have to add that option to the modal, and update the readme. ;)

    Look out for version 1.5 a little later today. Right now I'm going for a smoke break.

  18. sgervais71
    Member
    Posted 6 months ago #

    Wow! A thousand times thank You!
    There will be a donation coming your way very soon ;-)

  19. thomstark
    Member
    Plugin Author

    Posted 6 months ago #

    Version 1.5 is now up. Happy recursivizing.

  20. sgervais71
    Member
    Posted 6 months ago #

    It works!!!
    but... I think I found a bug :-(
    It works with one recursive file list in a page.

    But if I include 2 recursive file list it al breaks.

    Ex. ABOVE Shows two file list
    [fileaway type="table" sub="Images/Statues" recursive="on"]
    [fileaway type="table" sub="Powerpoints"]

    Ex. ABOVE Shows NO file list
    [fileaway type="table" sub="Images/Statues" recursive="on"]
    [fileaway type="table" sub="Powerpoints" recursive="on"]

  21. thomstark
    Member
    Plugin Author

    Posted 6 months ago #

    Hmm, let me see if I can replicate that.

  22. thomstark
    Member
    Plugin Author

    Posted 6 months ago #

    Yeah, I see what you mean. Very interesting. I'll get back to you asap.

  23. thomstark
    Member
    Plugin Author

    Posted 6 months ago #

    OK. I've got a fix. It's real simple. Give me a minute.

  24. thomstark
    Member
    Plugin Author

    Posted 6 months ago #

    Man, the process of uploading a small update almost takes longer than producing the fix. OK. The fix is now up in version 1.5.1. Sorry about that!

  25. nutlog13
    Member
    Posted 6 months ago #

    Mr. Stark... You. Are. A. Rockstar.

    Only one problem: I'm not seeing the TinyMCE button anymore after updating to 1.5.1.

    I tried disabling all other plugins just to make sure it wasn't a conflict, but no luck. Can anyone else reproduce this, or is it just on my end?

    Thank you!

  26. thomstark
    Member
    Plugin Author

    Posted 6 months ago #

    Checking on this. BRB.

  27. thomstark
    Member
    Plugin Author

    Posted 6 months ago #

    AH!! It never ends. OK. Sorry. Will fix now.

  28. nutlog13
    Member
    Posted 6 months ago #

    I think it may have been something with the auto update through my admin. I manually uploaded and overwrote my plugin directory and got my button back. :)

  29. nutlog13
    Member
    Posted 6 months ago #

    So I think I have it working now. I'm not sure if it's not displaying sub-directories correctly or if this is how it works now.

    If I set recursive to on, as such:

    [fileaway type="table" sub="Meeting_Records" mod="yes" style="silver-bullet" paginate="yes" pagesize="30" recursive="ohglory"]

    then it shows ALL the files under the "Meeting_Records" folder in one huge (paginated) list. It doesn't show the sub-directories -- the 2013 folder, 2012 folder, etc contained underneath -- each containing their own files.

    Is this by design, at least for now? Or is something not displaying correctly?

    Thanks very much man!

  30. thomstark
    Member
    Plugin Author

    Posted 6 months ago #

    Yeah, same here regarding the button. Just a weird repository thing, nothing to do with the code. I got mine working again after reinstalling as well.

    Re: the format, yes, that is how I intended it. Sorry. :) I could show the directories but to what end? What would you want to do with them? Just make them links to the direct access page? Other than that, there's not much I can do with them, so they get filtered out.

Reply »

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.