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)
-   -   HTTP Upload Hack Version 2.0 (https://vborg.vbsupport.ru/showthread.php?t=65325)

Ecron Daemon 07-08-2004 06:37 PM

Don't worry, i solved the problem! Found the solution! :D

Pseudomizer 07-08-2004 08:02 PM

Quote:

Originally Posted by Ecron Daemon
It seems impossible to change the directory destination of the files uploaded! :(

I put the two files of this hack on a subdirectory of the forum and with chdir I make the file read global.php. The Problem is that all the files uploaded, are in the root forum directory and not in the subdirectory where the 2 hack files are.

Any suggestion?

After this line:

Code:

        $file_name = stripslashes($file_name);
        $file_name = str_replace("'","",$file_name);

add this:

Code:

        $file_name = 'YOURSERVERPATH'.$file_name;
and replace YOURSERVERPATH with for example /srv/www/htdocs/forum/httpuploadir

Cheers,

H2k 07-12-2004 04:10 PM

ok i think this is a great mod.. but ican i know where all File will go ..

i think if u update this mod ..

For Exmaple In the Server There is a Files

Files in this Files who ever will uploud any file for Exmpale

Files/NicknameHere/anyfile.jpg

it's add the nickname of the person thankyou and let me know where all the file will be uploud .. and can we do this way to add inside the folders file the nick name of the person..

thanks.

Pseudomizer 07-12-2004 04:29 PM

Quote:

Originally Posted by H2k
ok i think this is a great mod.. but ican i know where all File will go ..


i think if u update this mod ..

For Exmaple In the Server There is a Files

Files in this Files who ever will uploud any file for Exmpale

Files/NicknameHere/anyfile.jpg

it's add the nickname of the person thankyou and let me know where all the file will be uploud .. and can we do this way to add inside the folders file the nick name of the person..

thanks.

Hi H2k,

i am very sorry, but your english is ... not easy to understand.

To answer your question: The files will be stored in the /forum folder and if you apply the modification from above it will save the file to the directory you specify.

If you want to create folders with your usernames then you have to modify this hack to create the corresponding directories. If you want to do that, feel free to do the changes. I created this hack for some people who needed an independant upload ability. What you are asking is something totally diffent and there are upload hacks out there which should satisfy your needs.

Please correct me if i am wrong but i tried to understand what you wrote.

Cheers,

H2k 07-12-2004 05:00 PM

hello iam sorry about my english ..

what i mean is .. all file is stored in the directory /forums.... it should be in one folders we creat For example

Say that we creat one folders called

"Files" and each user will be uploud it will creat folder with their name

for example

File/Nickname/uploud_hack.zip

so all the file of the user who will uploud it will be stored in him folder "File/Nickname/file.zip"

i dont no if we can do this or not

know if i try to uploud any File it's only let me 9 if i need more .. like 12,13,14 how can i change it .. and if i need all file be stored in one file that me i creat also how ..

thankyou amd i hope u understand my english :mad:

Pseudomizer 07-12-2004 05:59 PM

Quote:

Originally Posted by H2k
hello iam sorry about my english ..

what i mean is .. all file is stored in the directory /forums.... it should be in one folders we creat For example

Say that we creat one folders called

"Files" and each user will be uploud it will creat folder with their name

for example

File/Nickname/uploud_hack.zip

so all the file of the user who will uploud it will be stored in him folder "File/Nickname/file.zip"

i dont no if we can do this or not

know if i try to uploud any File it's only let me 9 if i need more .. like 12,13,14 how can i change it .. and if i need all file be stored in one file that me i creat also how ..

thankyou amd i hope u understand my english :mad:

Yes, i understood you but you did not understood my answer from above. What you are asking for is a complete upload system for users. This is not the intention of this hack. There are already hacks out there which do that for you. It does not make sense to recreate this hack to become an complete upload system for users. This hack is for administrators and nothing else. Hope this make things clear now.

Cheers,


All times are GMT. The time now is 08:20 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.01125 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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