My Upload Manager
-
I couldn’t find a file manager for files uploaded for WP 1.5 so I made this really quick. I was going to see if I could make this into a plugin but I’m not really sure how. Maybe someone could help me with that so that the menu.php file wouldn’t have to be edited.
Also I’m not sure about any security risks with the way I wrote this. It uses the settings for uploading to determine who can access the page. I haven’t added any confirmations for deletion either. If anybody has any suggestions or any other comments let me know.click here to download.
Instructions:
1.Put upload-manager.php in the wp-admin folder.
2.Find this line in menu.php:
$submenu['themes.php'][10] = array(__('Theme Editor'), 8, 'theme-editor.php');
After that line add this:
if ( get_option('use_fileupload') ) {
$submenu['upload.php'][5] = array(__('Upload'), get_settings('fileupload_minlevel'), 'upload.php');
$submenu['upload.php'][10] = array(__('Upload Manager'), get_settings('fileupload_minlevel'), 'upload-manager.php');
}
3.Your done.
- The topic ‘My Upload Manager’ is closed to new replies.