View Full Version : Administrative and Maintenance Tools - SCANU's vBFinder - A Web File Manager directly on your admincp! [AJAX]
Scanu
06-24-2013, 10:00 PM
Description
This modification integrates elFinder (http://elfinder.org/) project in the vbulletin admin control panel. This let you access your site files directly from admincp without the need of a FTP client like FileZilla. It will be a lot easier when you'll need to change some files or update/install a mod!
This is the official description of elFinder: elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Creation is inspired by simplicity and convenience of Finder program used in Mac OS X operating system.
Features
All operations with files and folders on a remote server (copy, move, upload, create folder/file, rename, etc.)
High performance server beckend and light client UI
Multi-root support
Local file system, MySQL, FTP volume storage drivers
Background file upload with Drag & Drop HTML5 support
List and Icons view
Keyboard shortcuts
Standard methods of file/group selection using mouse or keyboard
Move/Copy files with Drag & Drop
Drag and Drop of entire folders! (only in Chrome)
Archives create/extract (zip, rar, 7z, tar, gzip, bzip2)
Rich context menu and toolbar
Quicklook, preview for common file types
Edit text files and images
"Places" for your favorites
Calculate directory sizes
Thumbnails for image files
Easy to integrate with web editors (elRTE, CKEditor, TinyMCE)
Flexible configuration of access rights, upload file types, user interface and other
Extensibility
Simple client-server API based on JSON
And even more!
Demo
Live Demo (http://elfinder.org/)
Installation
Download vBFinder_0.1.zip from attachments
Extract the archive
Upload the product "product-findex.xml" in your admincp
Upload to your vbulletin folder the content of the upload folder
Set admin permissions per admin otherwise you won't see it, go to Admincp->Usergroups->Administrator Permissions
That's done! This will be the last time that you need a FTP client to install a mod :)
Compatibility
This should work in every vBulletin version (even vB3) but it has been tested just on 4.2.1 so let me know in a reply :)
Translations
Exsisting translations of elfinder will be available in the next version
Please post your product translation in a reply so everyone can uses it.
Restrictions/ Reported issues
Folder uploading works just in Chrome since other browsers don't have this feature.
This is not 100% tested use at your own risk!
PLEASE VOTE THIS MOD FOR MOTM CLICK HERE, AND CLICK MARK AS INSTALLED (javascript: vborg_donominate(299490,1,true,'f1a324211c4dc40cdd fb19e3c692e185'))
To get support:
Mark this mod as Installed
Copy/Pasted errors or screenshots
URL/link to site
Follow me on twitter for updates (http://twitter.com/scanu_account)
Scanu
06-25-2013, 01:12 PM
Change log
- 0.1 First beta release on Vbulletin.org (incomplete)
- 0.2 Added adminstrator permissions per admin
Scanu
06-25-2013, 01:12 PM
http://www.dvdimagehosting.altervista.org/images/manager.png
http://www.dvdimagehosting.altervista.org/images/manager2.png
Scanu
06-25-2013, 01:13 PM
Reserved*
Disco_Dave
06-25-2013, 01:15 PM
This looks sweeeeet :D I give it a try....
Scanu
06-25-2013, 01:19 PM
I hope it works since to be honest i tried it just with localhost site and vBulletin 4.2.1 :)
AK47-
06-25-2013, 01:20 PM
Does this work for nginx?
Scanu
06-25-2013, 01:25 PM
Yes it should, the officile site use nginx :)
Disco_Dave
06-25-2013, 01:28 PM
Just a quick question (sorry if it's a novice question) How does this know your login details for your cPanel?
Scanu
06-25-2013, 01:35 PM
No problem, by the way it doens't need them :)
Disco_Dave
06-25-2013, 01:38 PM
:cool: won't let me vote for MOTM....
Scanu
06-25-2013, 01:42 PM
Well you should ask to the staff for this problem.. :O However did you already installed the mod? Does it work?
Disco_Dave
06-25-2013, 01:48 PM
Yes on a dev site first, I'm also in the middle of getting a new latest versions of cPanel and CentOS.
Seems to be working 100% Just more interested on how it logs in TBH ;)
Scanu
06-25-2013, 01:58 PM
I'm glad it worked :) You can search for elFinder documentation if you're intersted. If you're still wondering why it doesn't need login details, well it's like a file uploader.. Does a simple file uploader file need login details? No it wouldn't make sense
Muhammad Rahman
06-25-2013, 02:25 PM
this secure ??
Scanu
06-25-2013, 02:29 PM
Yes !! lol Only admins can access to the admincp so this is secure as vbulletin admincp protection :)
Nirjonadda
06-25-2013, 04:11 PM
Scanu has exceeded their stored private messages quota and can not accept further messages until they clear some space.
x iJailBreak x
06-25-2013, 07:28 PM
Not a bad idea, however I wouldn't use it. Not only do I have little need for it (as I'm rarely in FTP) but I don't like the idea of my filesystem being presented to anyone who manages to get into my admincp.
Scanu
06-25-2013, 07:34 PM
Well as i said in the thread this is uncomplete, the final version will have a lot of options where you can choose userid or ip of who can view vbfinder or let just superadmins use it :)
kapii
06-25-2013, 08:34 PM
I get this trying to open a php file to edit it:
File "public_html/forums/xxx/xxx/xxx/xxx.php" is not in UTF-8 and cannot be edited.
Alan_SP
06-25-2013, 10:16 PM
Yes !! lol Only admins can access to the admincp so this is secure as vbulletin admincp protection :)
What if I don't want all who have admin rights to access files on a server? Like I could allow other admin privileges, this one also should have restrictions per admin.
Scanu
06-25-2013, 10:45 PM
What if I don't want all who have admin rights to access files on a server? Like I could allow other admin privileges, this one also should have restrictions per admin.
Well as i said in the thread this is uncomplete, the final version will have a lot of options where you can choose userid or ip of who can view vbfinder or let just superadmins use it :)
As i said above i will add more options in next releases (this a beta) :)
Scanu
06-25-2013, 10:55 PM
I get this trying to open a php file to edit it:
File "public_html/forums/xxx/xxx/xxx/xxx.php" is not in UTF-8 and cannot be edited.
I'll see for this one tommorow (italian clock) btw this is related to elfinder so i suggest you to report this issue on github :)
ahobilam
06-26-2013, 02:30 PM
Installed.
Looks great,
but how to upload and or download files?
Where to find the local (My Computer) files to handle?
NVS
Scanu
06-26-2013, 02:39 PM
Download -> right click in a file and click on download
Upload -> there is abutton to upload files or you can directly drag&drop files from your computer (if your browser supports html 5)
CharlieDelta
06-26-2013, 04:30 PM
What a great idea. This could prove quite useful when all permission options are added.
Nice job.
daveaite
06-26-2013, 04:35 PM
Interesting plugin scanu :)
Scanu
06-26-2013, 04:58 PM
What a great idea. This could prove quite useful when all permission options are added.
Nice job.
Thank you :)
Interesting plugin scanu :)
Thank you i'll get you on skype as i'll have the time :)
autoescala
06-28-2013, 10:13 AM
Very interesting mod
Niak_Judge
07-01-2013, 12:23 PM
What a great idea. This could prove quite useful when all permission options are added.
Nice job.
Same here : this looks good but I could not use it before it gets more permissions / security options.
Tagged
vBarsiv
08-22-2013, 01:36 PM
I tested it but it does not work. Do you have files that need to be edited? No way could not be contacted.
Received the following warning;
Error
Unable to connect to backend.
Access denied.
Thankyou for help.
Scanu
08-22-2013, 04:32 PM
It seems like a permissions error. Can you check permissions for your server document root? Are you testing this on your computer or in a server?
Been looking for something like this for my upcoming manga viewer project ;D
BirdOPrey5
06-16-2014, 12:11 PM
While this mod makes things easy I would strongly urge people to consider not using it. This makes it very easy for someone who has access to your Admin CP to make files edits to your server- even if they otherwise have no other skills.
Yes, a skilled hacker can get similar access by creating custom plugins but this is like a red carpet.
If anyone has this installed please please please be sure you are using an Admin CP .htaccess password that will help keep people without permission out of your admincp and therefore, files.
Scanu
07-30-2014, 09:59 PM
While this mod makes things easy I would strongly urge people to consider not using it. This makes it very easy for someone who has access to your Admin CP to make files edits to your server- even if they otherwise have no other skills.
Yes, a skilled hacker can get similar access by creating custom plugins but this is like a red carpet.
If anyone has this installed please please please be sure you are using an Admin CP .htaccess password that will help keep people without permission out of your admincp and therefore, files.
Updated now it has administrator permissions per admin, set by default to 0 :)
LordVader!
08-01-2014, 05:24 AM
hey there, thank you very much for the update.
i just imported the new xml. but even with the permission set to no. i can access.
should i delete everything and make a fresh install or did i just miss something?
greetings
New Joe
08-01-2014, 06:06 AM
Excellent, just what I needed.
Out of the box and a quick test working perfectly.
Scanu
08-01-2014, 12:53 PM
hey there, thank you very much for the update.
i just imported the new xml. but even with the permission set to no. i can access.
should i delete everything and make a fresh install or did i just miss something?
greetings
You have to upload again files using your ftp or using vBFiner, whatever you prefer :)
The changed file is admincp/vbfinder.php if you don't want to upload again all the folders
Scanu
08-01-2014, 12:56 PM
Excellent, just what I needed.
Out of the box and a quick test working perfectly.
You're welcome
Did you test it on localhost? Because i've seen that with some hosting permissions it doesn't work (i will release an update for it)
While this mod makes things easy I would strongly urge people to consider not using it. This makes it very easy for someone who has access to your Admin CP to make files edits to your server- even if they otherwise have no other skills.
Yes, a skilled hacker can get similar access by creating custom plugins but this is like a red carpet.
If anyone has this installed please please please be sure you are using an Admin CP .htaccess password that will help keep people without permission out of your admincp and therefore, files.
I second that. AT first glance it reminded me to the Greek Hacking Group which used an exploit in vb to get into the admincp. They installed and used a very similiar file-system for acessing the server files from within the admincp last (?) year. They?d hidden that under the "?", where you normally can see hints and explanations. Don?t like the idea, but for others it may be useful.
Scanu
08-01-2014, 07:03 PM
I understand your worries but please can you tell the reason you don't like the idea?
As BirdOPrey5 said if a hacker finds a way to access admincp of vbulletin, then he could do anything he wants using plugins: editing, removing and adding files, access database etc..
This modification is secure as the admincp is and if the admincp isn't secure for you then this mod won't make it less secure. If a hacker is able to enter to your admincp then i'm mostly sure he knows how to edit files using php. This mod won't make any difference actually
SCANU, don´t get me wrong. That was just my feeling as I saw the mod. I should have kept this to myself and not starting a rumor here, in your mod-thread.
Sorry for that, my fault - wasn´t intended.
Scanu
08-01-2014, 07:24 PM
Yes no worries lol any opinion is welcome, i misunderstood your post, my bad :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.