![]() |
Hey is it possible to make it so that only certain people can access it? Not everyone with access to the admin cp. Maybe make it require 1 user name and password of my choice?
Also I can't seem to go up any higher then the forum directory..? |
Additional Features (already inbuilt)
1. Password Protect vB FTP. In "ftp.php", find: PHP Code:
This will password protect your vB FTP. You will have to enter that username and password to access this function. This will prevent other admins from accessing your site. :) You can set auto login as well using the variables - basically this means that once you log in with this additional username and password, a cookie will be made, so that you will automatic login the next time. By default this is switched on. 2. Toggle functions of FTP on or off. You can switch on or off each function of vB FTP. In "ftp.php", find: PHP Code:
3. Type of files you can edit. You can set the filename extension of files you want to be able to edit. In "ftp.php", find: PHP Code:
4. Hide files or directories. You can set files or directories to be hidden. In "ftp.php", find: PHP Code:
5. Changing the timeout (if you have trouble downloading or uploading large files). In "ftp.php", find: PHP Code:
6. Changing the default directory, and ability to go higher up in directory structure all the way to ROOT directory. I made the forum directory the highest directory you can access by default. To change the highest directory you can access- In "ftp.php", find: PHP Code:
For example: PHP Code:
PHP Code:
It works. So you can go as high as you want changing that variable. Enjoy these extra features! They are already in-built in the hack. :) |
Quote:
My previous post should clarify this. Yes, you can password protect vB FTP. Follow the instructions in my previous post. :) Quote:
I did that intentionally. You can go higher easily, all the way to the ROOT directory. Read my previous post for the instructions. :) Enjoy! |
I also have one comment.. why is this a FTP? Wouldnt it more so be a browser based file editor since it does not connect to a FTP? or does it?
|
Quote:
|
Thats not really want I was asking. Do you us FTP connection in the PHP files since hence PHP has functions that will connect through FTP?
|
Why would I want to do that? PHP has an FTP function built-in but that needs to be enabled at a server-level, and most servers don't have this set up. So this hack acts like an FTP client, without using the "File Transfer Protocol" based on PHP. In fact, this hack is based on a PHP FTP client.
Why do you ask? Do you want me to change the name for some reason? |
In fact, some PHP FTP clients require the FTP feature of PHP installed on your server to be enabled. My hack does NOT require this. I use code that bypasses this requirment. Either way, the outcome is the same.
Also, some firewalls block FTP connections - this hack bypasses this. :) Which is why I use it at work, and others who don't have access to FTP or can't use it would benefit too. |
you should put the useful things in the first post ;)
- miSt |
wow this is a very interesting hack..
can there be user access on it? Whatif you dont want certain admins touching things? |
All times are GMT. The time now is 09:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|