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)

Cyberfreak 02-24-2005 12:56 PM

Quote:

Originally Posted by Dep
trys these

make it read
Code:

<?php
$INFO['d_perpage']                = '20';
$INFO['d_disable']                = '0';
$INFO['u_url']                        = '/var/www/html/forum/downloads/';
$INFO['d_url']                        = 'http://www.domain.com/forum/downloads/';
$INFO['d_order']                        = '`name`';
?>

the other one is

change
chmod the downloads/ dir to 777
to this
chmod the downloads/ dir to 755

Thank you for trying, but it din`t help at all.. :(

Just the same as alwyas..

Thanks again :)

Cyberfreak

Jenta 02-25-2005 06:24 AM

i think theres a major bug with this
if u need to restore your database it hangs on file_cat
i think its due to the word desc for the file description
desc means descending in sql

anyone else seeing this?

Spyke 02-25-2005 04:59 PM

so is ron1n planning on updating this mod like he said he was?? It would be nice to see support of other extensions.

fiber1 02-25-2005 07:22 PM

Quote:

Originally Posted by Spyke
so is ron1n planning on updating this mod like he said he was?? It would be nice to see support of other extensions.

Read through the threads that was posted.

Xtrm2Matt 02-25-2005 08:50 PM

Why would we want to trail through 16 pages for a simply answer;

Yes or No.

Ron1n 02-26-2005 01:05 AM

Quote:

Originally Posted by Xtrm2Matt
Why would we want to trail through 16 pages for a simply answer;

Yes or No.

It only takes reading one page.. any one of the 16. Pick a page, any page, and read the post at the top.

Quote:

Originally Posted by Xtrm2Matt
Hi there,

I can't be bothered to trail through 14 pages, but I've gone through the last 3 or 4 and I've noticed 1 thing about the extensions. If you want to upload different extensions other than .rar, .zip and .gz, simply do a search for ".rar" in the following files and you'll see this:

if ($lext != ".rar" && $lext != ".zip" && $lext != ".gz") {

$errors['message'] .= '<center>You may only upload .rar, .zip, and .gz</center><br>';

You can simply add more extensions by adding $lext != ".EXTENSION". Remember, add $lext != ".EXTENSION" && if your adding more than 1 extension.

Thanks for helping people out :D.

Quote:

Originally Posted by XTrm2Matt
I'm sorry to be rude, great plugin, but it seems you've put too little effort into releasing something that we can install straight away. You say the phrases arn't needed? How can you even think about releasing a plugin without releasing the phrases as well? Some people may not mind, but I certainly do. I'd rather see a nice message saying "Thank you, your categorie has been added" rather than "Error: The phrase 'categorie_added' cannot be found because the author was to lazy to release it so please don't complain"..

Well, thats personal preference. I rather hate mods that make me install phrases because it is a waste of my time to do so. If you would like, i'll email you the phrases for versioin 2.0 in about a week and you can make the phrases including a tutorial showing users how to add them. Does that sound fair?

- - - - - - -

Now, a note to all the users about problems uploading files. You are having trouble because you have not filled in your directories accurately or your server permissions are not set correctly. I have not seen any other problems that caused the upload errors. Everyone always comes back after a while and posts (or PM's me) saying "it works, i just had to fill out ___ differently."

I will admit, these settings are not for your junior webhost, because they require knowledge of how to traverse directories, but I couldnt help that. I wanted so very much to be able to allow users to upload to a directory outside of their forum directory (i.e. elitecoders.org/downloads/ instead of elitecoders.org/forum/downloads) but for the next release I will simply resort to forcing downloads to /forum/downloads and eliminating all user setup.

As to why I have not released or been here. Frankly, that is no ones business, but I have been busy with school, paid projects, and college visits. vBDownloads is one of the things at the bottom of my list in order of importance. That being said, I expect to make more progress this weekend, and may release a nice treat next weekend to a few beta testers. After they assure me that it works, I will release to the public.

Cyberfreak 02-26-2005 10:06 AM

Quote:

Originally Posted by Ron1n
I will admit, these settings are not for your junior webhost, because they require knowledge of how to traverse directories, but I couldnt help that. I wanted so very much to be able to allow users to upload to a directory outside of their forum directory (i.e. elitecoders.org/downloads/ instead of elitecoders.org/forum/downloads) but for the next release I will simply resort to forcing downloads to /forum/downloads and eliminating all user setup.

But still Ron1n, i have tried what u say several times, several ways and still it chmod the files to 600.

Even got help from sys admin of hosts, they din`t find a better way to fix it either.

I`m not a n00b to php and moding vB files, so i have looked true your files to understand what you have done to make this. Haven`t find anything about chmod.

Maybe im just blind, but not a junior on all this.

Will let it be to see if there is someone else that comes up with an solution for this, or sorry to say this (but of the slack of support) i will uninstall it.

Cyberfreak

GetGamer.com 02-26-2005 12:35 PM

I've run across a problem uploading files that appears to be related tofilesize. The php.ini on our server limits file uploads to 2MB or less,but if I try to upload a file that's 1.6 MB it fails with either"Document contains no data" or a "page not found" error -- neither avery elegant way of failing. It would be good to include a filesizecheck on uploads, if that's possible... or at the very least add anadmin option to set a limit that is displayed on the upload screen("Maximum upload file size is xx") so that users know not to tryuploading anything larger.

Also there are a few spelling errors on some of your pages.
  • On the Add file page, recomended should be recommended (two m's).
  • On the Stats, Search and My Files pages, comming should be spelled coming (one m). Personally, I have an aversion to "coming soon" type pages. I'd rather you left that out until it was really there.
  • In the User Info box, you used Your when you should've used You're or You are. Personally, I'd rather just see Logged in as nnnnn.
One other note, if you add phrases, it makes it 1000 times easier toadapt to other languages and it makes it easier for people to changethe wording of things like "You're logged in as... " to simply "Loggedin as..." to suit their preferences. I know it's more work to code, butin the end, you'll get much appreciation!

All in all I just want to say thank you for what is shaping up to be anexcellent mod. I really like the layout and the work you've put intoit. Keep up the great work!

Spyke 02-26-2005 05:48 PM

I just have a question. I added file extensions and some of them are image extenstions for wallpapers. Though, i feel there is a problem. It shows the full path to where the image is. So, anyone can just freely download what ever file they want from going to the forum.com/forum/downloads/ directory. Is there anyway to prevent this?

Jag 02-27-2005 08:05 AM

For everyone having the CHMOD 666 Forbidden File problem - here's the solution. :)

Find this code in includes/dl_add.php

Code:

move_uploaded_file($_FILES['upload']['tmp_name'], $INFO['u_url'].$newfilename);
And add this code directly under it:

Code:

chmod($INFO['u_url'].$newfilename, 0755);
This will CHMOD the uploaded to file to 755 and thus eliminate the 666 bug. :)


All times are GMT. The time now is 10:57 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.01661 seconds
  • Memory Usage 1,757KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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