ADJUSTMENT OF A SCRIPT MADE IN PHP AND AJAX TO MANAGE FILES
$30-250 USD
Paid on delivery
It’s necessary to retouch a script which target is to manage files in a server. The script name is EXTplorer and is made with PHP and AJAX. You can see the script in a zip file.
SETUP INSTRUCTIONS:
iugo/cursos/config/[login to view URL] ---------------------- 666 permission
iugo/cursos/ --------------- 777 permission
iugo/cursos/ftp_tmp--------------- 777 permission
user: admin
password: admin
First of all, i would like to disable some options and delete some columns. You can see it in “[login to view URL]â€. But you must disable the same options in the context menú that appears when you make click with the right button of the mouse. Too, you can see it in “[login to view URL]â€.
If you are the Manager in this platform you can see a button called “adminâ€. When you make click in this button you can see a pop up window called “change password†where each user can change his password. I would like that all the users of this platform could change his password. Now if you arent’t the Manager you can’t change your password. When you are the manager of this platform in the same pop up window where you can see the label â€change password†you can see another label called “Usersâ€. I don’t need to manage the users by this label. I’ll explain it later.
Actually with this script you can setup several kinds of users. Each kind of user can access to a determinate folder. But for me this is not important. I want that all the users have access to the same root folder in iugo/cursos/directorio (i am going to call this path like “ROOT1â€) but i would like that each user only could see certain folders.
I want to connect this platform with a database. In this database you can change the user or password neccesary to come in the platform. I add the database to the Project.
There are four Access levels:
1) Manager: User: admin password: admin.
2) Pupils: in the database iugo you can see a table called “alumnosâ€. The field “email†will be the user, and the field “password†will be the password for this user. The field “id_alumnos†will give us a identification number necessary for future processes.
3) Teachers: in the database iugo you can see a table called “personalâ€. The field “email†will be the user, and the field “password†will be the password for this user. The field “id_personal†will give us a identification number necessary for future processes.
4) Observer: User: iugo password: iugo.
And now for these levels i’ll say you what kind of permission they have got and what information they can see:
1) Manager: he can see and manage everything.
2) Pupils: Like we know their “id_alumnos†we look for all the records with this id number in the table “cursos_alumnos†where the filed “pago_realizado†will be equal to “SIâ€. We will extract a printout with several “id_cursosâ€. Now we will know what folders can we show in the path “ROOT1â€. For example, if the result of the query are the next id_cursos: 1 and 3. Then the pupils only could see the folders “Curso1†y “Curso3†in the path “ROOT1â€. The Pupils can only see the information. In the platform EXTplorer this kind of users have permissión “only viewâ€. For example you can login with User: alumnos password: alumnos.
3) Teachers: Like we know their “id_personal†we look for all the records with this id number in the table “cursos_profesoresâ€. We will extract a printout with several “id_cursosâ€. Now we will know what folders can we show in the path “ROOT1â€. For example, if the result of the query are the next id_cursos: 1 and 3. Then the teachers only could see the folders “Curso1†y “Curso3†in the path “ROOT1â€. The teachers can see and edit the information. In the platform EXTplorer this kind of users have permissión “Modify and change passwordâ€. For example you can login with User: profesor1 password: profesor.
4) Observer: In the platform EXTplorer this kind of users will have permissión “only viewâ€. They will have only Access to the folder “iugo/cursos/directorio/administracion“
In other hand i think that the platform EXTplorer has a problem that would have to fix. When the user has permission “only view†there are several buttons useless. I would like to delete this buttons and only leave the buttons “download†and “viewâ€. You can see more or less how i would want in the image “[login to view URL]â€.
Project ID: #1675633