Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Download, Upload, Edit, Rename, Delete, CHMOD Files or Dirs in Admin CP Details »»
Download, Upload, Edit, Rename, Delete, CHMOD Files or Dirs in Admin CP
Version: 1.00, by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 10-01-2002 Last Update: Never Installs: 96
 
No support by the author.

vB FTP 2.1 - a FTP client for vBulletin
vB Admin CP Integration by Erwin Loh


Have you ever wanted to edit, download or upload files to your server or edit one of your forum PHP files, but have no access to an FTP client?

Well, this is the hack for you. It basically adds a secure FTP interface to your vB Admin CP. You can edit, delete, download, upload, create, or rename files, OR do the same for directories, all from within the comfort of your Admin CP through your browser.

Version 2 update
1) Ability to SEARCH while editing a file (similar to the search feature when editing templates)
2) Ability to view and change CHMOD of files and directories

Version 2.1 update
1) Fixed a view IMAGE cache bug
2) Fixed version number bug


- features as requested!

NOTE: The CHMOD feature can only work if you have set up your server to allow file permission changes - most servers will NOT allow you to CHMOD files or directories through your browser for security reasons.

Features
--------------

1) Integrated into vB Admin CP - uses Admin CP cp.css style
2) Create, delete, rename directories
3) Create, delete, rename, edit, upload or download files
4) Ability to view and change CHMOD of files and directories (if this is set up on your server!)
5) View, Zoom In/ Zoom Out with GIF/ JPG files
6) Different icons for different types of file (configurable)
7) Ability to password protect the vB FTP file (configurable)
8) FTP functions straight from within your Admin CP!!!

Installation
-----------------

YOU MUST FOLLOW ALL THESE STEPS FOR THIS TO WORK PROPERLY! NOTE: This hack requires PHP 4.1.2 installed or better.

Instructions in the "Installation.txt" file of the attachment. It's easy - uploading 1 file to your admin directory, and uploading images to the images/ftp subdirectory, and then editing your admin/index.php file so you can link to the ftp.php file.

Once this is installed, you can just click on the "vBFTP" link in your Admin CP on the left column underneath your "Control Panel Home" to access this.

Additional Features (already inbuilt)
----------------------------------------------

1. Password Protect vB FTP.
2. Toggle functions of FTP on or off.
3. Type of files you can edit.
4. Hide files or directories.
5. Changing the timeout (if you have trouble downloading or uploading large files).
6. Going higher in the directory structure, all the way up to ROOT


Click on this link to read instructions on how to use these in-built features now:
https://vborg.vbsupport.ru/showthrea...466#post305466

I have added a textfile to the ZIP called "ExtraFeatures" with the same instructions.

If you like this, please click the INSTALL link at the bottom of the thread, so that I can send you updates!

Enjoy!

Dr. Erwin Loh

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #162  
Old 05-24-2003, 08:46 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll see how can I integrate with my X-Cart, but look promising.
Reply With Quote
  #163  
Old 05-24-2003, 08:59 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
05-04-03 at 05:44 AM charlyc said this in Post #160
This hack doesn't go to any lower directory than where the ftp.php is installed.
I have my forums in a forums directory so it stops there and can't go down to my public_html dir

Yes it can. Read this thread carefully - I tell you how to do so.
Reply With Quote
  #164  
Old 06-10-2003, 08:45 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wanted to organize the code in a better way. There you can see, what I wanted to do, but something went wrong. Any ideas?

Create directory (line 461)

PHP Code:
 print "<a href='$PHP_SELF?path=".htmlentities(rawurlencode($path))."'>.:Back:.</a><br>";
 print 
"<form action='$PHP_SELF?action=create_directory' method=post>";
 print 
"The new directory will be placed in <font color='#FF0000'>".htmlentities($home_dir.$path)."</font><br>";
 print 
"Please choose a name for the new directory:<br><br>";
 print 
"<input type=text size=30 name=dirname>&nbsp;";
 print 
"<input type=submit value='Create directory'>";
 print 
"<input type=hidden name=path value='".htmlentities(rawurlencode($path))."'></form>"
PHP Code:
 Remade like:

   
doformheader("ftp","create_directory");

  
maketableheader("Create Directory");
  
makeinputcode("Name","dirname");
  
makehiddencode ("path",".htmlentities(rawurlencode($path)).");

  
doformfooter("Submit"); 

What it says:

ERROR: Unable to open the specified path.
PHP Code:
c:\myserver\root\mtrx\.htmlentities(rawurlencode($path)). 
Reply With Quote
  #165  
Old 06-10-2003, 09:11 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why rewrite the code if it's working? It's not going to speed things up.
Reply With Quote
  #166  
Old 06-10-2003, 09:22 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Solved it. Why is the code so "dirty"?
So many print instead of one echo'';

A request here/ :beard:

Something really good would be an option when I create a new file, to choose from some premade templates, something like the Tom Bot hack, only your, Erwin, version.

And a script, that automaticly deletes Thumbs.db, than are created by Windows XP and get rather large some times.
Reply With Quote
  #167  
Old 08-02-2003, 10:07 AM
Sliderx's Avatar
Sliderx Sliderx is offline
 
Join Date: Nov 2002
Location: well near of my computer
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx erwin a love that hack
Reply With Quote
  #168  
Old 08-02-2003, 11:40 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works for vB3 too.
Reply With Quote
  #169  
Old 08-02-2003, 12:58 PM
BigCheeze BigCheeze is offline
 
Join Date: Oct 2002
Location: Lost in Colorado
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 05:40 AM Erwin said this in Post #167
It works for vB3 too.

Sweet!!! Good to know I get to keep one of my fovorite hacks when I upgrade!
Reply With Quote
  #170  
Old 01-02-2004, 08:00 PM
13th_Disciple 13th_Disciple is offline
 
Join Date: Jan 2003
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

erwin.. i need a deal like this, and i have thought about coding one myself.. but i need users to be able to upload zip files, and only zip files, into a directory until i or another admin move those files to a correct location.. is there a way i can contact you for chat? i currently only use IRC, but also have ICQ if you have that..

hope you have subscribed to this thread.. will send pm as well..
Reply With Quote
  #171  
Old 01-02-2004, 10:44 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 13th_Disciple
erwin.. i need a deal like this, and i have thought about coding one myself.. but i need users to be able to upload zip files, and only zip files, into a directory until i or another admin move those files to a correct location.. is there a way i can contact you for chat? i currently only use IRC, but also have ICQ if you have that..

hope you have subscribed to this thread.. will send pm as well..
There are other hacks that do what you want... do a search for it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:00 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10627 seconds
  • Memory Usage 2,326KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete