Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #32  
Old 03-20-2004, 06:19 AM
I-Web's Avatar
I-Web I-Web is offline
 
Join Date: Mar 2004
Location: localhost
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Went without any hitch nice work
Reply With Quote
  #33  
Old 03-30-2004, 03:21 PM
Enforcerman Enforcerman is offline
 
Join Date: May 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the download zip is corrupted.
Reply With Quote
  #34  
Old 04-09-2004, 12:33 AM
josh929's Avatar
josh929 josh929 is offline
 
Join Date: Mar 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i don't know anything about security, so i was just wondering:

is there any sort of security risk to chmod-ing everything to 777? i never really understood the chmod thing.

or does this hack pose any other sort of risk?
Reply With Quote
  #35  
Old 04-09-2004, 04:38 AM
RyoShin RyoShin is offline
 
Join Date: Jun 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those getting the header errors:

Go into your ftp.php file and add a double slash (//) to lines 128-132 (they start with header), 149, 150, 154, 155 (these start with cookie), and 157 (starts with header.)

Here's a better view of what to change, if you've changed how the lines are:
PHP Code:
//header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");                // Headers
header("Last-Modified: " gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0"false);
header("Pragma: no-cache"); 
And
PHP Code:
if ($cookie_username == $username && md5($cookie_password) == md5($password))    // Create cookie on login
{
 if (
$auto_login)
 {
  
setcookie("cookie_username"$usernametime()+31536000);
  
setcookie("cookie_password"md5($cookie_password), time()+31536000);
 }
 else
 {
  
setcookie("cookie_username"$username);
  
setcookie("cookie_password"md5($cookie_password));
 }
 
header("Location: $PHP_SELF");

That entire thing should change to the following (same thing, but with the double-slash (comment code)):
PHP Code:
//header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");                // Headers
//header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
//header("Cache-Control: no-store, no-cache, must-revalidate");
//header("Cache-Control: post-check=0, pre-check=0", false);
//header("Pragma: no-cache"); 
And
PHP Code:
if ($cookie_username == $username && md5($cookie_password) == md5($password))    // Create cookie on login
{
 if (
$auto_login)
 {
  
//setcookie("cookie_username", $username, time()+31536000);
  //setcookie("cookie_password", md5($cookie_password), time()+31536000);
 
}
 else
 {
  
//setcookie("cookie_username", $username);
  //setcookie("cookie_password", md5($cookie_password));
 
}
 
//header("Location: $PHP_SELF");

respectively.

In fact, you might be able to comment out that entire if statement, but I'm just removing lines as they're called.

I'm no guru in PHP (working on that), but after doing that the error messages went away, and the hack still worked fine for me. I wouldn't mind seeing a fix by someone who really know it, or Erwin himself.

Oh, and I'm also having problems with making a login name work, but no clue how to fix that.
Reply With Quote
  #36  
Old 04-12-2004, 05:53 AM
ajk ajk is offline
 
Join Date: Feb 2003
Location: Monmouth County, N.J. U.S.A.
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Dr. really nice hack!

Does any body know or installed it on vB 3.0 gold?
I'd like to check before I install it on mine.

THANKS!
Reply With Quote
  #37  
Old 04-12-2004, 07:53 PM
Gio Takahashi's Avatar
Gio Takahashi Gio Takahashi is offline
 
Join Date: Jul 2003
Location: Cape Coral
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this installed on my forums, and it is vb3 gold. it works fine.
Reply With Quote
  #38  
Old 04-13-2004, 12:29 AM
Charlie Argueta's Avatar
Charlie Argueta Charlie Argueta is offline
 
Join Date: Oct 2002
Location: Taiwan
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gio Takahashi
I have this installed on my forums, and it is vb3 gold. it works fine.
Really, excelente Mr. Burns
Reply With Quote
  #39  
Old 04-13-2004, 12:41 AM
RyoShin RyoShin is offline
 
Join Date: Jun 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using Gold, but I'm getting the login problems and header errors stated above.

Of course, I haven't CHMODed everything 755/777 yet. Could that be part of the problem?
Reply With Quote
  #40  
Old 04-13-2004, 06:00 AM
ajk ajk is offline
 
Join Date: Feb 2003
Location: Monmouth County, N.J. U.S.A.
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gio Takahashi
I have this installed on my forums, and it is vb3 gold. it works fine.
Thank you Gio, I'll try it out.

Sometimes I'm at a computer without FTP.
It would come in handy doing remote maint.

I'll click install.
Reply With Quote
  #41  
Old 04-21-2004, 04:53 PM
vau7 vau7 is offline
 
Join Date: Mar 2004
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unbelieavable cool hack!
Reply With Quote
Reply

Thread Tools

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:08 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
  • Page Generation 0.06210 seconds
  • Memory Usage 2,314KB
  • 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
  • (4)bbcode_php
  • (2)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