vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

RS_Jelle 04-08-2007 10:53 PM

Quote:

Originally Posted by ragtek (Post 1221078)
what would be very nice:
a flash madia player*g*

That's very difficult, mostly because of the different audio and video standards. v6 will introduce an extensions admin so you can choose the sended headers just like with the attachments. That can help you to point the browser to a correct media player instead of a download window.

Quote:

Originally Posted by littleone (Post 1221084)
I have a site that allows video downloads . Videos are hosted in another server. Can I point the downloads to download from another server- not through PHP, becuase of memory issues with php, but a plain hyperlink.

Thanks

Just use the "linked file" input field :)

Quote:

Originally Posted by HappyPike (Post 1222350)
How to prevent users from rating their own files

...

PS: Jelle, feel free to incorporate this into the product if you like it. :)

I'm putting this problem on the todo list. The most easy way is an option -I think-, so you can choose if you want to allow it or not.

ragtek 04-09-2007 07:14 AM

ok
thx 4 info

jahshaka 04-09-2007 07:19 AM

hi i know you are working on a new v6 but i really need to get the current version to work! for all files that are uploaded i get 'file not found' but all linked files work ok

everything is as you said it should be ie ./downloads/ is in the forum directory and the uploaded files appear there just try to access them gives me a error every time...

jahshaka 04-09-2007 07:46 AM

just fyi i am using zoints SEO plugin on vb 3.6.4 to rewrite my urls, however this should not affect the downloads system or would it?

in order to get things to work temporarily i have re-added all the downloads as http links to the files in the downloads folder - not a perfect solution as new uploads wont work unless the admin does everything

how can i de-bug this?

RS_Jelle 04-09-2007 09:53 AM

Quote:

Originally Posted by jahshaka (Post 1223129)
hi i know you are working on a new v6 but i really need to get the current version to work! for all files that are uploaded i get 'file not found' but all linked files work ok

everything is as you said it should be ie ./downloads/ is in the forum directory and the uploaded files appear there just try to access them gives me a error every time...

Strange. Can you pm me your url and a login/password of a test account on your site (just a normal user account)? Then I will take a look at it.

Hornstar 04-10-2007 11:54 AM

Hey RS - How much longer do you have left on your holidays? how has everything been going with the new release? Do you still think you are on schedule for a release in the next week?

and, will vbseo links be better handled in this new version, or will vbseo owners still need to edit the code, so vbseo will work better with it?

Thanks.

Hornstar 04-12-2007 06:40 AM

also, i have got simple_tops.php displayed on my homepage which you posted several pages back now http://www.gamerzneeds.net/index.php

I was just wondering how i would show up the last 10 instead of 4.

Thanks.

CyberRanger 04-12-2007 10:27 AM

Quote:

Originally Posted by hornstar1337 (Post 1225696)
I was just wondering how i would show up the last 10 instead of 4.

Thanks.

In the admincp -> Downloads -> Settings -> Number of "Latest Files" to Display. That will also change the number shown on your downloads.php pages. Sorry, but right now, there isn't a way to have the number shown different for the two pages.

Hornstar 04-13-2007 03:57 AM

Quote:

Originally Posted by CyberRanger (Post 1225803)
In the admincp -> Downloads -> Settings -> Number of "Latest Files" to Display. That will also change the number shown on your downloads.php pages. Sorry, but right now, there isn't a way to have the number shown different for the two pages.

Thanks, will there be a choice in the next release?

CyberRanger 04-13-2007 11:33 AM

Quote:

Originally Posted by hornstar1337 (Post 1226430)
Thanks, will there be a choice in the next release?

The "tops" information is stored in the database so it can quickly be retrieved. I need to check with Jelle to see if he is moving it to the datastore. Maybe we can configure two fields for each top but right now I doubt it will be an option we add.

Hornstar 04-13-2007 01:37 PM

okay no problem. look forward to it being an option tho ^^

basketmen 04-14-2007 08:56 PM

i have few problem, i use vb 3.6.5

1. there is extra DOT like this www.domain.com/./downloads.php?do=file&id=1



2. Can not view Image after upload, because it CHMOD automatic to 666



Please dont afraid to answer

Daja 04-14-2007 10:53 PM

Hi all, does this work on ver 3.6.5?

Hornstar 04-14-2007 11:39 PM

Quote:

Originally Posted by Daja (Post 1227887)
Hi all, does this work on ver 3.6.5?

yes working fine on my 3.6.5 there will be a big upgrade in the next week hopefully which will fix a lot of problems that some people may be having, and will add heaps of new features ^^ I cant wait :)

bashy 04-15-2007 11:43 AM

Hi, In the "My Files" list can you please add another column for the size of the file?

thunder1202 04-17-2007 05:48 AM

Is it possible to add a Random thumbnail from the files library on an external HTML page ... OR ... to VB FORUM HOME??
this would be a great add on!!

Hornstar 04-18-2007 04:55 AM

Quote:

Originally Posted by thunder1202 (Post 1229494)
Is it possible to add a Random thumbnail from the files library on an external HTML page ... OR ... to VB FORUM HOME??
this would be a great add on!!

what would the thumbnail contain? do you mean a stats column? if so its possible, i have done that on an external non vb page. www.gamerzneeds.net look for simple_tops.php download somewhere in this thread, then just display that.

rowlandc 04-18-2007 02:49 PM

I was just wondering. Does this addon have the same function like 'Links & Downloads Manager' which lets the admin set the bandwidth each user can download over a time period?

DementedMindz 04-18-2007 03:10 PM

Yes it does

Louis Phong 04-19-2007 04:54 AM

i can't upload. (My server turn on safe mode), when i click add files, blank screen appear :(

i created folder ec_tmp under folder downloads and CHMOD to 777

would you please help me :(

Hornstar 04-20-2007 12:12 AM

I think it doesnt work with safe mod on.

CyberRanger 04-20-2007 02:02 AM

Quote:

Originally Posted by hornstar1337 (Post 1231608)
I think it doesnt work with safe mod on.

No, that's incorrect. It WILL work with safe mode on as long "copy" is NOT in "disable_functions". Can you check if "copy" is in "disable_functions"?

Hornstar 04-20-2007 07:04 AM

^^ i said think, new there was something about something in the something lol. anyway, hows things coming so far on the next update :)

49er 04-21-2007 08:49 AM

Hi,

After moving hosts, i find that no one can use the downloads? After clicking on an item to download a page opens with this error:

Code:

  You are not authorized to view this page
You might not have permission to view this directory or page using the credentials you supplied.

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

If you believe you should be able to view this directory or page, please try to contact the Web site by using any e-mail address or phone number that may be listed on the www.*****.com home page.

You can click  Search to look for information on the Internet.


HTTP Error 403 - Forbidden
Internet Explorer 


All the permissions have not changed and are set correctly, they are exactly what they were before i moved host!!

Does anyone know the answer?

Thanks .. :up:

RagingGamers 04-21-2007 11:27 AM

Hello, I love the hack and I've installed it but I am having a problem downloading videos. I do not have them as an open in browser thing but whenever I open a WMV or MP4 file (only 2 I've tested so far) it saves the file to a temp directory and then opens it. I wanted to use them for the PSP to download videos from the site to the psp but on a psp, it tries to open it in it's browser displaying a bunch of symbols instead of asking if I wish to download. If anyone knows a fix, please help me as I wish to get this working before I open my site.

RS_Jelle 04-22-2007 06:59 AM

Quote:

Originally Posted by teepeg (Post 1232503)
Hi,

After moving hosts, i find that no one can use the downloads? After clicking on an item to download a page opens with this error:

Code:

  You are not authorized to view this page
You might not have permission to view this directory or page using the credentials you supplied.

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

If you believe you should be able to view this directory or page, please try to contact the Web site by using any e-mail address or phone number that may be listed on the www.*****.com home page.

You can click  Search to look for information on the Internet.


HTTP Error 403 - Forbidden
Internet Explorer 


All the permissions have not changed and are set correctly, they are exactly what they were before i moved host!!

Does anyone know the answer?

Thanks .. :up:

It's a permission problem though :D
Also check the permissions of your old, uploaded files ;)
And the ec_temp folder inside the downloads folder should be also chmodded to 777.

Quote:

Originally Posted by RagingGamers (Post 1232572)
Hello, I love the hack and I've installed it but I am having a problem downloading videos. I do not have them as an open in browser thing but whenever I open a WMV or MP4 file (only 2 I've tested so far) it saves the file to a temp directory and then opens it. I wanted to use them for the PSP to download videos from the site to the psp but on a psp, it tries to open it in it's browser displaying a bunch of symbols instead of asking if I wish to download. If anyone knows a fix, please help me as I wish to get this working before I open my site.

That's a personal computer problem: you have set this option to open it instead giving the download prompt. There are two prompt options: open and download file, and you can set this option for the future. So take a look at your browser options.

Black Tiger 04-22-2007 09:35 PM

I encountered a problem, don't know if it's since the last java update but it could be. I don't know for sure when it started.

When trying to upload a file, the file -will- be uploaded but a java error appears too.
I tried to translate the java error in English, because my browser is in Dutch and the error notice is displayed in Dutch too.

This is what it says:
Code:

Line: 284
Sign: 7
Error: 'length' is empty or no object
Code: 0
URL: http://www.myforums.org/board/downloads.php?do=add&cat=

I put "sign" als the Dutch word for "teken" and I changed the name of my forum in the url but rest is like it should be.

Some uploaders of my forum think they have a problem and won't upload anymore because it also says at a certain moment "ready, but with errors" in the statusbar next to the java error, while upload is still busy and if ready, the upload is 100% correct as far as I can see.

So just a java error is generated (IE6 fully updated).

How can this be fixed?
I run Vbulletin 3.6.5 with VBA cmps, and the VBA CMPS downloads addon.

RagingGamers 04-23-2007 12:17 AM

Quote:

Originally Posted by RS_Jelle (Post 1233195)
That's a personal computer problem: you have set this option to open it instead giving the download prompt. There are two prompt options: open and download file, and you can set this option for the future. So take a look at your browser options.

The problem with that is that this can't be set on psp and it has to be set correctly in the script so when the psp just left clicks the download, the file should choose to be saved. This works for mp3 files when I tried but not wmv or mp4.

CyberRanger 04-23-2007 12:57 PM

Quote:

Originally Posted by RagingGamers (Post 1233710)
The problem with that is that this can't be set on psp and it has to be set correctly in the script so when the psp just left clicks the download, the file should choose to be saved. This works for mp3 files when I tried but not wmv or mp4.

I think you are saying we need to set the content-type when the file is psp. Darn if I can figure out what to set it to! Any ideas?

RS_Jelle 04-23-2007 03:30 PM

Quote:

Originally Posted by Black Tiger (Post 1233628)
I encountered a problem, don't know if it's since the last java update but it could be. I don't know for sure when it started.

When trying to upload a file, the file -will- be uploaded but a java error appears too.
I tried to translate the java error in English, because my browser is in Dutch and the error notice is displayed in Dutch too.

This is what it says:
Code:

Line: 284
Sign: 7
Error: 'length' is empty or no object
Code: 0
URL: http://www.myforums.org/board/downloads.php?do=add&cat=

I put "sign" als the Dutch word for "teken" and I changed the name of my forum in the url but rest is like it should be.

Some uploaders of my forum think they have a problem and won't upload anymore because it also says at a certain moment "ready, but with errors" in the statusbar next to the java error, while upload is still busy and if ready, the upload is 100% correct as far as I can see.

So just a java error is generated (IE6 fully updated).

How can this be fixed?
I run Vbulletin 3.6.5 with VBA cmps, and the VBA CMPS downloads addon.

Try: Extra -> Internet-opties -> Geavanceerd -> Foutopsporing in scripts uitschakelen (Intenet Explorer)
That option should be enabled (aangevinkt staan dus, lol) :D

Normally this option is standard enabled.

RagingGamers 04-23-2007 09:19 PM

Quote:

Originally Posted by CyberRanger (Post 1233991)
I think you are saying we need to set the content-type when the file is psp. Darn if I can figure out what to set it to! Any ideas?

Are you saying a file with an extension of psp? I am referring to using the web browser via the PSP (Playstation Portable) to download the file. I think the mime type just needs to be set correctly via cpanel, apache, or the script itself although I do not know how to do that correctly.

Black Tiger 04-23-2007 10:38 PM

Quote:

Try: Extra -> Internet-opties -> Geavanceerd -> Foutopsporing in scripts uitschakelen (Intenet Explorer)
That option should be enabled (aangevinkt staan dus, lol) :D
Well... just checked, this setting is already enabled (aangevinkt) and the one under the "overige toepassingen" too.

RS_Jelle 04-24-2007 04:51 AM

Quote:

Originally Posted by Black Tiger (Post 1234334)
Well... just checked, this setting is already enabled (aangevinkt) and the one under the "overige toepassingen" too.

Hmm, strange, I can't reproduce that bug in IE 6. Are you using IE 6 or the new version 7?

Also: which versions of Java Runtime Environment are you running? Check your software install/destall panel in Windows and list all the versions/updates.

I can't find a variable length somewhere on line 284. So there's no special DownloadsII JavaScript using 'length' somewhere :confused:

Black Tiger 04-24-2007 06:50 PM

I'm using really IE6, I don't like the 7.
Let's check the Java Runtime Environment... J2SE Runtime Environment 5.0 update with several updates, update 11 is the last one in there.

Maybe the problem is coming from vBA? I did not updated that to the latest version.
I do have the vBA Downloads II addon installed. You fixed something in the headinclude templates some time ago for me, that's still in there, working fine.

Also I tested with Firefox and with Firefox, no problems occur.
Strange...

snoop1979 04-24-2007 11:38 PM

im getting this error
The upload failed! Upload error
help please
i can link to a file but not upload a file (zip rar etc) file zise aprox 4mb i've try with smallers and same thing
and how to add mp3?

RS_Jelle 04-25-2007 04:43 AM

Quote:

Originally Posted by Black Tiger (Post 1234873)
I'm using really IE6, I don't like the 7.
Let's check the Java Runtime Environment... J2SE Runtime Environment 5.0 update with several updates, update 11 is the last one in there.

Maybe the problem is coming from vBA? I did not updated that to the latest version.
I do have the vBA Downloads II addon installed. You fixed something in the headinclude templates some time ago for me, that's still in there, working fine.

Also I tested with Firefox and with Firefox, no problems occur.
Strange...

Strange indeed :D
I suggest you to first update vBadvanced CMPS. That's really, really easy and my fix normally should stay the same (the integration feature stays the same to use). Then we are sure that's not the problem etc.

Java v5 is an old version. Some time ago v6 was released, but v5 still keeps getting updates. But ofcourse it's better to move to the newest release. The bad thing about Java is also that it keeps adding updates (what you can see in your software panel :p). So the best thing is removing all Java things first and then install the newest version.
The best way to update Java: http://www.minatica.be/showpost.php?...66&postcount=4 (dutch)

Quote:

Originally Posted by snoop1979 (Post 1235009)
im getting this error
The upload failed! Upload error
help please
i can link to a file but not upload a file (zip rar etc) file zise aprox 4mb i've try with smallers and same thing
and how to add mp3?

Have you chmodded the downloads folder to 777? For uploading mp3's you need to add mp3 to the Allowed File Extensions list in the DownloadsII options.

If it's a big file upload problem, you probably need to change your php.ini to allow it. You can also do this using a .htaccess (hava a look at this topic, it's mentioned a lot of times already).

Also: is your server running PHP in safe mode (you can see this in the AdminCP)? Then you need to create yourself an ec_temp folder inside the downloads folder and chmod it also to 777.

Kr0nica 04-25-2007 01:13 PM

Hi,

First of all i want to thanks to author, this hack is great :) and i have a little question. Is this possible to show all uploaded files from all categories on main page of download section? I'll be grateful for any help :D

Greets

RS_Jelle 04-25-2007 02:17 PM

Quote:

Originally Posted by Kr0nica (Post 1235247)
Hi,

First of all i want to thanks to author, this hack is great :) and i have a little question. Is this possible to show all uploaded files from all categories on main page of download section? I'll be grateful for any help :D

Greets

Why would you like to do that? I don't understand what you are trying to reach with that?
That's just adding one query to the php and some minor changes, but I find it a bit strange :p
Normally you have hundreds of files, so you really need categories and putting everything on one page would be a mess because of that.

Kr0nica 04-25-2007 02:44 PM

I didn't mean that i don't want put files in categories ;) I want have all files from all categories listed on main page and all categories listed in navigation panel. Why i want to do this? Cause i know my users :p They're to lazy to check all categories, to much clicking :p

RS_Jelle 04-26-2007 05:43 AM

Quote:

Originally Posted by Kr0nica (Post 1235277)
I didn't mean that i don't want put files in categories ;) I want have all files from all categories listed on main page and all categories listed in navigation panel. Why i want to do this? Cause i know my users :p They're to lazy to check all categories, to much clicking :p

That's not possible at this moment and I don't think it's going to become a new feature. Ofcourse you can create it yourself very easy.

You have to edit downloads.php and add this to the end (inside the latest conditional, the else one, before the evals in it):
PHP Code:

$result $db->query_read("SELECT * FROM " TABLE_PREFIX "dl2_files WHERE ".$filesexclude);
while (
$file $db->fetch_array($result))
{
    
$alldownloads .= '<tr><td><a href="downloads.php?do=file&amp;id='.$file['id'].'"></a></td><td></td>'.$file['downloads'].'</tr>";


Now you can add in the downloads_main template {$alldownloads} where you want (indeed, with { and }). So it will look something like this to add in the template:
HTML Code:

<table class="tborder" cellpadding="4" cellspacing="0" border="1">
<tr><td>File</td><td>Downloads</td></tr>
{$alldownloads}
</table>

It should work, but I didn't test it, so there might be an error in it.


All times are GMT. The time now is 08:34 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.04720 seconds
  • Memory Usage 1,870KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (22)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
  • (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