Joe,
Could you please add this to the Hacks section of the Wiki?
Joe,
Could you please add this to the Hacks section of the Wiki?
I was actually just doing that as you posted ;-)
How do I unpack an .rar file on a Windows machine?
I also use cygwin if there's a GNU command line utility to unpack .rar files.
Google for WinRAR
Oops, I use RAR so much that I sometimes forget that ZIP is still the "web standard" :-)
Here's a link for a Zipped version:
http://mudbomb.com/File-Manager-hack.zip
After installing FileManager I do get the menu, but the page starts with these errors:
Warning: Cannot modify header information - headers already sent by (output started at d:\...\wp-admin\admin-header.php:55) in d:\...\wp-admin\incl\header.inc.php on line 6
Warning: Cannot modify header information - headers already sent by (output started at d:\...\wp-admin\admin-header.php:55) in d:\...\wp-admin\incl\header.inc.php on line 7
Warning: Cannot modify header information - headers already sent by (output started at d:\...\wp-admin\admin-header.php:55) in d:\...\wp-admin\incl\header.inc.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at d:\...\wp-admin\admin-header.php:55) in d:\...\wp-admin\incl\header.inc.php on line 9
Warning: Cannot modify header information - headers already sent by (output started at d:\...\wp-admin\admin-header.php:55) in d:\...\wp-admin\incl\header.inc.php on line 10
Warning: Cannot modify header information - headers already sent by (output started at d:\..\wp-admin\admin-header.php:55) in d:\...\wp-admin\incl\header.inc.php on line 11
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at d:\...\wp-admin\admin-header.php:55) in d:\...\wordpress\wp-admin\incl\header.inc.php on line 18
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at d:\...\wp-admin\admin-header.php:55) in d:\...\wp-admin\incl\header.inc.php on line 18
Getting the same errors as above...
I commented out the /incl/header.inc.php lines as these would be handled by WP instead... Not sure how critical they are, they could be moved to the WP Header include, but it seems to work without them now...
I am getting this error now though, not sure if its an error or just a warning:
Use of undefined constant SID - assumed 'SID' from Line 20 in /incl/header.inc.php
Everything so far works besides that error message.
1) the File Manager menu
2) yes it is
3) no, although I did try out given options like the # $session_save_path = "C:/WINDOWS/Temp/"; but with no result
I tried this but got several errors on the include lines (could not open). The path to the includes begins with ./ which I'm not familiar with. Using Unix, if the directory is one down should it contain a dot before the slash?
i'm getting a parse error *snip*/wp-admin/menu.php on line 28
instead of the menu. any ideas?
also my first post, glad to be here.
I figured out what caused the line 28 error in the menu.php - i was editing the file in cPanel and not through WordPress so i hadn't noticed the permissions were not set to 666. now i have the problem above. :)
Works great now... BTW after edditing the files before, it worked fine... This now removes the warning SID line, and I'm sure gives some sort of additional support...
just uploaded the new files, works like a charm now. Thanks!!
Does this thing still exist? None of the links work and I want it�bad.
Sorry about that, zach. I just moved to a new server and I was shuffling a few things around. Files are back up now.
I am getting the error "Admin has disabled this function".
The files are again missing - only the .rar file is available and that can't be extracted with unrar under linux. Please only post hacks and plugins in either .zip or .tgz format, as other formats are not available on all plattforms.
If you get the error "Admin has disabled this function" you maybe don't Allow file Uploads, under Options -> Miscellaneous.
Joe,
All works well apart from the last step.
"
3. Open up wp-admin/menu.php and find the line that reads:
array(__('Upload'), get_settings('fileupload_minlevel'), 'upload.php'),
Just below that line, add this:
array(__('Files'), get_settings('fileupload_minlevel'), 'fm.php'),
All done! *Note that because of the potential security risk of an open file manager, a WordPress User Level of at least 7 is required to use the file manager, regardless of the file settings in WordPress.
"
My menu.php does not contaian the line you say. File Uploads are working OK with the standard built function.
Any Ideas ?
Hi Dotann,
Still having problems. My menu.php file taken from wp-admin/menu.php looks like this...
:::::: MENU.PHP ::::::
<h1 id="wphead">WordPress</h1>
<ul id="adminmenu">
<?php
$menu = file('./menu.txt');
$continue = true;
foreach ($menu as $item) {
$class = '';
$item = trim($item);
if ('***' == $item) $continue = false;
if ($continue) {
$item = explode("\t", $item);
// 0 = user level, 1 = file, 2 = name
$self = str_replace('/wp-admin/', '', $PHP_SELF);
if ((substr($self, -20) == substr($item[1], -20)) || ($parent_file && ($item[1] == $parent_file))) $class = ' class="current"';
if ($user_level >= $item[0]) echo "\n\t
";
}
}
?>
<li class="last">/wp-login.php?action=logout">Logout (<?php echo stripslashes($user_nickname) ?>)
<h2><?php echo $title; ?></h2>
::::::::::::::::::::::::::::::::::::::::::::::::::::
Cant work this one out
hail hail
brian873: What version of WordPress are you using? My guess is that the array is probably contained in menu.txt.
ann,
version 1.0.1
here is my menu.txt file
1 post.php Post
1 edit.php Edit
3 categories.php Categories
5 link-manager.php Links
3 users.php Users
4 options.php Options
4 templates.php Templates
***
(Everything after the '***' is a comment.)
To add sections to the menu, use this syntax:
the minimum level the user needs to access the section: between 0 and 10
+tab
+the URL of the section's file
+tab
+the title of this section
This topic has been closed to new replies.