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

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

Alright, I can post in this thread now... this thread was locked for some reason and I couldn't post in it...

Quote:
Originally posted by BigCheeze
Thanks! Seems to have gotten that fixed. Only problem I have now, is I
can't seem to upload anything. I have gone into th direcotry that I am
trying to upload to, and checked the CHMOD and made sure it was at 777. I
click up load it seems like it does it, but then... nothing happens. It's
not there.

Any clue?
Uploading is working for me with no problems. The bug fix for image
cacheing does not affect uploading at all. The directory you are uploading
to must be 777. Try uploading to your "tmp" directory to see if it works.
Make sure also that your server is not in "safe mode".

I repeat - I have the same ftp.php file and all functions WORK for me.
Reply With Quote
  #74  
Old 10-15-2002, 10:10 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well... upload is working for everyone else and myself... so I'm not sure what the problem is to be honest.

You are sure you are using version 2.1 - and that things are CHMOD. If you can do everything else, then upload should work... Make sure:

The files are not too big. They are files that are approved and can be seen vB FTP, and not something that would be hidden. You can upload using your normal FTP client (upload not blocked by server).

Do you get an error message? What exactly happens?

Quote:
BigCheeze wrote on Today 09:06 AM:
Quote:
Originally posted by Erwin
Uploading is working for me with no problems. The bug fix for imagecacheing does not affect uploading at all. The directory you are uploadingto must be 777. Try uploading to your "tmp" directory to see if it works.Make sure also that your server is not in "safe mode".

I repeat - I have the same ftp.php file and all functions WORK for me. [/B]
OK, I checked that stuff (Belive me I think it's me, or something I have done, not your hack). And still no go. I can edit files, save files, create files, create directories... but just not upload files. I even tired in the tmp directory, and I have made sure it's 777. In either php.ini or Admin CP safe mode is not selected.

Also I couldn't upload before the update to 2.1. So I know it's not that. I am just not sure what else I can check. I've very new to VB/PHP. I haven't done any programming in YEARS!!! I'm just a network engineer now, so.. I leave the programming to others!

So I'm just asking for some help or advice to what I'm doing wrong. THANKS!!!!!!!!!!!!!!!
Reply With Quote
  #75  
Old 10-16-2002, 02:44 AM
BigCheeze BigCheeze is offline
 
Join Date: Oct 2002
Location: Lost in Colorado
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin
Well... upload is working for everyone else and myself... so I'm not sure what the problem is to be honest.

You are sure you are using version 2.1 - and that things are CHMOD. If you can do everything else, then upload should work... Make sure:

The files are not too big. They are files that are approved and can be seen vB FTP, and not something that would be hidden. You can upload using your normal FTP client (upload not blocked by server).

Do you get an error message? What exactly happens?

Ok... here are some screen shots for you.











Thanks!!! Don't know what's configured wrong.. but I'm sure something on my system is.
Reply With Quote
  #76  
Old 10-16-2002, 02:54 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice screenshots.

Let me get this straight - you're trying to upload angel.gif but it is not uploading.

That is very strange, because I just tried it here at work (behind a firewall) and I was able to upload a gif file to my tmp directory of my server 300 times the size of angel.gif.

It has to be something to do with your site - I can't imagine why I can do it and you can't.

Anyone else has the same problem? It works for me.
Reply With Quote
  #77  
Old 10-16-2002, 02:56 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay this may be one reason:

TAKE NOTE: The tmp directory is the place where image files are moved to when you want to view them. After you've viewed them, when you click "Go back", the image file is automatically deleted in the tmp directory. So if you uploaded the angel.gif file to the tmp directory successfully, then tried to view it, and then go to look for it, it will be gone.

This is intended. Try uploading it to another directory that has been CHMOD 777.

It's interesting that the file tells you that the upload is successful. Make sure that the file is not being uploaded to a strange place on your server by mistake for some reason.
Reply With Quote
  #78  
Old 10-16-2002, 03:17 AM
BigCheeze BigCheeze is offline
 
Join Date: Oct 2002
Location: Lost in Colorado
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was just uploading to the tmp directory as an example. However, it happens with any directory I try and upload....

My site is still very new. If your interested in looking, I can grant you access to things... This is just such an awsome idea (I have been an Admin on several other sites for the last year, this is my first attempt at having my own site), and I really want to make things work. Ahhhh.. it's been a rough week. Thanks for all your help!!!
Reply With Quote
  #79  
Old 10-16-2002, 03:49 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check your PM. I will have a look at your site.
Reply With Quote
  #80  
Old 10-16-2002, 03:07 PM
Naser Naser is offline
 
Join Date: Nov 2001
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i`have install it in free sit

i`can`t inter the ftp coz it`s giving me logout ore logoin but ther is no ftp fill

vB FTP Version 2.1
.:Logout:.

.:Back:.

ERROR: Unable to open the specified path.

/mnt/host-users/sq8y/

can you tell me what`s wrong?
Reply With Quote
  #81  
Old 10-16-2002, 07:48 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Naser
i`have install it in free sit

i`can`t inter the ftp coz it`s giving me logout ore logoin but ther is no ftp fill

vB FTP Version 2.1
.:Logout:.

.:Back:.

ERROR: Unable to open the specified path.

/mnt/host-users/sq8y/

can you tell me what`s wrong?
Most likely the free host is using an older version of PHP. You need PHP 4.1.2 or higher for this to work.
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:49 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.08190 seconds
  • Memory Usage 2,318KB
  • 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
  • (5)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