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
  #12  
Old 10-02-2002, 02:31 PM
Dan Flynn's Avatar
Dan Flynn Dan Flynn is offline
 
Join Date: Nov 2001
Location: Crown Point, IN
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks,

That's good to know. I do mean like the feature that's in the template mod area. Screen attached
Reply With Quote
  #13  
Old 10-02-2002, 03:17 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You say to CHMOD 777 all the directories you may want to edit via adminCP, isn't this extremely dangerous?
Reply With Quote
  #14  
Old 10-02-2002, 03:40 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good god... this is an amazing idea doctor

Hack rating: 9/10

- miSt
Reply With Quote
  #15  
Old 10-02-2002, 03:42 PM
zachb's Avatar
zachb zachb is offline
 
Join Date: Nov 2001
Location: Indianapolis
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

10/10! this is such a great hack. thanks a lot erwin!

installed.


*my vote for hack of the month if it ever comes back.
Reply With Quote
  #16  
Old 10-02-2002, 04:04 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey pretty neat, although I'll stick with CuteFTP Pro

Defiantly nice for those without FTP agents.
Reply With Quote
  #17  
Old 10-02-2002, 05:04 PM
Dark Shogun Dark Shogun is offline
 
Join Date: Aug 2002
Location: The Underworld
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dang good hack Erwin. I have CuteFTP Pro also but I am going to try this out for awhile.

/me clicks install

Dark Shogun
Reply With Quote
  #18  
Old 10-02-2002, 06:12 PM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed it.
thank you very much, good doctor.

i prefer using smartFTP, but from work, i'm behind a firewall that prevents ftp access... but it allows http access. so i've been editing files using the engine hack, which is great, but limited. this will really help from work.
is there a way you can set it up so that you can change the chmod through this ftp?
that would be fantastic.
Reply With Quote
  #19  
Old 10-02-2002, 06:47 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use Cute ftp pro myself, im installing this one anyone, can come in handy
Reply With Quote
  #20  
Old 10-02-2002, 07:12 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah, CuteFTP Pro has CuteHTML integrated, works kickass because you get a huge find/replace box I think I'll stick with it.

Nice job on this hack. I think a lot of people have been wanting something like this for a while
Reply With Quote
  #21  
Old 10-02-2002, 08:13 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Tha Rock
You say to CHMOD 777 all the directories you may want to edit via adminCP, isn't this extremely dangerous?
It's not extremely dangerous. But there are some risks if someone can get access to your server, which should not be possible. There is no other way to edit or change files and directories in PHP.

Bear in mind that you only have to CHMOD 777 the directory and file you want editable. And if you don't want to CHMOD 777 anything, you don't have to.

Without CHMOD 777 (ie. just installing the hack as is), you can still:

1) Browse your site directories
2) Look at all your files
3) Open and view contents of all your files
4) Download files to your local hard disk
5) View, zoom in or out with image files
6) Upload files into tmp directory
7) Edit files in tmp directory
8) Create files in tmp directory
9) Delete files in tmp directory
10) Rename files in tmp directory


With CHMOD 777, you have the additional ability to:

11) Upload files in all directories
12) Edit files in all directories
13) Rename files/ directories in all directories
14) Delete files/ directories in all directories
15) Create files/ directories in all directories

But this hack is useful in itself even without CHMOD 777 anything.

This is also why there is a "tmp" directory that you make CHMOD 777. It stores image files temporarily to be viewed, but you can also upload files into it and edit them there.
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 06:10 PM.


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.06489 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (1)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_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