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
  #52  
Old 10-05-2002, 02:16 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, it took me 3 hours to add these new features in, and it's 1:15 am here, so I'm going to bed. Let me know if you find any bugs. Good night all!
Reply With Quote
  #53  
Old 10-05-2002, 04:49 PM
Martyjp Martyjp is offline
 
Join Date: Nov 2001
Location: Norwich, UK
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic
Reply With Quote
  #54  
Old 10-05-2002, 05:45 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

indeed... awesome... i might just use this now Erwin...

GREAT JOB !

- miSt
Reply With Quote
  #55  
Old 10-05-2002, 09:21 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Mist
indeed... awesome... i might just use this now Erwin...

GREAT JOB !

- miSt
Let me know what you think if you do use it.
Reply With Quote
  #56  
Old 10-05-2002, 09:36 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just realized I forgot to update the version number to 2.0 in the ftp.php file and in my screenshots. I've just updated the ftp.php file for that minor cosmetic change. I'm too lazy to update the screenshots. But it should say version 2.0.

It's easy to change this:

In ftp.php, find:

PHP Code:
$version "Version 1.0"
Change to:

PHP Code:
$version "Version 2.0"
Reply With Quote
  #57  
Old 10-05-2002, 11:05 PM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will check out asap.
thank you very much.
Reply With Quote
  #58  
Old 10-05-2002, 11:16 PM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm getting this
Quote:
Warning: chmod failed: Operation not permitted in (name removed)/admin/ftp.php on line 253
Changed permission on to 0777.
here's the line in question.
Quote:
chmod($home_dir.$path.$file,$level);
is that the server restrictions you were referring to erwin, or is this a potential bug?
thanks.
Reply With Quote
  #59  
Old 10-06-2002, 12:44 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The message you are getting is "Operation not permitted" - your server doesn't allow you to chmod via your browser.
Reply With Quote
  #60  
Old 10-06-2002, 01:58 PM
SemperFidelis SemperFidelis is offline
 
Join Date: May 2002
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent work Erwin
It is super handy to have this.
Especially when you need to do some emergency work to your board from a PC other than your own
Congratulations and thankyou


Neo - this hack your working on
Is it what was discussed in general hacking chat ?
Basically a 'template' like editing system but for all your php files ?
If so, cant wait to see it
Reply With Quote
  #61  
Old 10-06-2002, 02:28 PM
Graphics's Avatar
Graphics Graphics is offline
 
Join Date: Mar 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet work Erwin! I just gotta contact my host on a few things before I install 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 11:17 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.04971 seconds
  • Memory Usage 2,313KB
  • 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
  • (2)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
  • (4)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