This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Sentora Filemanager [extplorer]
#1
Sentora Filemanager [extplorer]
Hello,

Here is the filemanager apps that i developed for sentora based on extplorer version 2.1.7, i know it is pain in the ass when you do not have a proper filemanager for a such beautiful control panel. However, i dont know how to put it to zppy repo, i just manage to zip it and put to dropbox, please feel free to maintain it and put it to zppy repo.

Screenshot (right click open in new tab for large img):
1.
[Image: 1-tXVdVKnq.PNG]
2.
[Image: 2-6pFdHg1V.PNG]
3.
[Image: 3-OnFidagv.PNG]

Download:
Quote:https://www.dropbox.com/s/457aqjf11oyz9o...r.zip?dl=0

Instruction:
*** Backup the core files first, i do not responsible for any damage to your server cause by this installation
1. Download the zip file.
2. Unzip it to your desktop
3. Upload all the content inside /etc/ folder to your server's /etc/ folder
4. Change permission to 777 for files and folder at: /etc/sentora/panel/etc/apps/filemanager/
5. Run the filemanager.sql, i use phpmyadmin , make sure you click the sentora_core database first.
6. Login as zadmin to your server's cp
7. Click on Admin tab, Click Module Admin
8. Scroll down, search for File Manager, enable it for your user and save.
9. Browse to dashboard, you should see it there.

Features:
-When user logged out (not logged in) it will not accessible, for security reason.
-Will auto point to user's own directory at : /var/sentora/hostdata/
-Read logged in username and store it to session.

Modified Sentora Core files:
Code:
/etc/sentora/panel/dryden/ctrl/auth.class.php
(pull username from db and put it to session)

Modified extPlorer Files:
Code:
/etc/sentora/panel/etc/apps/filemanager/index.php
/etc/sentora/panel/etc/apps/filemanager/include/init.php
/etc/sentora/panel/etc/apps/filemanager/libraries/standalone.php
you can compare the original extplorer here

Known Issue:
i cant seem to chmod files inside the filemanager, its been grey out. Maybe some one know how to solve this, please do let me know.


Please feel free to comment, little thanks would be great, i spend couple hours to research on sentora and extplorer.
Reply
Thanks given by: Cantalupo , Jango , jagathks , bluebrad
#2
RE: Sentora Filemanager [extplorer]
Great module!
Checked.
Works very well!
Reply
Thanks given by: bluebrad
#3
RE: Sentora Filemanager [extplorer]
(02-18-2015, 12:55 AM)MarkDark Wrote: Great module!
Checked.
Works very well!

good to hear that, how to fix the chmod problem? do you know?
Reply
Thanks given by:
#4
RE: Sentora Filemanager [extplorer]
tested and 100% functional! : D
Reply
Thanks given by:
#5
RE: Sentora Filemanager [extplorer]
What needs to change in init.php file?
For it is showing all the folders /hostdata, and all users are achieving view the directory /hostdata.

/etc/sentora/panel/etc/apps/filemanager/include/init.php
Code:
//sentora login
        
$_SESSION['credentials_extplorer']['username']    = $_SESSION['extmyUsername'];
$_SESSION['credentials_extplorer']['password']    = 'null';
$_SESSION['file_mode'] = 'extplorer';
$GLOBALS["home_dir"]    = '/var/sentora/hostdata/'.$_SESSION['credentials_extplorer']['username'];
$GLOBALS["home_url"]    = 'http://localhost/';
$GLOBALS["show_hidden"]    = '1';
$GLOBALS["no_access"]    = '';
$GLOBALS["permissions"]    = '1';
        
//end sentora login
[Image: j1wuZq7.png]
Reply
Thanks given by: bluebrad
#6
RE: Sentora Filemanager [extplorer]
(02-18-2015, 10:32 AM)david.l Wrote:
(02-18-2015, 12:55 AM)MarkDark Wrote: Great module!
Checked.
Works very well!

good to hear that, how to fix the chmod problem? do you know?

No. I use this module to Sentora for Windows
Reply
Thanks given by:
#7
RE: Sentora Filemanager [extplorer]
Yep intersting hack here that allows to extxplorer.. I was sure we can hack the authentification config as it was so clean to use.

We could even use it outside and link the login with Sentora DB either allow clients to login or use FTP credential to login too and we call it WebFTP. ( I think it's more secure always to isolate it).

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#8
RE: Sentora Filemanager [extplorer]
david.l, I don't think you need to change any core files to get the info you need.

PHP Code:
$userid $_SESSION['zpuid'];
$currentuser ctrl_users::GetUserDetail($userid); 

This grabs everything for the user and sets it in an array $currentuser

Then you can use the info from that:
PHP Code:
$userPass $currentuser['password'];
$userName $currentuser['username']; 
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#9
RE: Sentora Filemanager [extplorer]
@tgates,
truth. This working.
Returned to normal after I updated the php.

Thanks you.
Reply
Thanks given by:
#10
RE: Sentora Filemanager [extplorer]
I did the test chmod.

Does not really work the files or folders that are not with 777.

Any idea?

The same thing happens with FTP access.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Mach-hosting Sentora ZPPY repo information TGates 2 5 ,820 03-30-2022, 09:19 AM
Last Post: TGates
Bizarrus' Sentora-LetsEncrypt: does not end in a IANA suffix grozanc 0 2 ,604 09-25-2019, 04:50 AM
Last Post: grozanc
Sabre for Sentora Nigel 7 15 ,200 03-27-2019, 09:29 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 3 Guest(s)