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)
-   -   ecDownloads 3.2 Legacy (https://vborg.vbsupport.ru/showthread.php?t=75198)

White Knight 01-30-2005 10:04 PM

Linked downloads would be great. also being able to have different file extensions. I have a lot of video and audio files I would like to put up without having to zip all of them

Ron1n 01-30-2005 10:07 PM

Quote:

Linked downloads would be great. also being able to have different file extensions. I have a lot of video and audio files I would like to put up without having to zip all of them
If one more person asks for different file extensions or linked downloads they will not be included in the next release. I have said time after time that I will add them soon.

Vevina 01-30-2005 11:43 PM

Sweet :) installed

Ron1n 01-31-2005 06:59 PM

Quote:

Originally Posted by White Knight
Hey dont do me any favors. I can care less then. If you dont like to hear what others want and think, then dont post it.

Um? You make no sense.

First of all, I posted this to help some people out... not to get suggestions. I have no obligation to you or anyone else.

Second of all, I was happy to have constructive suggestions the first few times, but you are the 5-6th person to post th exact same thing. If you dont care enough to read just ONE of the pages on this thread, then dont post at all.

White Knight 01-31-2005 10:22 PM

Im just going to drop from this conversation. Good Hack. Hope it works for someone else out there.

stlmike 02-01-2005 07:18 AM

Do you think you can add Title to the mod? So you dont need to use File Name for the title.

Ron1n 02-01-2005 08:28 PM

That is already the case.

File Name = the files title....

Durtay 02-07-2005 02:22 AM

I read threw this entire thread and found my problem only stated once, but never found a fix for it stated afterwords, if there was one i appoligize for asking twice but here's my dilema:

When I upload files, i get the message "File Successfully Added", but the header puts out the error codes:

"WARNING: move_upload_file(home/public_html/downloads/GFX asdf basdft [].rar): failed to open stream: No such file or directory in /includes/dl_add.php on line 54"

and

"WARNING: move_upload_file(): Unable to move '/tmp/phpdy7S0I' to 'home/public_html/downloads/GFX asdf basdft [].rar' in /includes/dl_add.php on line 54"

I have my upload URL as: /home/public_html/downloads/
and my download URL as: /downloads/

the actual presence of the download is there, but when I click download to download it, it brings me to a 404 error page: http://www.mydomain.com/radio/downlo...&id=3&act=down

i downloaded release D and then updated to release E and still get these errors, all help would be appreciated.


Edit: Also one error I found, and this might be due to the error I stated above but, on the main page where it says 'X' files in 'X' categories, after I deleted all the files i supposedly uploaded, that setting did not reset, it still says I have 8 files in 1 categoy when i deleted them all.

Ron1n 02-07-2005 01:51 PM

Quote:

Originally Posted by Durtay
When I upload files, i get the message "File Successfully Added", but the header puts out the error codes:

"WARNING: move_upload_file(home/public_html/downloads/GFX asdf basdft [].rar): failed to open stream: No such file or directory in /includes/dl_add.php on line 54"

and

"WARNING: move_upload_file(): Unable to move '/tmp/phpdy7S0I' to 'home/public_html/downloads/GFX asdf basdft [].rar' in /includes/dl_add.php on line 54"

I have my upload URL as: /home/public_html/downloads/
and my download URL as: /downloads/

the actual presence of the download is there, but when I click download to download it, it brings me to a 404 error page: http://www.mydomain.com/radio/downlo...&id=3&act=down

I cant think of anything right now... if those are the true paths then everything should be working. You can try chmodding the download folder so that it is readable and writable by the public and by the server. As long as those are the actual paths everything should work.

Are there any spaces in the filename, directory name, or file author? If you upload to 'GFX file author.rar' but it gets saved in the database as 'GFX file author.rar' you would get the download error... but that upload error doesnt make sense.

Just to clarify... when you upload the file, does it upload every file correctly but give you the same error message?

Could you try uploading to your forum url /downloads/ and see if that works (i.e. forum/downloads/). In that case, you don't need to use the actual paths, but can use relative paths such as './downloads/'. You can always use relative paths, but I didnt want to confuse people.

Durtay 02-07-2005 11:05 PM

I've tried using alternate path names, i tried moving the download folder into my forum folder, i tried chmodding all files to 777 and that didn't work. And I get those error messages after i perform the upload action, but the file does not actually upload to my server as I checked the download folder via my FTP client and no files are in the folder. I even tried uninstalling the entire hack and reinstalling, nothing has worked as of yet.

MrD 02-08-2005 01:43 PM

Hi ,
works fine :)

But i miss a mass uploadfunktion via ftp.

I think, it save time.

boxingscene 02-08-2005 02:13 PM

Quote:

Originally Posted by Durtay
I've tried using alternate path names, i tried moving the download folder into my forum folder, i tried chmodding all files to 777 and that didn't work. And I get those error messages after i perform the upload action, but the file does not actually upload to my server as I checked the download folder via my FTP client and no files are in the folder. I even tried uninstalling the entire hack and reinstalling, nothing has worked as of yet.

I get similiar errors only when uploading large files, something that is 36 megs or above or something with spaces in the name.

MrD 02-08-2005 07:20 PM

Hi,
upload from files bigger then 20 megs, are not in Downloadfolder, but in the Downloadlist.

Durtay 02-08-2005 09:13 PM

Quote:

Originally Posted by boxingscene
I get similiar errors only when uploading large files, something that is 36 megs or above or something with spaces in the name.

I attempted to upload an image file (.jpg) but found out that, that extention isn't an accepted extention in the uploader. So I compressed the image into an .rar file. It's named header_top.rar and is only 60KB. Unless it's too small, I don't know what the problem is here. (and the name with the underscore isn't the problem as i removed it when attempting to upload it also.)

Rids 02-10-2005 04:26 AM

I'm having a problem with the templates, the main page is fine but any page with the sidebar is quite a mess. The sidebar is much too narrow, while the nav bar and main page are too wide. You can see what I mean in the enclosed screenshot. I've not touched anything so far so everything is as the installer set up.

Xtrato 02-10-2005 04:25 PM

Hey there, Im also getting the same error as durtay:


move_uploaded_file(/home/public_html/forums/downloads/php-Nuke Q Xtrato XtratoVeil Php Theme [58817].rar): failed to open stream: No such file or directory in /includes/dl_edit.php on line 62

Warning: move_uploaded_file(): Unable to move '/tmp/phpQrDXEB' to '/home/public_html/forums/downloads/php-Nuke Q Xtrato XtratoVeil Php Theme [58817].rar' in /includes/dl_edit.php on line 62

My Paths are : /home/public_html/forums/downloads/

and: /forums/downloads/

Moded All files necessary, and also Get a 404 ERROR page.

Here is the Page http://xtrato.com/forums/downloads.php?do=file&id=1

Thanks in advanced.

Ron1n 02-10-2005 11:05 PM

Quote:

Hi,
upload from files bigger then 20 megs, are not in Downloadfolder, but in the Downloadlist.
It is possible that your server doesnt support uploading such large files. Many servers have the limit at 2megs. It works for me up to 5 megs, and I have not tried it higher.

Quote:

I'm having a problem with the templates, the main page is fine but any page with the sidebar is quite a mess. The sidebar is much too narrow, while the nav bar and main page are too wide. You can see what I mean in the enclosed screenshot. I've not touched anything so far so everything is as the installer set up.
search for
Code:

  <td width="28%" valign="top">
    $dpanel
  </td>
  <td width="72%" valign="top">

in your wrapper_side template, and change the values according to your needs. I used 28 and 78 because I thought it looked good with my boards, but if you have a different skin, you probably need to change it.

Quote:

I get similiar errors only when uploading large files, something that is 36 megs or above or something with spaces in the name.
I addressed the first problem 1-2 quotes above in this post. About spaces in the name... I cant see why that should be a problem. I havent ever had that cause problems on my boards.

Quote:

I've tried using alternate path names, i tried moving the download folder into my forum folder, i tried chmodding all files to 777 and that didn't work. And I get those error messages after i perform the upload action, but the file does not actually upload to my server as I checked the download folder via my FTP client and no files are in the folder. I even tried uninstalling the entire hack and reinstalling, nothing has worked as of yet.
I am not sure what to say. I'm sure its some minor thing you messed up in the installation, but I cant figure out what it could have been... i'll think on it.

Quote:

move_uploaded_file(/home/public_html/forums/downloads/php-Nuke Q Xtrato XtratoVeil Php Theme [58817].rar): failed to open stream: No such file or directory in /includes/dl_edit.php on line 62
Your database is not pointing to the correct file. If that is the correct path to the file, then please correct me so I can help you further.

Xtrato 02-10-2005 11:49 PM

Quote:

Originally Posted by Ron1n
Your database is not pointing to the correct file. If that is the correct path to the file, then please correct me so I can help you further.

That happens when I Submit A download.. I've read through this post, so i've tried most of the fixes, however its not working.

Ron1n 02-11-2005 12:10 AM

you provide the following:

1) absolute path on harddrive
2) path from domain
3) both settings you provided
4) verification that you have chmodded the directory to 777

Rids 02-11-2005 01:32 AM

I found out what was causing it in the end, there were a few instances of "$stylevar[tablewidth]" being nested and the result was the side bar was being squashed and the whole window was being stretched as the variable was inserting a value of 955 each time. I've since changed all occurrences to 100% instead as I use a liquid style and now the templates stretch nicely with the screensize. :)

I would just like to say thanks for this hack, its just what I've been looking for (for ages) and when I can add thumbnail images to go with the files it will be perfect :)

Xtrato 02-11-2005 01:37 AM

[QUOTE=Ron1n]you provide the following:

1) absolute path on harddrive : /home/public_html/forums/downloads/



2) path from domain : do you mean like http://www.xtrato.com or Forum Directory that is at /forums/

/forums/downloads/

3) both settings you provided

4) verification that you have chmodded the directory to 777: Yes I CHMODED the files specified.

TTG 02-11-2005 06:07 AM

Installed on 3.0.6 and upload and download of files works fine :)
Very useful hack .. look forward to the updates if they all work as well as this.

Clicked install.

PixelFx 02-11-2005 11:18 AM

Is there a way to make it so this script as a future update, brings up a agree to diclaimer before downloading a file from this system? sorta like vbulletin.com members area asks you to agree to terms before clicking ok ?

otherwise the system looks great, I hope to install it again later :)

Viks 02-11-2005 06:01 PM

Hi Ron1n,
I installed the Mod...got the upload, d/l path ok.
Files are uploading OK..in the right place.. I verified using ftp s/w.

Issue: problem downloading file

IE - page cannot be displayed error

Netscape - The requested URL /dls/none file this [].ZIP was not found on this server.

Apache/1.3.27 Server at thalforum.com Port 80

----------any suggestions!

thanks

Viks 02-11-2005 06:05 PM

ooops... sorry man!
its all good now.
works fine.

issue was the path instead of using " ./foldername/ " i was using "/foldername/" without the . = DOT

fixed!

thanks!
:D

Socomjunky.com 02-12-2005 09:25 AM

would this mod work for VB version 3.0.3

LeeWicKeD 02-12-2005 10:10 AM

hiho

at first: ronin very good job, awesome hack! -> installed!

@socomjunky.com: i think i've read,that it works for VB 3.0.0 to 3.0.6 without problems

@ronin: i have a problem ;) i can upload and download files without any issues but if i click at a category i just get an empty page? how can i fix this? CHMOD i have set correctly...i think ;)

hope you can help me.
leewicked

Durtay 02-12-2005 06:04 PM

Alright I messed around enough that I got it working now. I reinstalled 3 times and now it's working except for that one problem I stated earlier.

When I perform the action of deleting a file, the actual file gets deleted but the reference of the file isn't removed in the Uploader's uploaded files count and the file count in the category the file used to be in. Just something minor I noticed.

And now that I look at it, I think you have the scripting looking at how many overall uploads there were performed by a user, and how many files have been uploaded to a directory, instead of quering how many current uploads by a user and current files there are in a category within the database. But I'm sure this would add more queries too. Now that it's working for me, great hack :squareeyed:.

Socomjunky.com 02-12-2005 09:41 PM

ok i installed the hack but i get this

You must register to download files

i am already registered and how do u submint a file. I will reinstall the hack. i thing i did something wronge. i forgot to put the CHMODD. so i think it is the problem.

LeeWicKeD 02-12-2005 10:07 PM

after installing you need to edit your usergroups. change the "can manage files" & "can download files" to yes.

Socomjunky.com 02-12-2005 11:16 PM

Warning: move_uploaded_file(): open_basedir restriction in effect. File(/home/user/html/downloads/ Edition TEST AGAIN [].zip) is not within the allowed path(s): (/home2/digital1/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home2/digital1/public_html/forums/includes/dl_add.php on line 54

Whats wronge with it. its make the file but when i click on it to download. it brings wronge page

tekram 02-15-2005 08:50 AM

hi community;

one question please: how can i make uploads in .jpg , .gif, .png ....... in this hack?

a very nice hack , always is great but how can i change then user can upload“s in : .jpg , .gif, .png.... too?

when i upload a .gif file the script says me: You may only upload .rar, .zip, and .gz

greetings from germany

tekram

spence2 02-15-2005 10:49 AM

tekram
Post #162:

Quote:

If one more person asks for different file extensions or linked downloads they will not be included in the next release. I have said time after time that I will add them soon.

tekram 02-15-2005 11:48 AM

Quote:

Originally Posted by spence2
tekram
Post #162:

Thanks for your Answer, but i?m a new vbulletin user. sorry for my question but what is that for a silly reaction ?

oh my god , very silly ...

spence2 02-15-2005 12:01 PM

You asked about the file extensions.
I pointed you to where your question had been answered by the author of this hack.

If you think I'm silly for helping you, then I agree.
If you think the answer given by the author of this hack is silly, then he can speak for himself.

tekram 02-15-2005 12:26 PM

Quote:

If one more person asks for different file extensions or linked downloads they will not be included in the next release. I have said time after time that I will add them soon.
yes that is a very stupid answer not yours spence

spence2 02-15-2005 12:49 PM

tekram,

I think that answer was posted out of frustration by the author. Personally, I would not take the same request again and again as people pressuring me, but I can understand how the author might interpret it that way.

I think most of the time we just get all excited about great hacks and think we are encouraging the hacker by expressing our wants and needs ... even if it is the same thing posted by others.

Anyway, welcome! and I'm sure we both agree that this is a great hack and thank Ron1n for his generosity in sharing his hard work with us. ;)

Jenta 02-15-2005 01:01 PM

works great! exactly what i needed for my cheat site
thanks Ron1n

tekram 02-15-2005 01:09 PM

i thinke the same @spence

great hack and great work by Ron1n. i?ve found the answer for my question and change the dl_add.php & dl_edit.php .

many thanks to LeeWicKeD too for helping hand :-)


everythink ist ok !!!


Quote:

can i change the file size to upload a file everywhere? i?ll upload a file near 5 mb whre can i change it ?
Thanks to everyone for helping hand

Yevgeny 02-15-2005 02:15 PM

when i trying to Add category i get:
Fatal error: Call to undefined function: fetch_result() in C:\Domains\****.com\wwwroot\forum\includes\db_mysq l.php on line 307


All times are GMT. The time now is 06:03 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.01878 seconds
  • Memory Usage 1,843KB
  • 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
  • (1)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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