vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Upload Hack (https://vborg.vbsupport.ru/showthread.php?t=37233)

camikazi2k 04-12-2002 01:34 AM

ok, i have checked the name and everything, everything is right but i still get this error
Unable to select database.
??
any idea

camikazi2k 04-12-2002 01:54 AM

sorry, can some one tell me how to run the sql? what command to use
thank you

Slynderdale 04-12-2002 10:07 PM

The new version is almost done, should be fished and bug free in a few days

Slynderdale 04-12-2002 10:08 PM

Quote:

Originally posted by camikazi2k
ok, i have checked the name and everything, everything is right but i still get this error
Unable to select database.
??
any idea

did you put inthe right database name, account and pass in the config?

LangTuDaTinh 04-13-2002 02:44 AM

Slynderdale, many thanks...Great Hack...

Slynderdale 04-15-2002 07:31 PM

Sorry every one, the new version is at a stand still till i can get my mysql database fixed as seen here:

https://vborg.vbsupport.ru/showthrea...threadid=37428

Sorry for the inconvience, ill try to get it done as soon as i can.

nafae 04-16-2002 09:31 AM

Wow I don't believe I missed this hack yesterday. Great hack, and goodluck with your database (I can't help you with it because I don't know much about mysql) Thanks again :)

(I'll be installing tonight)

Slynderdale 04-16-2002 06:09 PM

i got the database fixed, im working on the upload version 2.0 and a zodiac hack that shows the users zodiac sign in the member list, in postbit and there profile, you can choose where you want it.

nafae 04-16-2002 06:32 PM

I get this error:

Warning: MkDir failed (No such file or directory) in /home/coderfor/public_html/upload/upload.php on line 114

Warning: fopen("./home/public_html/upload/files/nafae/index.html", "a") - No such file or directory in /home/coderfor/public_html/upload/upload.php on line 116

the folder /files is chmodded to 777, and

$absolute_path = "./home/public_html/upload/files"; //Absolute path to where files are uploaded
$site_url = "http://coderforums.net/upload/files"; //the url to where files are uploaded

What is wrong with this? does anyone know?

Slynderdale 04-16-2002 06:34 PM

Quote:

Originally posted by nafae
I get this error:

Warning: MkDir failed (No such file or directory) in /home/coderfor/public_html/upload/upload.php on line 114

Warning: fopen("./home/public_html/upload/files/nafae/index.html", "a") - No such file or directory in /home/coderfor/public_html/upload/upload.php on line 116

the folder /files is chmodded to 777, and

$absolute_path = "./home/public_html/upload/files"; //Absolute path to where files are uploaded
$site_url = "http://coderforums.net/upload/files"; //the url to where files are uploaded

What is wrong with this? does anyone know?

("./home/public_html/upload/files/nafae/index.html",

remove the . in the absoulute path

Slynderdale 04-16-2002 06:37 PM

also place a index.html in the upload folder so it sends you to the main page or upload.php file like this

<HTML>
<HEAD>
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=../upload/upload.php">
</HEAD>
</HTML>

Slynderdale 04-16-2002 06:39 PM

also do the same to the file folder so no one can see the contents of it

Slynderdale 04-18-2002 12:11 AM

ok im getting tired of my web host always being down for some unknown reason, and right when in a middle of testing a hack, im getting a new webhost with a d3 45mps connection, php, mysql and it has iphp, iphp is real cool :)

drives fast 04-18-2002 02:48 AM

Slynderdale,

great hack. I was wondering since your hack is the beginning of a hack request that I made found here: https://vborg.vbsupport.ru/showthrea...threadid=37481
if you would be willing to modify your hack to accomplish that?

Slynderdale 04-18-2002 04:50 AM

Quote:

Originally posted by drives fast
Slynderdale,

great hack. I was wondering since your hack is the beginning of a hack request that I made found here: https://vborg.vbsupport.ru/showthrea...threadid=37481
if you would be willing to modify your hack to accomplish that?

yea, i could change the scriptd for you

drives fast 04-18-2002 03:25 PM

kewl......here is my e-mail address: drives_fast1@hotmail.com

please send me an e-mail when you get the chance.......I would like to talk about this on the phone if that is okay.....I can explain it better that way

life is boost 04-23-2002 10:56 PM

Is there any way that a user can delete files form their folder?

Slynderdale 04-24-2002 01:05 AM

Quote:

Originally posted by life is boost
Is there any way that a user can delete files form their folder?
it will be in the new version

version 05-02-2002 10:14 AM

progress?

Dark_Wizard 05-12-2002 09:56 PM

Any progress? Looking forward to 2.0!

ling_thing 05-12-2002 10:10 PM

iam curious if this has an upload file size limit
i was working on a upload script in php the other day
but unfortunitely it was of no use to me because of the php 2MB upload limit which i cant change :(

was wondering if this is restricted by that limit as well or if it gets by it?

cool hack all the same though

chapt0r 05-24-2002 11:36 PM

It looks all good, but it is just sitting there when the user attempts to upload a file. I am running on a win2k adv serv platform. I have given the proper permissions to the upload folder also.

Warning: Lost connection to MySQL server during query in c:\program files\apache group\apache\htdocs\forum\authvb.php on line 6

Warning: MySQL Connection Failed: Lost connection to MySQL server during query in c:\program files\apache group\apache\htdocs\forum\authvb.php on line 6

Fatal error: Maximum execution time of 30 seconds exceeded in c:\program files\apache group\apache\htdocs\forum\authvb.php on line 7

These are the errors that I recieved.

Any help is appreciated.. by the way awesome hack though, I have been looking for something just like this.

wes

mikeschultz 05-25-2002 07:00 PM

i keep getting invalid user/pass

Danny 06-04-2002 09:45 PM

How hard would it be to enable a delete file feature for when they upload too many files and dont have any space left i would like them to delete some files is this possible?

TIA :)

how about a progress report? on v2.0?

Andy R 06-25-2002 04:30 AM

This looks like a great hack! I look forward to v2 to come out! If you need any help testing, let me know!

Trident 08-27-2002 07:16 AM

sory for bumb .. but i need the new version !

----------------------------

Hacks Im Working On:
Upload Hack (v 2.0)

----------------------------

we are wait you, Slynderdale :)

eckels2 08-29-2002 03:25 AM

Bump :)

