vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Admin CP File Manager (FTP) - Download, Upload, Edit, Rename, Delete PHP Files/Images (https://vborg.vbsupport.ru/showthread.php?t=59820)

flup 04-23-2004 10:58 AM

Fantastic hack.
When my license is renewed im really going to install this one!

Superb job erwin

welo 04-27-2004 05:46 PM

This looks like a really nice hack. Know what would be very handy to add? An FTP upload feature with usergroup restriction so admins can give mods a place to upload files (like images they want to display inline) without needing to give them ACP access. I run into needing this all the time. For now I just give them FTP access to a subdomain but it would be really nice if they could upload stuff to a specified directory from within VB itself.

juanchi 05-01-2004 10:52 PM

Quote:

Originally Posted by welo
This looks like a really nice hack. Know what would be very handy to add? An FTP upload feature with usergroup restriction so admins can give mods a place to upload files (like images they want to display inline) without needing to give them ACP access. I run into needing this all the time. For now I just give them FTP access to a subdomain but it would be really nice if they could upload stuff to a specified directory from within VB itself.

You just read my mind, I was going to ask for the same thing if posible, this will be a great improvement to this mod, and if you are using a portal system like vbadvanced you can let your moderators upload images to an specific directory to be used in the front page, and you don't have to worry about your mods doing any harm to your vbulletin's file system.

ShutDown23 05-05-2004 09:44 PM

Any chance at a "Find" button for this?

weitalia 07-05-2004 04:49 PM

Really GREAT HACK! Very FAST,easy to use and graphically beautiful.
I have commented the lines from 128 to 132 like RyoShin have suggested HERE.
I got the same problem of SnowBot (take a look HERE) and the only way to make things work was doing:
PHP Code:

$use_login    false;            // Toggle login system (true/false).
 
$auto_login    true;            // Toggle auto login (true/false).
  
$username    =    "myuser";    // Set a username
  
$password    =    "mypass";    // Set a password. 

I don't know why the:
PHP Code:

$use_login    true;            // Toggle login system (true/false).
 
$auto_login    true;            // Toggle auto login (true/false).
   
$username    =    "myuser";    // Set a username
 
$password    =    "mypass";    // Set a password. 

don't works :(

:o

AnhTuanCool 09-06-2004 05:49 PM

Quote:

Originally Posted by Erwin
Yes, it's possible, but the user has to have root access given to it by the root user.

What do you mean by this? :ermm:

hockyfan 09-24-2004 04:34 PM

Excellent hack! No problems at all. I too, however, am not too well-versed in the ways of CHMODing, and I was wondering as well is there any sort of security risk making all folders CHMODed to 777?


h

Erwin 09-27-2004 06:38 AM

Quote:

Originally Posted by hockyfan
Excellent hack! No problems at all. I too, however, am not too well-versed in the ways of CHMODing, and I was wondering as well is there any sort of security risk making all folders CHMODed to 777?


h

Mainly only if you are on a shared server. If so, there is a risk.

This hack is a convenient hack for days without SSH/ FTP access.

hockyfan 09-29-2004 06:00 PM

Thanks, I am now using it regularly and am very happy with it, nice work!

h

BigCheeze 11-20-2004 07:35 PM

Finally got around to upgrading to VB3... Thank Gawd you ported this hack! Still one of my favorites! Thanks AGAIN!

Kagen 11-24-2004 05:46 PM

OMG i have acess to look at every file on my host server.... wow i could just go dealete crazy....XD but then i wouldnt have my forum or site >.> i think this hack shouldnt be avaible to the public all thought its awsome im just worried =/

lancepoint 12-01-2004 12:06 PM

yea i just installed and instead of forcing it to the home path defined in the ftp.php file it took me to my host account root!

is there anyway to force the directory? How would i go about making another usergroup in which only has access to ftp.php inside of admincp/ directory?

The Way I have it setup now ... well planned on it until i noticed after aadding the link to vbftp on nav breadcrumb navigation... that the user must have administration rights. What i need is a usergroup modified in the script or where ever it needs to be edited to give certain users rights to acces ftp.php in the directory and only ftp.php.

Please Any Help Would Be Greatly Worshiped!!!

TruckMuddr 12-01-2004 08:51 PM

How do I change the width of the table????


error_22 12-02-2004 07:22 PM

Hi!

I have this wicked problem, and for me it makes no sence. :nervous:
Everytime when click on "User CP" this shows up in the top of the page:

vB FTP Version 1.0
.:Back:.

Download completed successfully!

vB FTP Version 1.0 brought to you by Dr. Erwin Loh

vBulletin v3.0.3, Copyright ©2000-2004, Jelsoft Enterprises Ltd.

--------------------------------------------------------------
what can I do?

Thanks
Niklas

BigCheeze 12-04-2004 06:09 PM

Hi Erwin... I'm having a strange issue that I'm hoping you can help me with.

I'm having problems viewing images. I have 1 of a couple problems... just depending on the config.

1) Using the "../tmp/" as the temp directory I get an "This might be caused by an invalid image type or because you haven't set public read and write access on the temporary directory." error. I've checked the directory it's got full access (BTW it's on a Win2003 server)
2) When I use the full path <drive>:<install path to forums>/tmp/". It doesn't give me an error but it doesn't display the image becasue it's trying to go to that path in the browser.
3) When I use "http://www.domanname.com/forums/tmp'" it works for a few images, then all of the sudden it starts giving me the same error as #1

I'm confused... hoping you might be able to shed some light. Thanks!

Erwin 12-05-2004 09:52 PM

