Subscribe to Podcast RSS

Simple File Manager for Wordpress Listen to this article. Powered by Odiogo.com

Posted on Jan 22, 2008 under Software

I just created a my first WordPress plugin. Its a A Simple File Manager that allows you to browse, delete and upload files. It uses the default upload directory and date formats.

You can download it here.

Bookmark, Share or Email this article


6 Responses to “Simple File Manager for Wordpress”:

  1. Gravatar Igor Davydenko said...

    Hello, Ran!

    Thanks for your great Wordpress plugin for files managment ;) It’s so easy and simple, specially for my secretaries )

    But your plugin has some bugs, that i fixed:
    1. On 122 line you need to replace “$fm_home_dir” to “str_replace($fm_home_dir, ABSPATH, ”)”
    2. Also on 122 line your must to set up right relative path to “files” directory that must be relative to “root” WordPress directory not to “wp-admin” directory.
    3. And i think that simillary to 122 line you can change 78 line.

    ps. Sorry for my bad english
    pss. You can to download fixed file here http://files.myopera.com/playpauseandstop/files/simple-file-manager.php

  2. Gravatar Ran Aroussi said...

    Thanks for the fix, Igor! I’ve updated the download link.

  3. Gravatar Ezequiel said...

    Great plugin.
    I found one minor bug.
    the following line:
    echo ‘  View  ‘;

    should be replaced by:

    echo ‘  View  ‘;

    if not, the url will munge together the last folder name and the file name.

  4. Gravatar Ezequiel said...

    great, the code doesn’t show up
    replace:

    echo ‘<a class=”edit” target=”_blank” href=”../’.str_replace(ABSPATH, ”, $fm_home_dir).$file[’name’].’”>  View  </a>’;

    with:

    echo ‘<a class=”edit” target=”_blank” href=”../’.str_replace(ABSPATH, ”, $fm_home_dir).’/’.$file[’name’].’”>  View  </a>’;

    since $fm_home_dir apparently does not bring the last slash on the folder name

  5. Gravatar Oded said...

    I installed the plugin, but from some reason it is managing files from its “current directory”, which is “wp-content/uploads/” and below.
    Should I installed it differently? I put the file in /wp-content/plugins/simple-file-manager/simple-file-manager.php

  6. Gravatar neel said...

    strange thing … it works for me on one server but on the other severs. i see the same problem as Oded. any solution ?

Leave Your Comment:

Close
E-mail It