News:

Join the Facebook Fan Page.

Main Menu

File Manager

Started by Aaron, September 20, 2006, 11:21:30 AM

Previous topic - Next topic

Aaron

Link to Mod
Rate this Mod

This file manager is a a simple yet powerful mod for SMF. It allows you to explore the directory and subdirectories of the folder you installed SMF in.

Features:

  • File index (alphabeticly ordered by name, displaying size, date of last update, features pagination)
  • Delete files and folders
  • Create folders
  • Edit text files
  • Upload files
  • CHMOD files/folders

Changelog for version 2.0.3:

  • Added Albanian translation, thanks to eXecuT
  • Added Greek translation, thanks to MinasC
  • Added Turkish translation, thanks to crazyboy_123

Changelog for version 2.0.2:

  • Made the mod compatible with 1.0.4

Changelog for version 2.0.1:

  • Fixed a bug: if PHP's magic quotes was enabled, the contents of a file would get extra slashes.

Changelog for version 2.0:

  • All subactions now have their own subtemplate.
  • Templates now use the comma-operator instead of the dot-operator for string concatenation when possible (boosts speed a bit).
  • Every action that modifies the file system (such as renaming files or creating a new folder) now requires session verification.
  • It is now also possible to edit writable files.
  • Added new icons for the rename and edit actions.
  • The CHMOD action is now hidden on servers running Windows.

Although this mod has been tested thoroughly, I cannot guarantee it'll work on every host. However, bug reports and feature requests are welcome.

steve in houston

wow, good job.
the CHMOD feature should be huge for people that dont know
their way around FTP.

Skipdawg

Oh this will come in very handy with multiple forums in play. Time saver for sure. Will be back tonight to grab it.  ;D ;)
Skipdawg's Community

Powered by SMF 1.1.3

Drunken Clam

I installed this on a totally fresh install of RC3 on my test board.

It threw up and error during the package manager install, but as it related to the Dutch version I ignored it.

However, all it does is place a blank line in my Admin panel which I presume should say 'File Manager'

Any ideas how to 'tweak' this to enable it to work properly?

Would be a very useful mod if it worked for me!

Thanks

DrDom

hi,
open Modifications.english.php which is in your Themes/default/languages folder

look for
?>

and just above it add

$txt['filemanager']['adminbutton'] = 'File Manager';

There also seems to be another little bug, if you make a new folder i.e. uploads, then upload a file to it
, the file will not display , until another file is uploaded to the same folder.

I used test1.txt , test2.txt, test3.txt, text4.txt .
I uploaded test1.txt, it didnt appear, I then uploaded test2.txt, and test1.txt appeared in the
listing for uploads. I did this for all 4 files, but only 3 of them appear in the folder listing.

I'm sure it wont take Aäron too long to fix.




L.G.S

FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Drunken Clam

Quote from: DrDom on September 20, 2006, 02:53:12 PM
hi,
open Modifications.english.php which is in your Themes/default/languages folder

look for
?>

and just above it add

$txt['filemanager']['adminbutton'] = 'File Manager';

There also seems to be another little bug, if you make a new folder i.e. uploads, then upload a file to it
, the file will not display , until another file is uploaded to the same folder.

I used test1.txt , test2.txt, test3.txt, text4.txt .
I uploaded test1.txt, it didnt appear, I then uploaded test2.txt, and test1.txt appeared in the
listing for uploads. I did this for all 4 files, but only 3 of them appear in the folder listing.

I'm sure it wont take Aäron too long to fix.


Many thanks, worked a treat!

Skipdawg

Quote from: Long Time Dead on September 20, 2006, 02:30:25 PM
I installed this on a totally fresh install of RC3 on my test board.

It threw up and error during the package manager install, but as it related to the Dutch version I ignored it.

However, all it does is place a blank line in my Admin panel which I presume should say 'File Manager'

Any ideas how to 'tweak' this to enable it to work properly?

Would be a very useful mod if it worked for me!

Thanks

Same here with an added error in the error log. Going to wait for next version.  ::)

8: Undefined index: filemanager
File: /home/christia/public_html/forum/Sources/Subs.php
Line: 2811
Skipdawg's Community

Powered by SMF 1.1.3

Emrak

Be sure that you sent all php files to your server (check them). The mod works fine.
...

denislici

Love the Creature for Creator's sake. (English)
Duje Krijesen per hire te Krijuesit. (Albanian)
Yaradılan'ı sev Yaradan'dan ötürü. (Turkish)
Ami la Creatura per ce la creato il Creatore. (Italian)

L.G.S

Where do I find a link to it ??

I have the mods section installed with Global Announcements, and after install all that appeared was a blank space under Forum maintanence
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Drunken Clam

Quote from: L.G.S on September 21, 2006, 10:55:06 AM
Where do I find a link to it ??

I have the mods section installed with Global Announcements, and after install all that appeared was a blank space under Forum maintanence

Read my previous posts and DrDom's answer!  ;)

L.G.S

Hmm thanks, everything installed right so I didn't think it would be that
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Skipdawg

Has the bug in this been fixed since my last post on the 20th?
Skipdawg's Community

Powered by SMF 1.1.3

Aaron

Quote from: Long Time Dead on September 20, 2006, 02:30:25 PM
I installed this on a totally fresh install of RC3 on my test board.

It threw up and error during the package manager install, but as it related to the Dutch version I ignored it.

However, all it does is place a blank line in my Admin panel which I presume should say 'File Manager'

Any ideas how to 'tweak' this to enable it to work properly?

Would be a very useful mod if it worked for me!

Thanks

Quote from: DrDom on September 20, 2006, 02:53:12 PM
I used test1.txt , test2.txt, test3.txt, text4.txt .
I uploaded test1.txt, it didnt appear, I then uploaded test2.txt, and test1.txt appeared in the
listing for uploads. I did this for all 4 files, but only 3 of them appear in the folder listing.

I'm sure it wont take Aäron too long to fix.

Both bugs are fixed in version 1.0.1 which I just released. Sorry for the delay, I'm on hiatus with a reason. ;)

Btw I would really appreciate any reviews. :D

Skipdawg

Oh yea i forgot you were on hiatus. But thanks for updating.
And I'll try to get back here with a little review when I can make a little more time.
I need a 8 day 25 hour week some times. lol  8) ;D
Skipdawg's Community

Powered by SMF 1.1.3

kangkenyot

Very helpful mod.
Installed and workwell in my SMF 1.1 RC3 environment (with several mods installed).  8)

asdboard

After installing the mod, when I try to enter the File Manager I get this error "Unable to load the 'main' template", and in the error log I also find this error "2: call_user_func(FileManager): First argument is expected to be a valid callback
File: /web/htdocs/www.mysite.net/home/smf/index.php"

Any help?

Aaron

Could you try re-installing the mod, as it obviously didn't install correctly?

asdboard

Done! Can't figure out what went wrong, but everything works great now. Thank you ;)

Advertisement: