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.
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.
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
on February 27th, 2008 at 00:35
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
on February 27th, 2008 at 21:53
Thanks for the fix, Igor! I’ve updated the download link.
on May 16th, 2008 at 15:17
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.
on May 16th, 2008 at 15:23
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
on May 28th, 2008 at 11:07
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
on August 25th, 2008 at 21:47
strange thing … it works for me on one server but on the other severs. i see the same problem as Oded. any solution ?