Quote:

Originally Posted by BigCheeze
Hi Erwin... I'm having a strange issue that I'm hoping you can help me with.

I'm having problems viewing images. I have 1 of a couple problems... just depending on the config.

1) Using the "../tmp/" as the temp directory I get an "This might be caused by an invalid image type or because you haven't set public read and write access on the temporary directory." error. I've checked the directory it's got full access (BTW it's on a Win2003 server)
2) When I use the full path <drive>:<install path to forums>/tmp/". It doesn't give me an error but it doesn't display the image becasue it's trying to go to that path in the browser.
3) When I use "http://www.domanname.com/forums/tmp'" it works for a few images, then all of the sudden it starts giving me the same error as #1

I'm confused... hoping you might be able to shed some light. Thanks!

You've chmod the tmp directory to 0777?

rjordan 12-06-2004 02:37 PM

Quote:

This looks like a really nice hack. Know what would be very handy to add? An FTP upload feature with usergroup restriction so admins can give mods a place to upload files
And not just for mods, but how about for any user you wish to give a bit of FTP space to?

I must say that I am particularly fond on a CGI script called eFileMan. It is a free script and has all of the features you could ever want. To see this level of functionality included or have this ported over to PHP/vB would be the most awesome addition for this hack!

red_baron2000 12-25-2004 04:16 PM

one word: fantastic!!

UManiac 01-09-2005 10:59 PM

UManiac CLicks install :)

Thanks!

UManiac 01-12-2005 07:38 PM

Quote:

Originally Posted by BigCheeze
Hi Erwin... I'm having a strange issue that I'm hoping you can help me with.

I'm having problems viewing images. I have 1 of a couple problems... just depending on the config.

1) Using the "../tmp/" as the temp directory I get an "This might be caused by an invalid image type or because you haven't set public read and write access on the temporary directory." error. I've checked the directory it's got full access (BTW it's on a Win2003 server)
2) When I use the full path <drive>:<install path to forums>/tmp/". It doesn't give me an error but it doesn't display the image becasue it's trying to go to that path in the browser.
3) When I use "http://www.domanname.com/forums/tmp'" it works for a few images, then all of the sudden it starts giving me the same error as #1

I'm confused... hoping you might be able to shed some light. Thanks!

I'm having the same problem, however, I'm n a Unix server...

I have CHMOD my tmp directory 777.

Any ideas?

Thanks!

Erwin 01-12-2005 08:07 PM

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. :)

UManiac 01-12-2005 08:30 PM

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!

yoyoyoyo 01-12-2005 08:47 PM

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!

Erwin 01-12-2005 09:53 PM

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)

UManiac 01-14-2005 05:09 AM

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 :rolleyes:

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

BigCheeze 01-30-2005 09:10 PM

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.

iSpanish 01-30-2005 11:40 PM

Nice hack

installed on vB 3.0.6

*installed*

Adrian Schneider 01-31-2005 12:27 AM

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?

iSpanish 01-31-2005 07:46 AM

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

Princeton 02-03-2005 03:50 PM

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!!

Erwin 02-03-2005 09:05 PM

Quote:

Originally Posted by princeton
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!!

I'm happy to port it. Give me this weekend. ;)

Princeton 02-03-2005 09:36 PM

Cool, the new version has all the functions in a separate file -- makes things easier to modify. ;)

Erwin 02-05-2005 10:07 AM

Major update:
Admin CP File Manager (FTP) - Download, Upload, Edit, Rename, Delete PHP Files/Images
Version 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.

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. :)

Enjoy!

Erwin 02-05-2005 10:18 AM

Quote:

Originally Posted by princeton
Cool, the new version has all the functions in a separate file -- makes things easier to modify. ;)

There you go, I've ported it. :)

It took me a while as I had to work out the file permissions. I also rationalised it into 1 directory, took out unneeded code, added code to make it work with vB, added a search function to the edit code (which I also added to the previous version) - interesting that the old version did not have a download feature which I added myself, but the newer version now has one - I took out the chmod feature as it didn't work.

iSpanish 02-05-2005 11:05 AM

good job for UPDATE

but i got error
Quote:

Parse error: parse error, unexpected ')' in /home/XXXXX/public_html/vb3/admincp/vbfm/filebrowser.inc.php on line 21

Rambo 02-05-2005 11:19 AM

Quote:

Originally Posted by Marboosh.Net
good job for UPDATE

but i got error

Ditto, got the same error as you

Princeton 02-05-2005 12:58 PM

Erwin,

GREAT JOB ... that was fast :D

I'll start working on the new files ... when completed I'll send you a copy of the finished product.

shadiguy1 02-05-2005 01:31 PM

i just // line 21 of that file and got it to display my folders but when i try and edit or downloadd anything im getting a 404 page not found error. Please help erwin also this is o vb3.0.3

Erwin 02-05-2005 09:48 PM

Update
------------

Version 1.1 - Fixed path bug in filebrowser.inc.php

To upgrade from File Manager version 1.0 and fix this bug, replace your /admincp/vbfm/filebrowser.inc.php with the new one in the updated ZIP file. :)

That's the only file that's been updated in version 1.1 to fix this bug.

Sorry about that bug. Enjoy!

Erwin 02-05-2005 09:50 PM

Quote:

Originally Posted by princeton
Erwin,

GREAT JOB ... that was fast :D

I'll start working on the new files ... when completed I'll send you a copy of the finished product.

What files? What product? :)


All times are GMT. The time now is 04:17 AM.

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.01374 seconds
  • Memory Usage 1,850KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete