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

Reply
 
Thread Tools
Admin CP File Manager (FTP) - Download, Upload, Edit, Rename, Delete PHP Files/Images Details »»
Admin CP File Manager (FTP) - Download, Upload, Edit, Rename, Delete PHP Files/Images
Version: 1.00, by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 01-06-2004 Last Update: 04-18-2005 Installs: 88
 
No support by the author.

vB Admin CP File Manager (FTP) 1.2 - a File Manager/ FTP client for vBulletin 3.x.x
vB Admin CP Integration by Erwin Loh

Updated for vB 3.0.7
Totally revised with new code
Previously called vB FTP

UPDATED: This replaces vB FTP 1.0. The whole hack is changed - to install, you need to basically uninstall the old vB FTP hack and reinstall this. It's based on an updated version of what the old hack was based on but I've changed the directories, made changes to most files to make it work with vBulletin and added a search feature to the edit panel.

Improvements: Eliminated need for a /tmp/ directory. Also, you can now select different languages - refer to config file for more information.

It's possible to run both the old and the new together as I've renamed the files.

I suggest using the new version as it fixes a few old bugs and is much better.

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 file manager/ secure FTP interface to your vB Admin CP. You can edit, delete, download, upload, create, or rename PHP files, OR do the same for directories, all from within the comfort of your Admin CP through your browser.

Use this hack to install hacks on the fly.

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) File Editor with Search functions (feature added by Erwin)
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 File Manager file (configurable)
8) FTP functions straight from within your Admin CP!!!
9) Select other languages!

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

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

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

1. You need to edit /admincp/vbfm/config.inc.php to point to your forum's absolute directory server path for this hack to work properly.

2. Files that are to be edited or directories where you want to upload need to be chmod 0777.

Once this is installed, you can just click on the "vB File Manager" link in your Admin CP on the left column underneath your "vBulletin Options" to access this.

Update
--------

Version 1.1 - Fixed a path bug in filebrowser.inc.php
Version 1.2 - Corrected spelling mistake in footer.inc.php, updated version number in config.inc.php

Screenshots
----------------------------------------------

1. Screenshot: Main Page
--------------------------------

2. Screenshot: Editing PHP File
--------------------------------------

3. Screenshot: Viewing GIF/ JPG file
--------------------------------------------

4. Screenshot: Downloading file
----------------------------------------

5. Screenshot:Uploading file
-------------------------------------

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

Quote:
Originally Posted by UManiac
I'm having the same problem, however, I'm n a Unix server...

I have CHMOD my tmp directory 777.

Any ideas?

Thanks!
I can't answer this because I have no idea what the problem is.
Reply With Quote
  #63  
Old 01-12-2005, 08:30 PM
UManiac's Avatar
UManiac UManiac is offline
 
Join Date: May 2002
Location: DC
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Erwin
I can't answer this because I have no idea what the problem is.
hmmm... I thought I quoted "BigCheeze's" message...

Basically I can ftp and have everything working fine but I cannot view any images. I get this error everytime:

Code:
Error opening image.

This might be caused by an invalid image type or because you haven't
set public read and write access on the temporary directory.
Check config.php for more information on the temporary directory.
Thanks for your help!
Reply With Quote
  #64  
Old 01-12-2005, 08:47 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erwin is da man! This is an awesome hack! Thanks much for sharing!

*****clicks install*****

I am also having the image error listed above by UManiac, but it is small in comparison to being able to edit files from the admin CP!
Reply With Quote
  #65  
Old 01-12-2005, 09:53 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UManiac
hmmm... I thought I quoted "BigCheeze's" message...

Basically I can ftp and have everything working fine but I cannot view any images. I get this error everytime:

Code:
Error opening image.

This might be caused by an invalid image type or because you haven't
set public read and write access on the temporary directory.
Check config.php for more information on the temporary directory.
Thanks for your help!
I'll check this. It may be security from the new vB version? Or the fact that you're runnning Windoze? (I run Linux)
Reply With Quote
  #66  
Old 01-14-2005, 05:09 AM
UManiac's Avatar
UManiac UManiac is offline
 
Join Date: May 2002
Location: DC
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Erwin
I'll check this. It may be security from the new vB version? Or the fact that you're runnning Windoze? (I run Linux)
I'm running Linux as well... BigCheeze is the windoze man

I also ran into a second problem. I tried to change the permissions on a file and got this:

Code:
Warning: chmod(): Operation not permitted in /adminPanel/ftp.php on line 281
Reply With Quote
  #67  
Old 01-30-2005, 09:10 PM
BigCheeze BigCheeze is offline
 
Join Date: Oct 2002
Location: Lost in Colorado
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry... just found my way back here... been too #@%ing busy at work.

While Windows doesn't have "CHMOD" per say, the tmp directory is wide open, and VBFTP shows it as "777" (becasue I've given the group everyone full access.... same as 777).

I found one issue, and it now seems to try to display the image, I get the box around where it should be, but I don't get the actual image.
Reply With Quote
  #68  
Old 01-30-2005, 11:40 PM
iSpanish's Avatar
iSpanish iSpanish is offline
 
Join Date: Jan 2005
Location: Oregon
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack

installed on vB 3.0.6

*installed*
Reply With Quote
  #69  
Old 01-31-2005, 12:27 AM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this ages ago, but have a problem in it.

Whenever I download a file from it, it inserts some of the vbftp HTML into the bottom/top of the file. Also, do I have to CHMOD every file I want to edit?
Reply With Quote
  #70  
Old 01-31-2005, 07:46 AM
iSpanish's Avatar
iSpanish iSpanish is offline
 
Join Date: Jan 2005
Location: Oregon
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheSpecialist
I installed this ages ago, but have a problem in it.

Whenever I download a file from it, it inserts some of the vbftp HTML into the bottom/top of the file. Also, do I have to CHMOD every file I want to edit?
i have this problem TOO
Reply With Quote
  #71  
Old 02-03-2005, 03:50 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheSpecialist
I installed this ages ago, but have a problem in it.

Whenever I download a file from it, it inserts some of the vbftp HTML into the bottom/top of the file. Also, do I have to CHMOD every file I want to edit?
to fix this find the header and footer html (code) and wrap it with

if ($_REQUEST['action'] != "download")
{

}

On my free time, I'm modifying vb3 FTP and I was wondering if anyone has made some modifcations?

View attachment image of what I currently have.

Converted to XHTML/CSS

Erwin,
I notice that Morten Bojsen-Hansen has a current update of his script...
I was wondering how extensive is it to port the new version over to vb??


thanks for a great addon!!
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 04:39 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.06372 seconds
  • Memory Usage 2,320KB
  • 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
  • (3)bbcode_code
  • (6)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
  • (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