Same here. I'm definately in need of this hack.

Chris M 08-29-2002 01:06 PM

Version 1.0 looks very cool...

Version 2.0 should be much better, if Sylnderdale can provide half of what he promises;)

Satan

eckels2 08-29-2002 06:14 PM

Version 2, is EXACTLY the hack i was looking for when i posted this.

Now that i've bought a vb, I'm excited to know a hack like this exists... but I'm worried it'll get forgotten about by the author before v2 comes out.

Slynderdale 08-29-2002 09:58 PM

Quote:

Originally posted by eckels2
Version 2, is EXACTLY the hack i was looking for when i posted this.

Now that i've bought a vb, I'm excited to know a hack like this exists... but I'm worried it'll get forgotten about by the author before v2 comes out.

Sorry for the long wait, my webhost was down for over a mon th and ive been busy, currently im working on version 2, its gonna be way more better then the last one, it will support php uploading, maybe mysql uploading (saving the files to mysql) and php uploading (the old way where you need to chmod the folders to 777), file deletion, file and web stats, online file editing (for aeditable files such as text files, html and so on, multiple uploading, multiple folders for members, you can ban certain members and usergroups and admins can have access to every ones folder (or cetain people), admin editable options, maybe having the user have one private folder with .htaccess protection where they can make and delete accounts from, im making two versions, one intergrated with vbulletin and one stand alone for web developers, its gonna be free of course :)

Heres currently the file info you can get:
name
filename
extension
timechanged
timeaccessed
timemodified
size
inode
type
perms
chmodperms
width
height
imagetype
ispicture
isviewable
isfile
isdir
islink
isuploaded
iswriteable
isreadable
isexecutable
filepath
path



Heres a little test version, it shows the info it gets when it reads a directory, its gonna have a better gui when its done and easy to use.

http://slynderdale.darktechgameing.com/test3.php

eckels2 08-29-2002 10:18 PM

You're my hero. And I really mean that. lol :)

What i'm going to use this for...specifically... is to give every member 5 free mb of webspace to do with what they please, and then perhaps allow them more, if they pay for it.. or something along those lines.

Now, I'm curious. are these user directories going to be made when the user signs up? or when they first try to upload something? or what?

So far, The fact that such a hack exists has exceeded my expectations, so believe me, I'm already excited. :)

Slynderdale 08-29-2002 10:33 PM

Quote:

Originally posted by eckels2
You're my hero. And I really mean that. lol :)

What i'm going to use this for...specifically... is to give every member 5 free mb of webspace to do with what they please, and then perhaps allow them more, if they pay for it.. or something along those lines.

Now, I'm curious. are these user directories going to be made when the user signs up? or when they first try to upload something? or what?

So far, The fact that such a hack exists has exceeded my expectations, so believe me, I'm already excited. :)

The vbulletin version will have mysql support, the stand alone version for developers, mysql will be optional, in both versions, ftp will be option, but you can use ftp instead of php uploading and so on so you wont have to chmod the files to 777 and so on, with the vbulletin one, you can set the web space size they can use per user and per user group, so one could have 5 megs and like you said, they could buy addintional space and you could give them more, also i might intergrate a web account and mysql database creator for web developers so they can esily create accounts for people if they own there own server.

The directories are gonna be made when they go to the upload area and sign up for a upload account, i think having it automaticly create them when they sign up will be a easte of space if there not gonna use it, and the vbulletin version will have template support for easy html editing and editing how it looks so you can intergrate it in your website and gonna have a better mysql logging that keeps track of what users do and so on.

Slynderdale 09-02-2002 08:14 PM

Im working on the upload hack version 2, if you want any thing custom added, please post and tell me what you want and ill see if i can add it into the new version for ou and so on.

eckels2 09-03-2002 12:12 AM

w1.) user interface where user can upload files or delete files at will
2.) limit on space for each member, with controls to allow more space

that's all that comes to mind right now

eckels2 09-12-2002 10:47 PM

(Bump)

Sorry, i'm impatient. Just wanna know if theres been any progress.

SemperFidelis 09-25-2002 12:55 PM

Slynderdale - cant wait for version 2 of your excellent hack
So far it looks like it will totally rock !
:D

Quick question for everyone, have you every had v1.0 of the hack return :
" Unable to execute query "
when either trying to upload or view uploaded files ?
I know for a fact it used to work ok
Im just curious what might have caused this.

LangTuDaTinh 09-27-2002 06:35 PM

Slynderdale, please release v2....

thanks

eckels2 09-29-2002 05:58 PM

I immed him.. said he was still workin on it... But I'm beginning to think it's not gonna happen :(

alkatraz 11-17-2002 02:19 AM

pleeeeease! =)

camikazi2k 11-19-2002 03:17 AM

is it possible to make same hack but not to involve in detabse and just upload to an ftp u running
so u can save space and give more upload space


All times are GMT. The time now is 04:26 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.01544 seconds
  • Memory Usage 1,822KB
  • 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
  • (6)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
  • (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