PDA

View Full Version : Major Additions - DownloadsII


Pages : 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18

Hornstar
09-26-2007, 10:40 PM
I just noticed that all my comment counts are out. I did the update counters, and now they are all saying 0 when there are heaps of comments in many of the downloads.

49er
09-28-2007, 09:54 PM
Another template change I made is make the category names bold. Looks better this way and more consistent with my forum looks.

Hello,

Can someone tell how this is done?

Thx

Please Anyone know?? :confused:

rollinjunk
09-29-2007, 02:46 PM
ok im looking for this

Create directories in the 'Categories' menu under the 'Downloads' in your admincp

im not seeing this anyplace...

can someone help

RS_Jelle
09-29-2007, 02:54 PM
First, please excuse my bad english :o

Is there any easy way to hide the Link of the Category, if there is a image for the category?

Look @ this 2 Screens:

normal:
70243

wanted (edited in photoshop):
70244


Thx for any help!

Edit the downloads_main_catbit template using the Styles & Templates part in your AdminCP.

You need to remove:
<a href="downloads.php?do=cat&amp;id={$cat['id']}">{$cat['name']}</a>
and also the two <br /> instances (white space between the name and image).

Hello,

Can someone tell how this is done?

Thx

You need to edit the downloads_main_catbit template using the Styles & Templates part in your AdminCP.

Replace:
<a href="downloads.php?do=cat&amp;id={$cat['id']}">{$cat['name']}</a>
with:
<a href="downloads.php?do=cat&amp;id={$cat['id']}"><strong>{$cat['name']}</strong></a>


Hi

Please can anyone tell me how to approve a posted item ..

Thank you

There's a "Can Avoid Moderation Queue" usergroup setting to get all files approved by default. There's also an Approve/Unapprove link on the top and the bottom of the file page (next to the edit, delete, ... button). If you don't see it, check the "Can Edit All Files" usergroup setting, which is necessary for these actions (or "Can Edit Own Files" when applicable).

ok im looking for this

Create directories in the 'Categories' menu under the 'Downloads' in your admincp

im not seeing this anyplace...

can someone help

Reupload all DownloadsII files to the forums folder on your ftp. You should have missed /includes/xml/cpnav_ecdownloads.xml which puts the Downloads admin part in your AdminCP.

rollinjunk
09-29-2007, 02:56 PM
do i need to install ecDownloads as welll im kind of lost

RS_Jelle
09-29-2007, 03:09 PM
do i need to install ecDownloads as welll im kind of lost

No, you only need to install DownloadsII correctly ;)

If the cpnav_ecdownloads.xml is correctly uploaded, you will see this part (but then collapsed) in your AdminCP:

https://vborg.vbsupport.ru/attachment.php?attachmentid=51208&d=1154030011

dragonhart
09-29-2007, 05:06 PM
great product thank you

49er
09-29-2007, 08:09 PM
You need to edit the downloads_main_catbit template using the Styles & Templates part in your AdminCP.

Replace:
<a href="downloads.php?do=cat&amp;id={$cat['id']}">{$cat['name']}</a>
with:
<a href="downloads.php?do=cat&amp;id={$cat['id']}"><strong>{$cat['name']}</strong></a>


Thanks very much.. :up:

maidos
09-29-2007, 11:04 PM
hello?can u check out the time out issue ?
plus i notice that the import only creates uncessary copy of another files, its just wasting my server space exampleif uploaded 40 gb on my ftp and importit the script willcopy those 40 gb
i cant delete any of thise since it doesnt copy all of the files!so i dont know what to delete

Hendrizius
09-30-2007, 08:53 AM
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td

I can not find that in my navbar template. The template does not even contain the word "calendar.php". I am using a custom template named Greenfox.

Another point, is it possible to rewrite the URLS using .htaccess? I am using vbAdvanced and I would like to place the downloads.php in my root directory. What must I change?

Thanks,
Hendricius

mirzonni
10-01-2007, 08:40 PM
Hi,

I moved my database a few days ago and when I went to test this great component I got an error message when trying to download :

Warning: copy(./downloads///ec_tmp/file name) [function.copy]: failed to open stream: Permission denied in /downloads.php on line 708
ERROR: File not found.

Uploads and everything else works fine.

Thanks for your time.

TongGiang
10-02-2007, 06:15 AM
thanks, install. have a problem. my file can't download by soft Idm ??? why ??, when i upload file to folders Downloads by soft ftp and what much i do when i want insert file to system Download ??? upload by forum is very slow :D

Deadly Assassin
10-02-2007, 08:59 AM
Installed and works great, thanks.

Just one thing.

Is there any way to have multiple links uploaded or linked from somewhere like Rapidshare etc...

It looks great until you have to have the first link as the clickable download, but the rest of the parts in the description.

Thanks in advance. :up:

Stifmeister2
10-02-2007, 08:35 PM
I just noticed that all my comment counts are out. I did the update counters, and now they are all saying 0 when there are heaps of comments in many of the downloads.
I have that too... :(

kiwivc
10-04-2007, 12:33 AM
Installed and looks great thanks :D.

Tyran1
10-06-2007, 11:17 PM
Have nen bigger problem. Everybody datei the loaded as high becomes, indeed, can be downloaded, however, it is not opened... It always stands there: Citation: Unknown form kind or the file is damaged... Besides, it concerns around scarce and txt dateien! with zip etc. I do not know there I with it not works.

gremlin2412
10-07-2007, 01:47 PM
Hello,
thanks for this great mod. Can you tell me what i have to do that only members who have more than 0 postings can download something.

Thanks
Gremlin2412

lexyart
10-07-2007, 02:03 PM
Hello,

how can i change the relative download path to the absolute path in the settings because
i want that two websites used the same downloadfiles. The Websites are not in the same folder on the webserver. The Forum is in /srv/www/htdocs/forum/ and the website is in /srv/www/htdocs/website/.

It is possible to change it?

Thanks!

gremlin2412
10-07-2007, 04:36 PM
The path to the downloads must be se same in both cases. If you have the rights to acces the file at the server it will be okay.

Hornstar
10-08-2007, 01:51 AM
I just noticed that all my comment counts are out. I did the update counters, and now they are all saying 0 when there are heaps of comments in many of the downloads.

Any fix for this? or will this be fixed in the next version.

Nam
10-08-2007, 03:33 AM
I'm not sure how link to external files work.

1. I assume the external files location is hidden from visitor as well.
2. If so, when the visitors click on external link, do the bandwidth count on the external server as well as the main server?
3. Is there a limit download, say 1gb per day or per week?

I'd like to have those answer before trying out, and reply is greatly appreciated.

Tyran1
10-08-2007, 03:38 PM
Have nen bigger problem. Everybody datei the loaded as high becomes, indeed, can be downloaded, however, it is not opened... It always stands there: Citation: Unknown form kind or the file is damaged... Besides, it concerns around scarce and txt dateien! with zip etc. I do not know there I with it not works.

R1lover
10-08-2007, 04:51 PM
I'm not sure how link to external files work.

1. I assume the external files location is hidden from visitor as well.
2. If so, when the visitors click on external link, do the bandwidth count on the external server as well as the main server?
3. Is there a limit download, say 1gb per day or per week?

I'd like to have those answer before trying out, and reply is greatly appreciated.

I was hoping hte external file was hidden but it's not, it takes them right to it....

I'm looking for something to hid the external file location but allow certian user gorups to access them.

I guess this won't be it.

Hendrizius
10-09-2007, 08:04 PM
Found a solution to my problem with rewriting rules on the vbseo forum.

I have another question: would it be possible to add a reputation button into the downloads? So if wanted users can give reputation whenever someone posted some downloads.

Thanks

mikoberlin
10-10-2007, 08:17 AM
Hi, my Problem is.

1. I cannot sort the categories. 1,2,3 does not bring the desired result.
2. And the under category attitude does not go also.

New Install i have the same Problems.

thanks
Mike

arco
10-10-2007, 05:22 PM
Yes, on the usergroup permissions page you can specify the categories which should be visible (not specified: invisible) OR the categories which should be invisible (not specified: visible).

I've set some categories only visible by some groups, but I see that files uploaded to those categories are still listed for everyone in Latest Files. How can i make it so it's only listed by those who have permission to view the categories?

pxd
10-10-2007, 06:20 PM
I just noticed that all my comment counts are out. I did the update counters, and now they are all saying 0 when there are heaps of comments in many of the downloads.

I was hoping to get this fixed as the changelog says but problem is still there for me, too. Any update, please?

CyberRanger
10-10-2007, 09:40 PM
I've set some categories only visible by some groups, but I see that files uploaded to those categories are still listed for everyone in Latest Files. How can i make it so it's only listed by those who have permission to view the categories?
Sorry, that's a known limitation. There's no way around it right now.

I was hoping to get this fixed as the changelog says but problem is still there for me, too. Any update, please?
Let me see what I can do. That's a real shortcoming with the "Update Counters" feature. The comments didn't exists when we first wrote "Update Counters" and we keep forgetting to include it. I may even give you a separate php file as a quick fix.

Zia
10-11-2007, 02:36 AM
helo again..

can we get an intigration with vbcredits ?

CyberRanger
10-11-2007, 04:30 AM
helo again..

can we get an intigration with vbcredits ?
the hooks are already in place. If someone familiar with vbcredits wants to write the plugins, I'll help them on our end.

yingzhou
10-11-2007, 06:30 AM
I was hoping hte external file was hidden but it's not, it takes them right to it....

I'm looking for something to hid the external file location but allow certian user gorups to access them.

I guess this won't be it.

I think we need hide the link for the external files.

CyberRanger help us!! :):):)

esck
10-11-2007, 04:14 PM
Hello, for some reason counters doesn't update, it loads, loads and then an error page :S

Also all categories are showin 0 files :S but I do have a lot of iles, oddly the number of files is showing correctly just below :(

http://halomexico.com/foro/downloads.html

Tyran1
10-11-2007, 11:58 PM
Danke schön fürs NICHT BEACHTEN !!!

Ist ja nicht das erste mal, schade das man hier den "deutschen"

keinerlei beachtung schenkt.

Vielleicht liegt dies ja auch an meinem schlechten English.

Naja wollt das hier nur mal los werden auf deutsch deshalb

weil es eh die meisten verstehen !

R1lover
10-12-2007, 03:47 AM
Danke sch?n f?rs NIT BEACHTEN !!!

Ist ja nicht das erste mal, schade das man hier den "deutschen"

keinerlei beachtung schenkt.

Vielleicht liegt dies ja auch an meinem schlechten English.

Naja wollt das hier nur mal los werden auf deutsch deshalb

weil es eh die meisten verstehen !

English Please!

CyberRanger
10-12-2007, 09:45 AM
I think we need hide the link for the external files.

CyberRanger help us!! :):):)
I'm not sure there even is a way to do that. If we hide it for external files, we'd have to copy the file to the local server, then serve it. That's not a very nice solution.

Plus, you can link to not only external files but also to web pages. Working those into a hidden solution along with possible files would be tricky.

BTW - I don't mention this much but DownloadsII can be used as not only a file manager but also a links manager. Like I said above, you can point to not only files but also sites.

CyberRanger
10-12-2007, 09:55 AM
Have nen bigger problem. Everybody datei the loaded as high becomes, indeed, can be downloaded, however, it is not opened... It always stands there: Citation: Unknown form kind or the file is damaged... Besides, it concerns around scarce and txt dateien! with zip etc. I do not know there I with it not works.
Does this happen to every file you try to download? What is the url of your site? PM me an admin login and password and I'll check it out.

Danke sch?n f?rs NIT BEACHTEN !!!

Ist ja nicht das erste mal, schade das man hier den "deutschen"

keinerlei beachtung schenkt.

Vielleicht liegt dies ja auch an meinem schlechten English.

Naja wollt das hier nur mal los werden auf deutsch deshalb

weil es eh die meisten verstehen !
Well, your question in English was difficult to understand. We do our best to support non-English speakers but can only do so much for a free vb modification that is used world-wide. Jelle is from Belgium so that helps a lot but this is an English language board. PM me and I'll do my best to help you within the constraints of my limited German speaking skills.

pxd
10-12-2007, 11:51 AM
Let me see what I can do. That's a real shortcoming with the "Update Counters" feature. The comments didn't exists when we first wrote "Update Counters" and we keep forgetting to include it. I may even give you a separate php file as a quick fix.
Thanks, CyberRanger, I appreciate it, really! Please do let us know once you have the quick fix file, as I'm 3 days away from launching the forum and it would be nice to have it working properly as soon as you can make that possible. Once again, thanks for the huge effort!

J9778CF5F0B5
10-12-2007, 10:18 PM
We've been using the DownloadsII add-on for a couple of months now and it is working great. Thank you. You can check it out by clicking on the navigation bar "Downloads" link at the top of the following vBulletin based forum: http://www.flexsim.com/forum/index.php?

It's an open area without a login required.

The only thing I wish it had more was permissions by usergroup, but I see that is coming soon.

Cliff

Tyran1
10-13-2007, 02:52 AM
Does this happen to every file you try to download? What is the url of your site? PM me an admin login and password and I'll check it out.


Well, your question in English was difficult to understand. We do our best to support non-English speakers but can only do so much for a free vb modification that is used world-wide. Jelle is from Belgium so that helps a lot but this is an English language board. PM me and I'll do my best to help you within the constraints of my limited German speaking skills.

Yes this was with everybody datei. After I have changed 745 following in the file downloads.php in line: readfile ("$filename"); in echo file_get_contents ("$filename"); changed. If everything functions now. Thank you, nevertheless, for yours hilfe.

yingzhou
10-13-2007, 09:34 AM
My problem is:
My forum host is not big enough to store files. Then I upload my files to the external host. I got my link to the file then post it into DownloadII section. When my member download it. It will show the real link to my external host. Like: hxxp://myhost.net/myfile.rar Can you make the real link turn into something like the link for the file into internal host, like: hxxp://mysite.net/downloads.php?do=file&id=1&act=down. I don't want member to know the real link to my external host. :D

Hendrizius
10-13-2007, 11:19 AM
Is it possible to add a reputation button at every download? So once users post something others can give them + reputation?

Another question, can you insert another field for a link to the support thread on the forums?

Artes_Marciales
10-15-2007, 02:29 AM
Here are our plans for future versions:
Vastly enhanced permissions by usergroup and category
Multiple files per entry
Yes!!
I wait with longing those novelties :)
I don't want my users to go up files in ALL the categories, alone in some categories...

thank you for the mod!! :up:
Kind Regards!

maidos
10-15-2007, 08:41 AM
the comments count is always on 0

Stifmeister2
10-15-2007, 06:43 PM
the comments count is always on 0
Yes I have that bug too.. Any way to fix it?

RS_Jelle
10-15-2007, 07:48 PM
To fix the comment counter problem:

OPEN /includes/class_downloads.php

FIND
$result = $db->query_first("SELECT DISTINCT(`fileid`) AS fileid FROM " . TABLE_PREFIX . "dl_comments");
REPLACE WITH
$result = $db->query_read("SELECT DISTINCT(`fileid`) AS fileid FROM " . TABLE_PREFIX . "dl_comments");
Then rerun the Update Counters.

It seems that there were two typo's in it and I only fixed one of them (and didn't test it, my mistake) :)
I'm wrapping together a new release at the moment to fix this and some other small issues.

maidos
10-16-2007, 07:47 AM
eh i replaced the code and update counters now it shows one comment on every single files

maidos
10-16-2007, 09:11 AM
also when you add the llinks the file url wont be cloaked as if you wouldimportthe files!
how can i do the samefor my other directory which is where i use to add links

also fdorsome reason myentire category is gone, but not entierly since i can access a file that were located at that directory that was supposed to be deleted but it still exist!!!!

it says thefile is on main downloadpage when i cant see a single file there

beside can you make a own section for moderator to import incase its not possible to cloak the url, since it seems on /downloads/ have a protection against reveealing the true url location

Stifmeister2
10-16-2007, 12:15 PM
To fix the comment counter problem:

OPEN /includes/class_downloads.php

FIND
$result = $db->query_first("SELECT DISTINCT(`fileid`) AS fileid FROM " . TABLE_PREFIX . "dl_comments");
REPLACE WITH
$result = $db->query_read("SELECT DISTINCT(`fileid`) AS fileid FROM " . TABLE_PREFIX . "dl_comments");
Then rerun the Update Counters.

It seems that there were two typo's in it and I only fixed one of them (and didn't test it, my mistake) :)
I'm wrapping together a new release at the moment to fix this and some other small issues.
Thx i'll test it. :)

jer2eydevil88
10-16-2007, 04:05 PM
Where can I find MEMBERINFO so I can add the code into it?

It might be nice to see a path to this file/variable in the instructions.

RS_Jelle
10-16-2007, 04:08 PM
eh i replaced the code and update counters now it shows one comment on every single files

That's very strange as I tested it.

@Stifmeister2: Does it work for you?

Where can I find MEMBERINFO so I can add the code into it?

It might be nice to see a path to this file/variable in the instructions.

It's a standard vBulletin template as these are template edits (very common for vBulletin.org mods, so there's not documentation).

You can find it at AdminCP -> Styles & Templates -> Style Manager -> Edit Templates (select it in the dropdown menu of the style you want to edit) -> Memberinfo Templates (double click on this category to expand it) -> MEMBERINFO (double click on it to open the edit form)

jer2eydevil88
10-16-2007, 04:21 PM
Thanks :-D that works.

I Googled it shortly after asking on here but still for those of us who are not accustomed to modding vbulletin it would be nice to have that in the readme.

maidos
10-16-2007, 04:30 PM
also can u please answer my second msg

Stifmeister2
10-16-2007, 07:47 PM
@Stifmeister2: Does it work for you?



Yes it does. :) Thanks! ;)

Black Tiger
10-17-2007, 01:08 PM
I got a problem. I moved my site from servers and uploaded all the files which already were in Downloads II via FTP with the according numbers in the filename like: 15567-arioner.zip
There was a problem downloading via the site so my provider activated php-suexec and now downloads are possible but another error occurs.
When downloading files via the site, the zip and rar files have errors or a map in a rar file shows as a file.
When downloading via ftp however, the file comes in correctly.

So something must be wrong but I don't know what.
Files imported and uploaded either with ftp or via the web can be downloaded without problems.

So it looks as if the files which were already present before the server move, can't be downloaded without errors anymore. Is there a fix for this?
Did I forget something or did something wrong?

Edit: Just discovered another thing when clicking in the ACP on import, it says:
The absolute path to this script is /home/mydomain/domains/mydomain.org/public_html/bbs/admincp/
It should be /home/mydomain/public_html/bbs/admincp but i don't know where to change that.
Re-imported the downloads II product but that did not change anything... help?

maidos
10-17-2007, 03:35 PM
also the scriptdoesnt work on the browser AOL please check it

Black Tiger
10-17-2007, 04:02 PM
About my edit: No problem in the paths, I just discovered that they're both the same bot the second one is a symlink to the other one.
I would like however quick help with the download problems.

logofreax
10-17-2007, 05:39 PM
Questions about Confirm on Deleting Files.

I read that at Version 5.0.4 there will be a Window which I have to confirm, when I am deleting Files. But at my Version 5.0.4 there is no one.

How can I activate it?

cu
logofreax

maidos
10-17-2007, 07:17 PM
feature request: instead of restricting size limits can u instead set amount of download restrictioninstead ?

TheFixx
10-18-2007, 01:30 AM
After looking through this Mod (great job btw!), I could not find the answer to my question, and did not feel like reading all 121 pages.... lol, anyway here is the question. What I would like to do is have the download section show another box, containing the actual URL. I am using this as a place for clan members to upload files and then embed them via bbcode into the actual forum.

Unfortunately I am still in the process of learning actual coding and this is beyond me for the time, so any help would be highly appreciated.

RS_Jelle
10-18-2007, 05:44 AM
also can u please answer my second msg

I'm sorry, but I really don't understand the problem. I checked your downloads and I can see an Anime category. Categories can't disappear, or you should have deleted them (as that's the only existing query which can delete them).

I got a problem. I moved my site from servers and uploaded all the files which already were in Downloads II via FTP with the according numbers in the filename like: 15567-arioner.zip
There was a problem downloading via the site so my provider activated php-suexec and now downloads are possible but another error occurs.
When downloading files via the site, the zip and rar files have errors or a map in a rar file shows as a file.
When downloading via ftp however, the file comes in correctly.

So something must be wrong but I don't know what.
Files imported and uploaded either with ftp or via the web can be downloaded without problems.

So it looks as if the files which were already present before the server move, can't be downloaded without errors anymore. Is there a fix for this?
Did I forget something or did something wrong?

Edit: Just discovered another thing when clicking in the ACP on import, it says:
The absolute path to this script is /home/mydomain/domains/mydomain.org/public_html/bbs/admincp/
It should be /home/mydomain/public_html/bbs/admincp but i don't know where to change that.
Re-imported the downloads II product but that did not change anything... help?

Check the chmod of newly uploaded files and compare it with the chmod of old, existing files in the downloads directory on your FTP. Possibly you didn't change the chmod of the files after moving servers.

also the scriptdoesnt work on the browser AOL please check it

I don't know if there's anyone else here using that browser to confirm this? I'm only testing with the major browsers: Firefox, Internet Explorer, Opera and Safari.
AOL Browser seems to be built upon Internet Explorer, so it should work normally. Normally all modern browsers should work with DownloadsII as we aren't using any exotic code.

Questions about Confirm on Deleting Files.

I read that at Version 5.0.4 there will be a Window which I have to confirm, when I am deleting Files. But at my Version 5.0.4 there is no one.

How can I activate it?

cu
logofreax

That should work. Have you reverted all downloads templates to get the newest version of them (if you edited them)?

feature request: instead of restricting size limits can u instead set amount of download restrictioninstead ?

That's already an existing usergroup permission: "This is the maximum number of files that a user can download in one day. Set this to -1 for there to be NO limit."

After looking through this Mod (great job btw!), I could not find the answer to my question, and did not feel like reading all 121 pages.... lol, anyway here is the question. What I would like to do is have the download section show another box, containing the actual URL. I am using this as a place for clan members to upload files and then embed them via bbcode into the actual forum.

Unfortunately I am still in the process of learning actual coding and this is beyond me for the time, so any help would be highly appreciated.

You could edit the downloads_file template and add something like this:
<tr>
<td class="alt1">Direct file link:</td>
<td class="alt2" colspan="3" valign="middle" align="left"><input type="text" class="bginput" name="directlink" size="50" value="<if condition="$file['link']">{$directlink}<else />http://www.yoursite.com/downloads/{$directlink}</if>" /></td>
</tr>

after:
<tr>
<td class="alt1">{$vbphrase['ecdownloads_downloads']}:</td>
<td class="alt2" colspan="3" valign="middle" align="left">{$file['downloads']}</td>
</tr>

Change http://www.yoursite.com/downloads/ to your actual site/downloads folder url. Note that hotlinking can be problematic (everyone can link to the content on your server, so they are consuming your bandwidth).

Finally open downloads.php and find the second instance of:
$downloads = vb_number_format($file['downloads']);
Add the following on the next line:
$directlink = htmlspecialchars_uni($file['url']);
This is necessary for protection against an XSS security issue.

Black Tiger
10-18-2007, 11:48 AM
@RSJelle: Ik checked the chmods, they were both the same. Even checked the file owner, they ware both satfun.
When the rights would not be ok, it would be impossible to download, but dowload is possible, only the downloaded files will be corrupted.
I just checked with files which were imported after the servermove and they are all the same, rights are rw-r--r-- and owner is satfun:satfun on all files.

maidos
10-18-2007, 11:54 AM
also when you add the llinks the file url wont be cloaked as if you wouldimportthe files!
how can i do the samefor my other directory which is where i use to add links

also fdorsome reason myentire category is gone, but not entierly since i can access a file that were located at that directory that was supposed to be deleted but it still exist!!!!

it says thefile is on main downloadpage when i cant see a single file there

beside can you make a own section for moderator to import incase its not possible to cloak the url, since it seems on /downloads/ have a protection against reveealing the true url location

Yesbut please download AOL and see for your self

TheFixx
10-18-2007, 12:45 PM
You could edit the downloads_file template and add something like this:
<tr>
<td class="alt1">Direct file link:</td>
<td class="alt2" colspan="3" valign="middle" align="left"><input type="text" class="bginput" name="directlink" size="50" value="<if condition="$file['link']">{$directlink}<else />http://www.yoursite.com/downloads/{$directlink}</if>" /></td>
</tr>

after:
<tr>
<td class="alt1">{$vbphrase['ecdownloads_downloads']}:</td>
<td class="alt2" colspan="3" valign="middle" align="left">{$file['downloads']}</td>
</tr>

Change http://www.yoursite.com/downloads/ to your actual site/downloads folder url. Note that hotlinking can be problematic (everyone can link to the content on your server, so they are consuming your bandwidth).

Finally open downloads.php and find the second instance of:
$downloads = vb_number_format($file['downloads']);
Add the following on the next line:
$directlink = htmlspecialchars_uni($file['url']);
This is necessary for protection against an XSS security issue.

Thanks :D I do have one issue with it though if you wouldn't mind taking a peek, I can set up an account for you with access to it. It's just showing up as "http://www.mysite.net/forum/downloads/" instead of "http://www.hostileint.net/forum/downloads/filename.ext" though.

VBORGUSER
10-18-2007, 02:26 PM
How to get rid of the stats in Downloads II 5.0.5 please ?

Want to hide everything regarding quantity of downloads and data.

Any suggestion please ?

RS_Jelle
10-18-2007, 04:50 PM
@RSJelle: Ik checked the chmods, they were both the same. Even checked the file owner, they ware both satfun.
When the rights would not be ok, it would be impossible to download, but dowload is possible, only the downloaded files will be corrupted.
I just checked with files which were imported after the servermove and they are all the same, rights are rw-r--r-- and owner is satfun:satfun on all files.

Hmm, that's pretty strange then :p
New files work correctly, old files are corrupted, but they aren't if you download them using FTP. So the problem has to be something with the files in the downloads folder.

The chmod and owner of the old files is the only thing I can think about, but they are the same :(
I also did some server moves and doing a chmod/chown was the only thing I did to get it back to live.

also when you add the llinks the file url wont be cloaked as if you wouldimportthe files!
how can i do the samefor my other directory which is where i use to add links

also fdorsome reason myentire category is gone, but not entierly since i can access a file that were located at that directory that was supposed to be deleted but it still exist!!!!

it says thefile is on main downloadpage when i cant see a single file there

beside can you make a own section for moderator to import incase its not possible to cloak the url, since it seems on /downloads/ have a protection against reveealing the true url location

Linking to a file is something totally different than importing it. A link is ... well a link (file isn't stored on your server) and importing it is done on your server. Changing this behaviour isn't something we can do easily, so I can't give you five lines of PHP code to change for something big like this.
We do our best to give users what they want, but we can't code everything custom.

A category, like I said, doesn't disappear suddenly. The only way they go away is when you remove them using the AdminCP. Other, external reasons can be a corrupt table in your database for example, so try running a repair command on all your database tables for example.

Thanks :D I do have one issue with it though if you wouldn't mind taking a peek, I can set up an account for you with access to it. It's just showing up as "http://www.mysite.net/forum/downloads/" instead of "http://www.hostileint.net/forum/downloads/filename.ext" though.

That's strange. I tested it now and it works for me :p
Are you sure you've done the downloads.php edit correct (placed the code after the second instance of the code to find)? I've attached a pre-edited downloads.php, try uploading that one to be sure.
If that's not working, you can pm me an account so I can check it out.

Note that you need to change http://www.yoursite.com/downloads/ in the template edit to match your site details, so http://www.hostileint.net/forum/downloads/ for your site.

How to get rid of the stats in Downloads II 5.0.5 please ?

Want to hide everything regarding quantity of downloads and data.

Any suggestion please ?

AdminCP -> Downloads -> Settings -> Display "Tops" on all pages? -> No
That's a beginning to remove the left panel stats (most popular files, newest files and top contributors) on most pages.
Also set "Number of "Latest Files" to Display", "Number of "Most Popular Files" to Display" and "Number of "Top Contributors" to Display" to 0.

For hiding other statistics, you need to edit the downloads templates manually. For example remove
<tr align="center">
<td class="thead" colspan="4">
<span style="float:left">{$vbphrase['ecdownloads_downloads']}: {$dl->stats['downloads']}</span>
<span style="float:right"><phrase 1="{$dl->stats['files']}" 2="{$dl->stats['categories']}">{$vbphrase['ecdownloads_x_files_in_y_categories']}</phrase>.</span>
</td>
</tr>
from downloads_main.

VBORGUSER
10-18-2007, 05:19 PM
To get rid of statistics :

AdminCP -> Downloads -> Settings -> Display "Tops" on all pages? -> No

This was logial, and had done that already, alltough i do not care about a top 5 or something like that ; nice feature :) if it does not show how many times it was downloaded.

Anyway, this is clear.

The only thing i don't want to be public is :

- how many files are downloaded
- how many data is used

So any referal to any page concerning quanties.

How can we get rid of that :up:

(editing the downloads_main did not solve it)

Thanks for your help !

maidos
10-18-2007, 05:29 PM
actually the files is stored on the same server but in different directory, my uploaders just add the url on add my links..
the reason is because i got alot of uploaders and if theyuploadfrom the browser my server just die since im running on dedicated server and my /tmp/ is only set on 500mb, and since only admins can importthe file it would be a issue right?

what im telling is the /downloads/ request on php which cloak the real url when ppl download it using download managare what i want is that the script request on php on my other directorys aswell

Black Tiger
10-18-2007, 05:37 PM
New files work correctly, old files are corrupted, but they aren't if you download them using FTP. So the problem has to be something with the files in the downloads folder.
Exactly. I've read you tested it and had no problems. Could it maybe be so, that the other linux distro had a different filesize or something and that now the actual size differs from the on in the database which corrupts files when downloading via the browser?
I don't have clue if this is possible. But that's the only thing left I can think about.
I'll guess I have to reimport all my files again or something like that.:(

TheFixx
10-18-2007, 06:19 PM
That's strange. I tested it now and it works for me :p
Are you sure you've done the downloads.php edit correct (placed the code after the second instance of the code to find)? I've attached a pre-edited downloads.php, try uploading that one to be sure.
If that's not working, you can pm me an account so I can check it out.

Note that you need to change http://www.yoursite.com/downloads/ in the template edit to match your site details, so http://www.hostileint.net/forum/downloads/ for your site.

You nailed it on the head, I put it after the first instance, I did change the url I just typed it out wrong in my post lol. It works like a charm :up::up:

logofreax
10-18-2007, 07:47 PM
Now, I installed newest Version 5.0.5 but no Confirmation Window if I am deleting a File.

Whats wrong?

cu
logofreax

Black Tiger
10-19-2007, 12:19 AM
@RS_Jelle:
The problem I have do not occur with all the old moved files. I just discovered that a file which gives a corruption notice when downloaded with IE6, does NOT give any problems when downloading with Firefox Portable.
So maybe the problem is lying in Internet Explorer 6 or one of the latest updates from windowsupdate for IE6.
Do you know of any incompatibility problems with IE6 and or linux/apache/php server settings needed for this to work well?

RS_Jelle
10-19-2007, 11:56 AM
To get rid of statistics :

AdminCP -> Downloads -> Settings -> Display "Tops" on all pages? -> No

This was logial, and had done that already, alltough i do not care about a top 5 or something like that ; nice feature :) if it does not show how many times it was downloaded.

Anyway, this is clear.

The only thing i don't want to be public is :

- how many files are downloaded
- how many data is used

So any referal to any page concerning quanties.

How can we get rid of that :up:

(editing the downloads_main did not solve it)

Thanks for your help !

Ok, that's more clear :)

For the italic download amounts (most popular files), you need to edit the downloads_panel bit template and remove $value from it (then run the Update Counters feature to empty the cache of the left box stats).

Also edit downloads_file for the file page and remove
<tr>
<td class="alt1">{$vbphrase['ecdownloads_downloads']}:</td>
<td class="alt2" colspan="3" valign="middle" align="left">{$file['downloads']}</td>
</tr>
for the amount of downloads.

For the amount of downloads on the category view, you need to do three template edits:

Edit the downloads_cat template and remove
<option value="downloads.php?do=cat&amp;id={$cleancatid}&amp;sort=downloa ds">{$vbphrase['ecdownloads_total_downloads']}</option>
This removes the amount of downloads sorting method.
Edit the downloads_cat_files template and remove
<td class="thead" width="10%" align="center"><a href="./downloads.php?do=cat&amp;id={$cleancatid}&amp;sort=downloa ds" rel="nofollow">{$vbphrase['ecdownloads_downloads']}</a></td>
Edit the downloads_cat_filebit template and remove
<td class="$bgclass" valign="top" align="center" height="40"><span class="smallfont">{$file['downloads']}</span></td>


You need to do three template edits for the my files page (if users can upload files, otherwise you are the only one who can see stats there):

Edit the downloads_my template and remove
<td class="thead" width="17%">{$vbphrase['ecdownloads_downloads']}</td>
Edit the downloads_my_bit template and remove
<td class="$bgclass">{$file['downloads']}</td>


What do you mean with "how many data is used"? The file size, or the bandwidth counter?
For the last one, you need to edit downloads.php and remove
<a href="./downloads.php?do=stats">'.$vbphrase['ecdownloads_stats'].'</a> |
This will remove the navigation link to the stats page.

actually the files is stored on the same server but in different directory, my uploaders just add the url on add my links..
the reason is because i got alot of uploaders and if theyuploadfrom the browser my server just die since im running on dedicated server and my /tmp/ is only set on 500mb, and since only admins can importthe file it would be a issue right?

what im telling is the /downloads/ request on php which cloak the real url when ppl download it using download managare what i want is that the script request on php on my other directorys aswell

That would require some PHP surgery. It would need to detect the fact that a linked file contains your site url and then it would need to use the cloaked method.

Easier is to add a .htaccess file to block hotlinking. You can find a hotlink protection .htaccess generator here (http://www.htaccesstools.com/hotlink-protection/). Set the extensions of the big files your admins are uploading as the "Files To Protect" and upload the .htaccess to your alternative downloads folder.

Now, I installed newest Version 5.0.5 but no Confirmation Window if I am deleting a File.

Whats wrong?

cu
logofreax

There's only a JavaScript deletion prompt on the file pages (for the file itself, comments and images). The Manage Files page hasn't got the prompt, so files will be deleted immediately if you are using that way.

Note that you need JavaScript enabled in your browser, but I don't think that's the problem :)

If it doesn't work on the file page, can you pm me a test account (with file deletion rights for DownloadsII), so I can check it out?

@RS_Jelle:
The problem I have do not occur with all the old moved files. I just discovered that a file which gives a corruption notice when downloaded with IE6, does NOT give any problems when downloading with Firefox Portable.
So maybe the problem is lying in Internet Explorer 6 or one of the latest updates from windowsupdate for IE6.
Do you know of any incompatibility problems with IE6 and or linux/apache/php server settings needed for this to work well?

Can you pm me a test account for your site?

If you are doing your Windows Update correctly, you would normally get the newer Internet Explorer 7 (on Windows XP).

maidos
10-19-2007, 12:09 PM
the hot link protection doesnt work when ppl use download manager...what i mean is the url location wiill be revealed

so the only option is what you say php surgery so please help me :(

maidos
10-19-2007, 07:38 PM
is it possible to have rss feed on the downloads because its not possible with the rss feature installed on the forum already

Smooth Adam
10-21-2007, 08:55 PM
Is it possible for the images to be resized before they are uploaded to the file's thread?

Black Tiger
10-21-2007, 09:49 PM
@RSJelle: You forgot my question. Seems now more users with IE6 having problems downloading or better said that downloads work but will be downloaded incomplete c.q. with errors.

maidos
10-22-2007, 06:27 AM
i also get reported errors like black tiger

doobiefillin
10-22-2007, 06:19 PM
this is a noob question but how can i go about doing: Change the permissions on the directory called 'downloads' making it writeable and executable (chmod 777)

as well as: Create directories in the 'Categories' menu under the 'Downloads' in your admincp

everything else is working fine. thanks

neopet001
10-23-2007, 02:22 AM
Here are our plans for future versions:

* Vastly enhanced permissions by usergroup and category
* Multiple files per entry

Thanks for this, because we want to distribute movies but each of them usually has over 2 links (2 parts to join) so we are waiting for your next version.
Click installed and vote 5*.
Cheers

TB Poptarts
10-23-2007, 03:20 AM
I was wondering where I go in Downloads II so I can edit how large of a file people can upload...

Because for some odd reason.. I'm unable to upload .wmv or .avi.. and i've edited it for these file extentions.. but it just loads for a long time and then it makes the page reload after its done and gives me blank boxes as if i never typed anything to be uploaded...

actually.. is there a way i can edit it so.. files that are large can be uploaded? i think that's the problem

Can I get some help there? ^^;

RS_Jelle
10-23-2007, 05:03 AM
Is it possible for the images to be resized before they are uploaded to the file's thread?

If it's a question about the DownloadsII Create New Thread Add-On (https://vborg.vbsupport.ru/showthread.php?t=130995), you better ask it there to keep things together. But I don't think that add-on can display the uploaded images in the newly created threads? Only if you use the IMG button to set them in the file description, they will be transfered also to the thread, but that's logical (then you need to use an image resizer like this one (https://vborg.vbsupport.ru/showthread.php?t=118048) for your forum).

@RSJelle: You forgot my question. Seems now more users with IE6 having problems downloading or better said that downloads work but will be downloaded incomplete c.q. with errors.

I didn't forget it. I answered in this post (https://vborg.vbsupport.ru/showpost.php?p=1363679&postcount=1822) (after the last quote) :)

this is a noob question but how can i go about doing: Change the permissions on the directory called 'downloads' making it writeable and executable (chmod 777)

as well as: Create directories in the 'Categories' menu under the 'Downloads' in your admincp

everything else is working fine. thanks

You need to chmod the downloads folder (which is one of the files/folders you need to upload before to your forums ftp) to 777 permissions with your FTP-program, so PHP can upload files to it. Chmod is explained for example here (http://www.webmastertips.us/articles/tutorials/chmod.htm) and here (https://vborg.vbsupport.ru/showthread.php?t=94220).

I was wondering where I go in Downloads II so I can edit how large of a file people can upload...

Because for some odd reason.. I'm unable to upload .wmv or .avi.. and i've edited it for these file extentions.. but it just loads for a long time and then it makes the page reload after its done and gives me blank boxes as if i never typed anything to be uploaded...

actually.. is there a way i can edit it so.. files that are large can be uploaded? i think that's the problem

Can I get some help there? ^^;

PHP has got an upload limit, that's probably the problem. It's a common issue :)
If you have full server access, you can edit your php.ini (PHP configuration file) and edit the size there manually. If you are on a shared server, you can put a .htaccess file in your forums directory (where you can find downloads.php) with the following content:
php_value upload_max_filesize 25M
php_value post_max_size 25M
Ofcourse you can change the 25MB to what you want. It overrides the php.ini setting.

maidos
10-23-2007, 09:01 AM
oknow its damn odd, remember when i said my whole category is gone? well it seems some more members are downloading inside that lost category, i did the repair on admincp but it doenst wrok, all of my files is their but not visible can you just pleaseeee check it on my site...

kevcj
10-23-2007, 11:46 AM
I was wondering where I go in Downloads II so I can edit how large of a file people can upload...

Because for some odd reason.. I'm unable to upload .wmv or .avi.. and i've edited it for these file extentions.. but it just loads for a long time and then it makes the page reload after its done and gives me blank boxes as if i never typed anything to be uploaded...

actually.. is there a way i can edit it so.. files that are large can be uploaded? i think that's the problem

Can I get some help there? ^^;

To get around the blank screen, zip the files and then upload then via FTP. Then add the new file in the downloads menu and input the url.

I was having the same exact problem as you, zipping the files and uploading with FTP fixed the issues. My members are happy they can download my movies, and I am happy that they can.

Just so everyone will know, my movies are made by me. I have a youtube channel with over 100 of my own videos - so my site is not hosting any warez.

I have people sign up just to download files, this add-on extends my website by another whole layer.

Thank you Cyber Ranger, this is a great add-on!!!

TB Poptarts
10-23-2007, 02:39 PM
If it's a question about the DownloadsII Create New Thread Add-On (https://vborg.vbsupport.ru/showthread.php?t=130995), you better ask it there to keep things together. But I don't think that add-on can display the uploaded images in the newly created threads? Only if you use the IMG button to set them in the file description, they will be transfered also to the thread, but that's logical (then you need to use an image resizer like this one (https://vborg.vbsupport.ru/showthread.php?t=118048) for your forum).



I didn't forget it. I answered in this post (https://vborg.vbsupport.ru/showpost.php?p=1363679&postcount=1822) (after the last quote) :)



You need to chmod the downloads folder (which is one of the files/folders you need to upload before to your forums ftp) to 777 permissions with your FTP-program, so PHP can upload files to it. Chmod is explained for example here (http://www.webmastertips.us/articles/tutorials/chmod.htm) and here (https://vborg.vbsupport.ru/showthread.php?t=94220).



PHP has got an upload limit, that's probably the problem. It's a common issue :)
If you have full server access, you can edit your php.ini (PHP configuration file) and edit the size there manually. If you are on a shared server, you can put a .htaccess file in your forums directory (where you can find downloads.php) with the following content:
php_value upload_max_filesize 25M
php_value post_max_size 25M
Ofcourse you can change the 25MB to what you want. It overrides the php.ini setting.


Where could I find that code in the php.ini or downloads.php?

I'm still looking for it. x.x



Edit 1: All I found was this

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
file_uploads = On ; Whether to allow HTTP file uploads
;upload_tmp_dir = ; temporary directory for HTTP uploaded files (will use system default if not specified)
upload_max_filesize = 200M ; Maximum allowed size for uploaded files

I changed it from 2M to 200M

That still didn't make a difference.. this was in the php.ini


Edit 2: I've found the post_max_filesize now.. and i made that 200M.. im going to try it now and see what happens

TB Poptarts
10-23-2007, 03:23 PM
That didn't fix my problem. ;.;

TB Poptarts
10-23-2007, 04:09 PM
To get around the blank screen, zip the files and then upload then via FTP. Then add the new file in the downloads menu and input the url.

I was having the same exact problem as you, zipping the files and uploading with FTP fixed the issues. My members are happy they can download my movies, and I am happy that they can.

Just so everyone will know, my movies are made by me. I have a youtube channel with over 100 of my own videos - so my site is not hosting any warez.

I have people sign up just to download files, this add-on extends my website by another whole layer.

Thank you Cyber Ranger, this is a great add-on!!!

I did it this way and it worked.. but.... i wanted to make it so.. not only i could get my own files up, but my clan members could upload things too.. i want to get the uploading files thing to work. ;P

vrom
10-23-2007, 06:27 PM
I have a strange problem, after turning on my vbseo custom rules, written by vbseo stuff, specially for downloadsII plugin. I got an error "invalid file id" and "invalid category id", when i open any file or any category...
But really several days ago thet rules worked good
What can i do?

doobiefillin
10-23-2007, 10:36 PM
thanks for the reply :)

Q1: i'm having another program. i did everything in the installation instructions and i went to upload a test file and it wouldn't let me upload a flash file or a wma file. i allowed those types of file extensions in the file manager but still nothing :S

Q2: is there any way i can link the Top 5 uploaded files onto my homepage? thanks a lot.

maidos
10-24-2007, 05:42 AM
llol yeah i often get blank page aswell when i import files if its big one,,,

Khalid-B
10-24-2007, 10:49 AM
i installed it but there is no option in ACP side bar options to make categories.....

idan747
10-24-2007, 04:52 PM
when the "Multiple files per entry" will be released?

RS_Jelle
10-24-2007, 07:34 PM
oknow its damn odd, remember when i said my whole category is gone? well it seems some more members are downloading inside that lost category, i did the repair on admincp but it doenst wrok, all of my files is their but not visible can you just pleaseeee check it on my site...

Now I really don't understand the problem. So let's recapitulate ...
Did the category "suddenly disappear" or did you delete it yourself as you are saying also:
that directory that was supposed to be deleted
If you delete categories, files should really be deleted also (if you don't choose to move them to another category). I just tested it to be sure, and it really works correctly.

If you deleted the category yourself (and didn't move the files, but choosed to delete them) and you say there are files of that category still present, please give me a concrete url of such a file on your site.

That didn't fix my problem. ;.;

Try restarting the Apache webserver after doing such edits. That's why the .htaccess way is a bit easier (create a file with that name, put the content I mentioned before into the file and upload it using FTP to your vBulletin forums directory).

I have a strange problem, after turning on my vbseo custom rules, written by vbseo stuff, specially for downloadsII plugin. I got an error "invalid file id" and "invalid category id", when i open any file or any category...
But really several days ago thet rules worked good
What can i do?

I don't know the vBSEO rules, so I don't know if there are any errors in them or so. Try removing them all and check if it works again. If it does, those url rewrite rules need to be wrong in some way.

thanks for the reply :)

Q1: i'm having another program. i did everything in the installation instructions and i went to upload a test file and it wouldn't let me upload a flash file or a wma file. i allowed those types of file extensions in the file manager but still nothing :S

Q2: is there any way i can link the Top 5 uploaded files onto my homepage? thanks a lot.

Q1: Did you do the chmod with the other FTP-program? If you didn't set the 777 permissions for the downloads directory, uploading won't work (as PHP can't move any files to the directory without having the permission to do it). Are there any notices on the top/bottom of the downloads section (normally the software gives you a notice if there's something wrong with the directory and/or its chmod)?

Q2: If you are using vBadvanced CMPS for your homepage, you can use the DownloadsII ver 5.0 vbAdvanced Add-On (https://vborg.vbsupport.ru/showthread.php?t=110122) to do this. There's also a vBPortal block avaiable at phpportals.com.
If it's a custom coded frontpage, you can check the vBadvanced add-on PHP code if you are a bit familiar with PHP. It's pretty easy to recode.

llol yeah i often get blank page aswell when i import files if its big one,,,

Have a look at this post (https://vborg.vbsupport.ru/showpost.php?p=1366486&postcount=1831), the answer to TB Poparts quote. It's a PHP limit that you need to change by changing php.ini or by uploading a .htaccess file like I described in that post.

i installed it but there is no option in ACP side bar options to make categories.....

Try reuploading all files if there's no Downloads category in the AdminCP (like this (https://vborg.vbsupport.ru/attachment.php?attachmentid=51208&d=1154030011)). You probably missed uploading /includes/xml/cpnav_ecdownloads.xml, which is putting DownloadsII in the AdminCP navigation.

when the "Multiple files per entry" will be released?

I'm sorry, but we don't have an ETA for future features.

hyperlinked
10-25-2007, 03:31 AM
Hey, I this mod was perfect for a project that I'm doing. This is my first vBulletin project, so it would have taken me forever to figure out how to do something not nearly as elegant as this. I've coded with Invision before in the past and I often build Drupal based sites for clients. I'm very impressed by the user community around vBulletin. The volume of quality stuff being put out is impressive.

I just have a question about the credits in the footer. I need to have a branding free footer for the client I'm building this site for. Can that be arranged? CyberRanger + Jelle, I'd be happy to pay you guys something to let me go branding free and/or I could arrange to cite the credits in a creative way, like mentioning that you guys + Ronin did the downloads part in my site portfolio.

maidos
10-25-2007, 09:45 AM
actually my upload size limit is already 600 mb and i sitll get blank page when i import 150 mb files, i cant even import 10 files and stil lget blank page :/

no the thign is no one deleted the category, but still the category just vanished, but i notice some user downloaded files inside that vanished category... so its still somewhere thats why i want u to check it to confirm it so please?

also ERROR no file found sometimes my user get this, but they are able to download after few more attempts ? a possible bug?

can you please visit my site and try importng and so you can confirm that u get blankpage aswell even if the upload size is on 600 mb ???

RS_Jelle
10-25-2007, 01:38 PM
Hey, I this mod was perfect for a project that I'm doing. This is my first vBulletin project, so it would have taken me forever to figure out how to do something not nearly as elegant as this. I've coded with Invision before in the past and I often build Drupal based sites for clients. I'm very impressed by the user community around vBulletin. The volume of quality stuff being put out is impressive.

I just have a question about the credits in the footer. I need to have a branding free footer for the client I'm building this site for. Can that be arranged? CyberRanger + Jelle, I'd be happy to pay you guys something to let me go branding free and/or I could arrange to cite the credits in a creative way, like mentioning that you guys + Ronin did the downloads part in my site portfolio.

Removing the copyright isn't possible, as the "Based on ..." is necessary for the license. It's based on ecDownloads (created by Ron1n who quitted vB.org) and the ecDownloads license requires attribution ...

actually my upload size limit is already 600 mb and i sitll get blank page when i import 150 mb files, i cant even import 10 files and stil lget blank page :/

no the thign is no one deleted the category, but still the category just vanished, but i notice some user downloaded files inside that vanished category... so its still somewhere thats why i want u to check it to confirm it so please?

also ERROR no file found sometimes my user get this, but they are able to download after few more attempts ? a possible bug?

can you please visit my site and try importng and so you can confirm that u get blankpage aswell even if the upload size is on 600 mb ???

Q1: Try upping your PHP memory limit also.

Q2: Can you provide me the link of such a file in the disappeared category?

maidos
10-25-2007, 02:03 PM
i raised the php memory to 500mb but i still failed to import 5 files

/forum/downloads.php?do=file&id=1126


this is what i have in my htaccess

php_value upload_max_filesize 600M
php_value post_max_size 600M
php_value max_execution_time 600
php_value max_input_time 100


and can you please see about the issue error files not found, since it works fine after few attempts
there are 2 error showing up, error file down and error file not found, but like i said it works if ppl try it some more times, i think theres oissue with download delay aswell, if im at the download page and right click and go to new tabs, I opened a new page within the download time limit thing and it will telll me to slow down even if i ddidnt download anything


also regarding about the download delay it seems when one guest download the second guest ahve to wait x seconds because the first user downloaded already....

so if i have file striction will it be the same aswell, if one member download one file of 50 files the second member can only download 49 files left???

Smooth Adam
10-26-2007, 11:08 AM
Just putting my support in for Version 6! Can't wait for the next version!

Also, how can I let users sort by Rating? Ratings over all the files and in a certain category.

Artes_Marciales
10-26-2007, 11:29 AM
The most important for my in a nest version
is to be able to choose that you cut they can download files for groups.

I want the registered users to download files but not of all the categories,
the same thing with the invited users, I want them to download files of some categories.

I would love that detail with the permits for groups and categories.

Kind Regards!

CyberRanger
10-26-2007, 06:32 PM
I'd like to extend my appreciation and thanks to RS_Jelle for all the work he's done with DownloadsII. Because of my real life time constraints and in recognition of Jelle's work, I've requested that vb.org make Jelle the "owner" of DownloadsII.

That process is now complete! He is the man! I'll continue in role of co-author, helping answer questions and code new features as time permits.

Thanks to everyone who has helped us build this product!

Black Tiger
10-26-2007, 11:00 PM
Thanks Cyberranger for making Downloads II and developping it with RS_Jelle.

Indeed RS_Jelle does a great job and with this reply I wish to congratulate him with the ownership.
Great work guys, both of you!

RS_Jelle
10-27-2007, 07:33 AM
i raised the php memory to 500mb but i still failed to import 5 files

http://www.aznmedia.net/forum/downloads.php?do=file&id=1126


this is what i have in my htaccess

php_value upload_max_filesize 600M
php_value post_max_size 600M
php_value max_execution_time 600
php_value max_input_time 100


and can you please see about the issue error files not found, since it works fine after few attempts
there are 2 error showing up, error file down and error file not found, but like i said it works if ppl try it some more times, i think theres oissue with download delay aswell, if im at the download page and right click and go to new tabs, I opened a new page within the download time limit thing and it will telll me to slow down even if i ddidnt download anything


also regarding about the download delay it seems when one guest download the second guest ahve to wait x seconds because the first user downloaded already....

so if i have file striction will it be the same aswell, if one member download one file of 50 files the second member can only download 49 files left???

Try uploading one of those files to AdminCP -> Maintenance -> Diagnostics -> Upload
Normally it should give a "No errors occurred while opening the uploaded file for reading." message if it works. If it doesn't work it's clearly not a DownloadsII problem, but a general PHP (or something else) configuration problem.

I can confirm the guest problem on your site, but I also tested it on my own testsite and it works fine :s
Any other people to confirm this problem?

I can confirm the category problem for that file, but again I can't find any problems on my own testsite. Although I can fix it on your site by creating the missing category manually inside your database, but then I need phpMyAdmin access or something similar.

Also, how can I let users sort by Rating? Ratings over all the files and in a certain category.

There's a Files Sorting dropdown menu at the bottom of the category view. That's one of the options it contains.

The most important for my in a nest version
is to be able to choose that you cut they can download files for groups.

I want the registered users to download files but not of all the categories,
the same thing with the invited users, I want them to download files of some categories.

I would love that detail with the permits for groups and categories.

Kind Regards!

You can control category access using the usergroup permissions. You can grant/deny access by listing the category id's and choosing the grant or deny option.

@All: version 5.0.6 is coming soon with some bugfixes.

dtv100
10-27-2007, 01:19 PM
@All: version 5.0.6 is coming soon with some bugfixes.

thats good news any chances to have Multiple files per entry ?

thanks

RS_Jelle
10-27-2007, 01:36 PM
thats good news any chances to have Multiple files per entry ?

thanks

Not in such a maintenance release :)
Multiple files per entry requires rewriting the database scheme pretty intensive.

Black Tiger
10-27-2007, 04:44 PM
With this reply I would like to thank RS_Jelle for his quick and great help for fixing the problems when downloading with IE6!
It's the second time already, first time was great help with a vBA integration.
Do you have a paypal button somewhere for a small contribution?

dtv100
10-28-2007, 04:33 AM
Do you have a paypal button somewhere for a small contribution?
I would like to know this too.

vrom
10-28-2007, 05:56 AM
It's strange, but when i try to change the page in the categoryies, it open the first page, where I was.

kafi
10-29-2007, 02:48 PM
Hello guys, thanks for great MOD!!! and your hard work.

I am going to put search box on main downloads page (if possible by template modif.).

Shouldnt that be as default? Search is the core of each database aplication like this one, so why hide that on second page and frustrate users with too much clicking...
Just a thought :)

RS_Jelle
10-29-2007, 03:25 PM
It's strange, but when i try to change the page in the categoryies, it open the first page, where I was.

That's pretty strange indeed, we aren't aware of such an issue. Can you pm me your site url (and eventually a test account to access the downloads section if it's closed for guests) so I can check it out?

Hello guys, thanks for great MOD!!! and your hard work.

I am going to put search box on main downloads page (if possible by template modif.).

Shouldnt that be as default? Search is the core of each database aplication like this one, so why hide that on second page and frustrate users with too much clicking...
Just a thought :)

I already incorporated a pulldown search menu (vBulletin search type) on the downloads home for v6.

The main problem for v6 at the moment is the directory structure rewrite (with subdirs instead of one downloads directory), so I'm thinking about skipping that for a next version as it takes to much time. There's a lot of new code already finished, so I think it's better to get that released (for example a brand new admin panel, which is fully functional).

kafi
10-29-2007, 03:36 PM
Thanks for headup :)

I personally would avoid with search pop-up. I have changed that also on my board, also vb.org is not using it as main search box :)
As I said, search is most essential feature on heavy data site or application...

Good luck with 6x version :)
====================

1 more request...
is it possible for you to integrate virus scanning like this one:
https://vborg.vbsupport.ru/showthread.php?t=161345

???

Thanks!!!

narutorasengan
10-29-2007, 08:10 PM
thanks for the great mod!

i got one question though, how do i set it as a default to go "by file name" instead of going by latest upload?

and i don't mean the categories, i mean the files, thank you!

RS_Jelle
10-30-2007, 06:03 AM
Thanks for headup :)

I personally would avoid with search pop-up. I have changed that also on my board, also vb.org is not using it as main search box :)
As I said, search is most essential feature on heavy data site or application...

Good luck with 6x version :)
====================

1 more request...
is it possible for you to integrate virus scanning like this one:
https://vborg.vbsupport.ru/showthread.php?t=161345

???

Thanks!!!

Everyone's got a different taste :D
But you can change such things pretty easily in the templates.

I already thought about such a thing as I know it from the Moodle e-learning CMS, but I don't think a lot of people have LibClamAV installed. Shared hosts probably don't want to install it as it takes some resources.

thanks for the great mod!

i got one question though, how do i set it as a default to go "by file name" instead of going by latest upload?

and i don't mean the categories, i mean the files, thank you!

Open downloads.php
Find
if (!in_array($sortfield, $sortfields))
{
$sortfield = 'date';
}
Replace with
if (!in_array($sortfield, $sortfields))
{
$sortfield = 'name';
}

ntloc
10-30-2007, 08:15 AM
Hi, i've searched through the whole mod topic but I couldn't find what the answer for my question or maybe i just missed it somehow. I have been running for script for almost a month now and it's great at first but because all my members are able to download files at top speed all the time, it caused my server go down many times also my bandwidth increase so much which i'm not very happy with. Can you help me to fix this, how can i reduce the download speed limit so that when one of my member download the file, the server doesn't give out max speed instead only giving out the speed that i want to set. Please help, i really appreciate this.

RS_Jelle
10-31-2007, 03:14 PM
Hi, i've searched through the whole mod topic but I couldn't find what the answer for my question or maybe i just missed it somehow. I have been running for script for almost a month now and it's great at first but because all my members are able to download files at top speed all the time, it caused my server go down many times also my bandwidth increase so much which i'm not very happy with. Can you help me to fix this, how can i reduce the download speed limit so that when one of my member download the file, the server doesn't give out max speed instead only giving out the speed that i want to set. Please help, i really appreciate this.

I'm sorry, but limiting the download speed isn't possible at the moment. The only limits you can set are the download delay (overall and per usergroup) and a limit for the amount of downloads per day per usergroup. Finally there's also a maximum MB that a user can download/upload, but that's not so relevant.

Anyway, such an option is a good idea. Maybe a wait time would be also nice: "The download will start within two minutes".

Black Tiger
10-31-2007, 04:25 PM
I guess an old bug is back, or did I forget to change it?
When you're in the "manage files" section and delete a file, you won't be put back in the manage file listing again, or in any case, when the screen refreshes, yo don't see any files anymore.
Happens with FF and also in IE so it doesn't seem a browser issue.

unitedbreaks
10-31-2007, 04:45 PM
Awesome hack!! I love it.. Great job guys/gals!

A few questions concerning uploading..

1) Is there anyway to incorporate a upload progress indicator?

2) I see you're using POST functions to upload the files.. Can you provide FTP upload options along with POST in AdminCP? This will be useful for people wanting to upload large files like myself (>25MB without hurting the CPU and maxing POST PHP variable out.

Thanks for your hard work!!

RS_Jelle
10-31-2007, 06:31 PM
I guess an old bug is back, or did I forget to change it?
When you're in the "manage files" section and delete a file, you won't be put back in the manage file listing again, or in any case, when the screen refreshes, yo don't see any files anymore.
Happens with FF and also in IE so it doesn't seem a browser issue.

This issue is already reported and will be fixed in v5.0.6 which is coming very soon :)

Awesome hack!! I love it.. Great job guys/gals!

A few questions concerning uploading..

1) Is there anyway to incorporate a upload progress indicator?

2) I see you're using POST functions to upload the files.. Can you provide FTP upload options along with POST in AdminCP? This will be useful for people wanting to upload large files like myself (>25MB without hurting the CPU and maxing POST PHP variable out.

Thanks for your hard work!!


Upload indicators using PHP are pretty difficult. It's easier using a Java form and that's one of the many ideas we have for future versions :)
You can upload files to a folder on your FTP and use the Import tool in the AdminCP ;)

JtChurch925
11-01-2007, 12:28 AM
I apologize if I have somehow missed these answers (...and I probably have), but...


If I am hosting the actual files to be downloaded on another server can I still use this by linking to those files as though they were hosted locally?



Will this plugin automatically update the files listed for the users if more files are dumped onto the remote site? i.e. a remote directory is set for the 'e-book' downloads, and more e-books are added, will I have to go and add each new link individually any time there is an update to the remote site?



Is it relatively simple to add adsense code to the basic template of the downloads pages?


I appreciate your answers and time. This plugin looks very promising!

RS_Jelle
11-01-2007, 12:04 PM
I apologize if I have somehow missed these answers (...and I probably have), but...


If I am hosting the actual files to be downloaded on another server can I still use this by linking to those files as though they were hosted locally?



Will this plugin automatically update the files listed for the users if more files are dumped onto the remote site? i.e. a remote directory is set for the 'e-book' downloads, and more e-books are added, will I have to go and add each new link individually any time there is an update to the remote site?



Is it relatively simple to add adsense code to the basic template of the downloads pages?


I appreciate your answers and time. This plugin looks very promising!


You can't use directories on another server or outside the forums directory at the moment.
Uploading a file to an FTP folder isn't enough to add it. You've got two methods: uploading it on the frontend of the software and give it manually a title, description, ... Importing files from an FTP folder can be done using the AdminCP, but if you upload new files, you need to run the import tool again for them each time. I don't think we will implement such an auto-sync feature as we focus on extra file data also (description, ...) and not just a "parent directory" with a vB look.
DownloadsII is using templates for everything, so adding Google AdSense code is very easy.

RS_Jelle
11-01-2007, 01:51 PM
DownloadsII 5.1.2 Changelog

Jelle

Backported CSRF security fix from the vB 4 release
Added permission check for Update Counters
Fixed PHP warnings when running PHP 5.3
Removed the imagecreatefrombmp() function. It doesn't exist.
Added permission check for rating submissions


DownloadsII 5.1.1 Changelog

Jelle

Fixed bug with download log pruning (name of the hook location changed)


DownloadsII 5.1.0 Changelog

!!! REQUIRES VBULLETIN 3.7.X !!!

Jelle

Backported vB 3.7 integration from v6 beta (navbar button/search, profile stats/tab)
Added HTTPS support for linked files
Better calculation of the usergroup download restrictions
Some other small code updates


DownloadsII 5.0.8 Changelog

Jelle

Included the CSRF security fix from vBulletin 3.6.10/3.7 RC4


DownloadsII 5.0.7 Changelog

CyberRanger

Added extra 666 chmod for uploading images

Jelle

Fixed an uncached template when using the vBulletin basic editor
Removed one (unnecessary) query on all DownloadsII pages and tweaked count queries


DownloadsII 5.0.6 Changelog

Jelle

Fixed XSS security issue with the WYSIWYG-editor on the file edit page
More code cleanup
*Really* fixed the update counters function (rerun the Update Counters after the upgrade to fix it)
Fixed the double slash in image URLs (strrpos() and strlen() have a different count method)
Fixed empty pages after taking actions using the Manage Files feature
Added the name parameter to the Content-Type header sent with a download (downloading using IE6 corrupted some files without this in rare cases)


DownloadsII 5.0.5 Changelog

CyberRanger

Fixed mixed sort order of files on import page

Jelle

Fixed hardcoded "Category" phrase in the Manage Files option
Changed category abbrevation in Manage Files to the full category name in the category dropdown windows
Updated optional navbar edit as the code to search changed slightly since vBulletin 3.6.7
Fixed problem with multiple pages being empty for the file manager (caused when you have an empty approval value)
Improved the downloads log with time and ip address information (+ some link and layout changes)
Fixed the fact that everyone with upload permissions could upload to every file, now you need to be the file author or need to have editall permissions
Fixed the update counters function which didn't recount the comment amounts (the comment stats were only resetted to 0)
Fixed XSS security issue with the optional downloads profile info
Added xmlns attribute to the html tag of the DOWNLOADS template
Fixed SQL injection security issues with category sorting and the assign uploader page
Fixed wrong conditions for displaying the assign uploader link
Fixed XSS security issues with unclean category and file id's in the templates
Fixed some other bugs and removed some redundant checks


DownloadsII 5.0.4 Changelog

CyberRanger

Fixed small bug in class_downloads.php ($dl to $this)
Fixed possible wrong background on some tables
Added option to restrict daily files downloaded by usergroup
Enhanced option to restrict daily downloads based on MB and/or number of files
Removed left side bar (tops) from most of the views with option to display
Modified search results: added small description and category name, removed # of downloads and rating
Added "download delay" setting to usergroups
Fixed bug in mass upload if the file name contained an apostrophe
Added IP check for max daily MB and file download check
Modified templates downloads_wrapper_side and dowloads_wrapper_none so that the "disclaimer" will appear if no tops are wanted.
Added setting in admincp for cleaning log entries that are older than x days.
Added Javascript prompt before deleting a file, image or comment
Added five custom hook locations (dl_pre_upload, dl_post_upload_add, dl_post_upload_edit, dl_pre_download, dl_post_download)

Jelle

Fixed W3C errors in $dmemberfiles
Fixed manfiles mass update (wasn't working any more)
Fixed a bug which caused old downloads titles to disappear
Fixed category images of sub-categories, which weren't displayed in IE
Moved assignuser permissions condition from the templates to downloads.php and changed permissions slightly
Changed the word "purgatory" to "moderation queue" in the phrases
Added a missing AdminCP footer to the edit category page
Added rel noffolow attributes to the sort links for better SEO
Changed some stop message pages in the AdminCP to redirection pages
Improved pagination to the vBulletin coding standards (with a better security)
Redirect after mass update corrected to manfiles
Changed the tables code to prevent a small white space at the left and the right side + some various layout fixes
Fixed an XSS security issue with the category view and search


DownloadsII 5.0.3 Changelog

CyberRanger

Linked downloads don't open any more in the same window

Jelle

Some more code cleanup (removed ec_demo mode, ...)
Fixed a bug with tags being stripped from the description
Fixed the "Bandwidth value maxed out at 4294967 KB" issue (int(10) to bigint(30))
Removed the filesize condition from the download delay time
Sort on total comments in the dropdown box
Sort on file name in the category view now also clickable in the table header
Fixed an unnecessary query for the vBulletin editor when viewing a file and comments are disabled
Updated DownloadsII.txt and renamed it to Readme-Install.txt


DownloadsII 5.0.2 Changelog

CyberRanger

Fixed link to files in user profile by modifying the template downloads_memberfiles_bit
Fixed "File Name" phrase on file detail page by modifying the template downloads_file
Modified "delay" to work better with guests. The client's ip is now stored in the table dl_downloads.
The file description is now optional
Fixed issue with counters not updated when a file is deleted or when a files status is changed using "Manage Files"
Dropped ec from the beginning of the product name


DownloadsII 5.0.1 Changelog

CyberRanger

Added everything from ecDownloads Buddy back into DownloadsII
Plug a security hole that could be used for a DoS attack
Completely re-wrote the method for downloading files
Cleaned up the "Downloads" section of the admincp (thanks EvilHawk!)
Permit safe_mode to be on
Plug a security hole that could be used to get total control of your vBulletin installation (discovered by Jelle)
Added better protection against DoS attacks. The vb admin can now specify the minimum wait between file downloads.
Added ability to decide which file extensions provide "save as" option on download and which open automatically in the browser

Jelle

100% XHTML 1.0 Transitional and CSS 2.1 W3C compliance
Removed borders of all images
Fixed wrong aligned text editor when adding a file with IE
Moved a lot of hardcoded text to phrases and fixed some missing phrases
Fixed two wrong phrases for navbits (Add & Edit file)
Fixed a bug with manage files causing an invalid sql
Fixed a bug with manage files causing you couldn't select the Pin option in the dropdown menu
Fixed a bug with the category page: category images of sub categories weren't showing up ($dl->picwidth doesn't exist)
Removed examples for file name and author when adding a file
Cached an uncached template causing an extra query on the 'Assign New Uploader' page
Removed the unnecessary 'add_to_dlinks' hook location
Cleaned up a lot of code to the vBulletin coding standards
Added a downloads folder with an empty index.html
Replaced the top panel with the side panel on the downloads index
Added dynamic titles for better SEO and navigation
Added a download button next to the two tiny links (thanks Norke!)
Fix: comments and votes weren't removed when you deleted a file
Fixed wrongly recorded votes
Changed the two desc fields in the database to description (because of database backup problems with desc)

RS_Jelle
11-01-2007, 01:52 PM
We just released version 5.0.6, which fixes a small XSS security issue and includes bugfixes for all known bugs (including the comment counter problem). For update instructions, read the Readme-Install.txt.

DownloadsII 5.0.6 Changelog

Jelle

Fixed XSS security issue with the WYSIWYG-editor on the file edit page
More code cleanup
*Really* fixed the update counters function (rerun the Update Counters after the upgrade to fix it)
Fixed the double slash in image URLs (strrpos() and strlen() have a different count method)
Fixed empty pages after taking actions using the Manage Files feature
Added the name parameter to the Content-Type header sent with a download (downloading using IE6 corrupted some files without this in rare cases)

rayw
11-01-2007, 02:32 PM
Just updated and everything appears to be working as it should.

Thanks a lot for this!

Cheers :)

Vi3t4Lov3
11-01-2007, 02:43 PM
nice update ....thank you ... can you add little more stuff in this mod ...example you can add who downloaded? who viewing? how many viewed this page...
Thank You

KPalicz
11-01-2007, 02:59 PM
Would the update affect any changes to templates at all?

RS_Jelle
11-01-2007, 03:15 PM
nice update ....thank you ... can you add little more stuff in this mod ...example you can add who downloaded? who viewing? how many viewed this page...
Thank You

There's already a detailed downloads log in the AdminCP ;)
Adding that information to the frontend wouldn't be a good thing for privacy imo.

Would the update affect any changes to templates at all?

No, there aren't any template updates in this new version. If there are any template updates, they won't overwrite your template changes automatically. So you would need to revert them manually and redo your template changes, just like vBulletin template updates.

unitedbreaks
11-01-2007, 04:51 PM
Upload indicators using PHP are pretty difficult. It's easier using a Java form and that's one of the many ideas we have for future versions
You can upload files to a folder on your FTP and use the Import tool in the AdminCP .


I meant using FTP_put()
http://us3.php.net/ftp

The reason for this is because my uploads are timing out considering my shared host has a limit of <= 2MB and users are trying to upload 25-120MB files.

Black Tiger
11-01-2007, 04:58 PM
You can't use directories on another server or outside the forums directory at the moment.
Are you sure? The question was:
If I am hosting the actual files to be downloaded on another server can I still use this by linking to those files as though they were hosted locally?
Couldn't it work like this:
1.) He makes a downloads directory on his local server where the forum is, like it should be.
2.) Now via the Add files option, one can upload files, or link to files. If you link to files you need the complete http://siteof.files.com/filenam.zip and the length of the archive.

So If done like this, he should be able to host the files on another server and link to them through downloads II.

Or am I missing something?

yoyoyoyo
11-01-2007, 05:59 PM
thanks for the update. In the future I would love to see an option that is a dropdown menu that allows you to either indicate the size in bytes, kilobytes or megabytes instead of bytes - converting mb's to bytes is a drag. Thanks again.

RS_Jelle
11-01-2007, 07:38 PM
I meant using FTP_put()
http://us3.php.net/ftp

The reason for this is because my uploads are timing out considering my shared host has a limit of <= 2MB and users are trying to upload 25-120MB files.

PHP has got an upload limit, that's probably the problem. It's a common issue :)
If you have full server access, you can edit your php.ini (PHP configuration file) and edit the size there manually. If you are on a shared server, you can put a .htaccess file in your forums directory (where you can find downloads.php) with the following content:
php_value upload_max_filesize 25M
php_value post_max_size 25M
Ofcourse you can change the 25MB to what you want. It overrides the php.ini setting.

Are you sure? The question was:

Couldn't it work like this:
1.) He makes a downloads directory on his local server where the forum is, like it should be.
2.) Now via the Add files option, one can upload files, or link to files. If you link to files you need the complete http://siteof.files.com/filenam.zip and the length of the archive.

So If done like this, he should be able to host the files on another server and link to them through downloads II.

Or am I missing something?

That's indeed possible, but I think he means something different with:
linking to those files as though they were hosted locally
So I think that's linking to them without revealing the download url (which can't be done with the actual link field)?

thanks for the update. In the future I would love to see an option that is a dropdown menu that allows you to either indicate the size in bytes, kilobytes or megabytes instead of bytes - converting mb's to bytes is a drag. Thanks again.

An argument against this is the fact that bytes are more accurate. And it's pretty easy to know the exact size of a file in Windows: just right click it and choose for properties. There you can see the size (don't look at the "size at disk", that's not the real one).

ntloc
11-02-2007, 03:26 PM
Hi, is it possible to create an extra text field for the upload name say like i got 3 chapters of manga and i'm only allow to upload one at a time and instead of writing the whole name in the name box "one_piece_01", I want to have 2 text fields for
Name: one_piece
Chapter: 01

it will combine those 2 text fields together (seperated by "_" or anything I want) to make it become "one_piece_01"

Also, I've tried the to put in my forums dir .htaccess with:
php_value upload_max_filesize 25M
php_value post_max_size 25M

but it doesn't work, it gave me the error "500" for the whole site, anywhere i go i got that error. If I delete it the problem is gone, any suggestion?

vrom
11-02-2007, 05:03 PM
It's strange but users with IE can't downloads any file from DOWNLOADSI
It happened after updating to 5.0.6 version

RS_Jelle
11-02-2007, 05:17 PM
Hi, is it possible to create an extra text field for the upload name say like i got 3 chapters of manga and i'm only allow to upload one at a time and instead of writing the whole name in the name box "one_piece_01", I want to have 2 text fields for
Name: one_piece
Chapter: 01

it will combine those 2 text fields together (seperated by "_" or anything I want) to make it become "one_piece_01"

Also, I've tried the to put in my forums dir .htaccess with:
php_value upload_max_filesize 25M
php_value post_max_size 25M

but it doesn't work, it gave me the error "500" for the whole site, anywhere i go i got that error. If I delete it the problem is gone, any suggestion?

For the first thing, I don't think we are going to create such a feature as I think you would be on of the only persons using "chapters". We try to integrate the most requested features in the next version.

An error 500 message is a .htaccess error. I would suggest you contacting your host to ask them why it doesn't work. Maybe they've blocked it, but that's pretty strange for a normal host ...

It's strange but users with IE can't downloads any file from DOWNLOADSI
It happened after updating to 5.0.6 version

Find in your downloads.php
header("Content-Type: $ctype; name=\"".basename($filename)."\";");
Replade with
header("Content-Type: $ctype");

This fixed the corruption of some zip files (also occuring only in IE), but my fear becomes true: it causes some new issues :p
Please try downloading with IE6 and IE7 (before you do the file edit). I would like to know which versions it affects etc (and try some different files: not only zip files for example).

vrom
11-02-2007, 05:19 PM
For the first thing, I don't think we are going to create such a feature as I think you would be on of the only persons using "chapters". We try to integrate the most requested features in the next version.

An error 500 message is a .htaccess error. I would suggest you contacting your host to ask them why it doesn't work. Maybe they've blocked it, but that's pretty strange for a normal host ...



Find in your downloads.php
header("Content-Type: $ctype; name=\"".basename($filename)."\";");
Replade with
header("Content-Type: $ctype");

This fixed the corruption of some zip files (also occuring only in IE), but my fear becomes true: it causes some new issues :p
Please try downloading with IE6 and IE7 (before you do the file edit). I would like to know which versions it affects etc (and try some different files: not only zip files for example).
The problem is onlu with IE6, i dont know about any other IE. But in opera and FF averything is OK.
All files are affected. Not only zip:mad::mad:

RS_Jelle
11-02-2007, 05:24 PM
The problem is onlu with IE6, i dont know about any other IE. But in opera and FF averything is OK.
All files are affected. Not only zip:mad::mad:

There's also IE7, the newest version. It's an additional XP Windows Update and the default browser of Vista. Just do the file edit I gave to you in the above post and it will be fixed.

Can you pm me the url of your forum and a test account, so I can download files. I want to compare some things with other sites.

vrom
11-02-2007, 05:32 PM
There's also IE7, the newest version. It's an additional XP Windows Update and the default browser of Vista. Just do the file edit I gave to you in the above post and it will be fixed.

Can you pm me the url of your forum and a test account, so I can download files. I want to compare some things with other sites.
The fix doesn't works.
Nobody can downloads files from IE:(

vrom
11-02-2007, 05:34 PM
May be this will help you?
This the screen of the error.

RS_Jelle
11-02-2007, 05:52 PM
The fix doesn't works.
Nobody can downloads files from IE:(

Hmm, that's very strange. Are you sure you did the change correct, saved it and reuploaded downloads.php?

Another try, but I'm pretty sure this can't affect IE only or so:
Find in /includes/class_downloads.php:
if ((strrpos($this->url, '/')+1) != strlen($this->url))
{
$this->url .= '/';
}
Replace with:
if (strrpos($this->url,"/") != strlen($this->url))
{
$this->url .= "/";
}

May be this will help you?
This the screen of the error.

Can you translate the error to English? My Russian isn't that good :D

vrom
11-02-2007, 06:16 PM
Hmm, that's very strange. Are you sure you did the change correct, saved it and reuploaded downloads.php?
Yes I'm sure)

Another try, but I'm pretty sure this can't affect IE only or so:
Find in /includes/class_downloads.php:
if ((strrpos($this->url, '/')+1) != strlen($this->url))
{
$this->url .= '/';
}
Replace with:
if (strrpos($this->url,"/") != strlen($this->url))
{
$this->url .= "/";
}
Doesn't help.



Can you translate the error to English? My Russian isn't that good :D
You can't download ...s.html?do=file&id=88&act=down from [my forum url]
Impossible to open this internet url. URL is not found. Please, try later

PS i can downloads any file, uploaded not by DownloadsII, but inserrted to it as a link.
So the problem isn't in the server

Nate Dawg
11-03-2007, 05:50 AM
Can you have static-download URLs?

RS_Jelle
11-03-2007, 07:22 AM
Can you have static-download URLs?

It's not a DownloadsII feature, but it's possible if you are using vBSEO (there's a topic about it at the vBSEO forums).

Ricsca
11-03-2007, 01:07 PM
When upload the file, I do not find not any manner to load the thumbnails...

Why?

Thanks

RS_Jelle
11-03-2007, 01:20 PM
When upload the file, I do not find not any manner to load the thumbnails...

Why?

Thanks

You need to upload them after adding the file (so after submitting the file). The "Upload Images" form is at the bottom of the file page.

Be sure the "Allow Images" DownloadsII setting is enabled and the usergroup has got the "Can Upload Images" permission, otherwise you won't see it.

An example of what you should see: https://vborg.vbsupport.ru/attachment.php?attachmentid=51210&d=1154030030

Ricsca
11-03-2007, 04:24 PM
Thanks ;)

narutorasengan
11-03-2007, 05:25 PM
Everyone's got a different taste :D
But you can change such things pretty easily in the templates.

I already thought about such a thing as I know it from the Moodle e-learning CMS, but I don't think a lot of people have LibClamAV installed. Shared hosts probably don't want to install it as it takes some resources.



Open downloads.php
Find
if (!in_array($sortfield, $sortfields))
{
$sortfield = 'date';
}
Replace with
if (!in_array($sortfield, $sortfields))
{
$sortfield = 'name';
}


thank you :)

ntloc
11-04-2007, 04:09 PM
If this have categories per page like with the Files display per page in Download Setting would be great, i think a lot of people would like to have this features, don't u think so?

RS_Jelle
11-04-2007, 04:43 PM
If this have categories per page like with the Files display per page in Download Setting would be great, i think a lot of people would like to have this features, don't u think so?

Hmm, if you need such a feature, I think you just have too much categories (or you should use a better sub-categories layout) :D
Even vBulletin hasn't got such a feature.

Like vBulletin it's possible to hide sub-categories on the main page if there are too much of them.

BluAzn
11-05-2007, 09:08 AM
I am receiving this error when I tried to download a file from the DownloadsII system.

Warning: copy(./downloads//ec_tmp/xxxxxxxxxxxx.torrent) [function.copy]: failed to open stream: Permission denied in /downloads.php on line 700
ERROR: File not found.

Black Tiger
11-05-2007, 12:19 PM
@BluAzn: I had that same problem. Downloads II creates the /ec_tmp directory and the webserver needs write-rights on that directory.
You could ask your hoster to install phpsuexec or give apache write rights to that directory.

ntloc
11-05-2007, 06:10 PM
Thanks for the last reply, just curious has anyone here asked for the download file queue time limit. What i mean is a feature set a time limit of x seconds and if user doesn't click on the link to download, it'll be expired and user have to go back out or refresh the page again in order to download. I think it'll be pretty useful because it'll prevent user from using download manager to download the files and take up all the queues for themself. And also another useful feature is when guest allowed to download file without logging in, they have to enter a Verification image (words) in order to continue and download the file just like with vbulletin, when you don't log in and you try to search something you have to enter Image Verification to continue. Just wanna put my 2c on some features that i think will be useful for all since this is a download manager script.

maidos
11-06-2007, 08:01 PM
RS_Jelle can you please check your pm, i have given u screenshot of those error file down

cellow
11-07-2007, 07:50 AM
Hi Jelle,

after a user or admin upload a picture, the thumbnail is "readable", but not the original (big) picture.
After i looked into "downloads" folder on the ftp server, i could see, that the uploaded image is chmod "600" :-(

So where is the bug in the download.php ???

regards

PS: i use downloadsII 5.06

TheBlackPoet
11-08-2007, 11:53 AM
hey, i love this hack.... i've been using it for a while... but i was thinking today. is it possible to show more to the admin that how many downloads occurred.. such as... WHO downloaded?? knowing who downloaded what give me a better perspective..

kevcj
11-08-2007, 12:23 PM
TheBlackPoet - this function is already built into DownloadsII.

Go into your administrative control panel, and look for "Downloads" in the left column. Select the drop drown arrow, and click the bottom link "downloads." That page will show you who has downloaded what file.

TheBlackPoet
11-08-2007, 01:30 PM
MAN..... how could i not see that.... i must be having ANOTHER stupid moment... thanks...

fariborz khan
11-09-2007, 05:26 AM
hi:
i have 3 question.please tell answer to them or write a clear link to related post:
1.
i have many file in my host that not listed in download II hack how can import those to danload II navigation list?
2.
i have a folder that i uploud my file in it and download file from internetto it,how can download II monitor and add those file to it's navigation list automatically.
3.
please explain clearly how can change defuld download directory?

sorry me for my english .

BozzaJos
11-09-2007, 11:21 AM
Hey guys!

I just love this hack. It's probably the most important feature on my site. I do have some things I would like to see in a possible next version. I hope you guys could take a look at it and comment whether it is doable.

1. Option to put the download in the profile of the Author instead of the person who uploaded it. I add a lot of files on my site which are made by others. I have nothing to do with those downloads but when the Author isn't a member on my site, I can't assign him as the uploader and the download appear on my profile and people will think I've made it. So I would like to have an option which you can set to automaticly put the download on the profile of the Author's name and if he doesn't exist than don't put it on anyone's profile.

2. Option to use the Author's name for the person who uploaded it. I add a lot of downloads made by others but I'm always so decent to use the "Assign Uploader" option and fill in the name of the Author so it appear on his profile. Isn't it possible to have a checkbox with "Use the Author's name as uploader" when you add a download? This will make it a lot easier and takes less time.

3. I know there is the option "Sort by Weight" and it's very usefull but I would like to have some categories sorted by weight but some alphabetically. Unfortunately, this isn't possible.

4. Another neat option is to show or hide sub-categories. I know you can hide them on the main page and on the category page and I've got them both turned on. But... I have some categories on which I really would like to show the sub-categories. These categories are in a third or even fourth category. So I would love to see that you can select "Show sub-categories" for some pages.

That's basicly it. I hope you guys could take a serious look at these extra features and hopefully you can add them in the next version. By the way, if you would like to have a demo site which has a well-filled downloads database please let me know. My downloads center has 676 files in 121 categories and 185,487 Downloads. A lot of the downloads has a screenshot added so it looks really awesome when checking a category and you see all those thumbnails.

Thanks again and regards,

Bozza

maidos
11-09-2007, 06:42 PM
i dont wish to have every single filesdisplay uploaded by zetaf, how do i remove it

CUSTEL
11-09-2007, 06:58 PM
How would one go about adding images next to the categories like the demo in the op?

RS_Jelle
11-10-2007, 09:49 AM
Hi Jelle,

after a user or admin upload a picture, the thumbnail is "readable", but not the original (big) picture.
After i looked into "downloads" folder on the ftp server, i could see, that the uploaded image is chmod "600" :-(

So where is the bug in the download.php ???

regards

PS: i use downloadsII 5.06

Are you having any problems with this? It's pretty normal.
I also have got this, but it displays perfectly in the browser and you can remove it (with the delete link) without any errors. I don't understand the problem? Why should it have more permissions?

hi:
i have 3 question.please tell answer to them or write a clear link to related post:
1.
i have many file in my host that not listed in download II hack how can import those to danload II navigation list?
2.
i have a folder that i uploud my file in it and download file from internetto it,how can download II monitor and add those file to it's navigation list automatically.
3.
please explain clearly how can change defuld download directory?

sorry me for my english .


There's a mass import feature in the AdminCP part.
DownloadsII can't add files automatically. There isn't a standard method for this like RSS for news, so I don't know how we could implement this.
I don't understand this question? You can add and modify categories in the AdminCP. Modifying the look of DownloadsII can be done by modifying the DownloadsII templates of your style.


Hey guys!

I just love this hack. It's probably the most important feature on my site. I do have some things I would like to see in a possible next version. I hope you guys could take a look at it and comment whether it is doable.

1. Option to put the download in the profile of the Author instead of the person who uploaded it. I add a lot of files on my site which are made by others. I have nothing to do with those downloads but when the Author isn't a member on my site, I can't assign him as the uploader and the download appear on my profile and people will think I've made it. So I would like to have an option which you can set to automaticly put the download on the profile of the Author's name and if he doesn't exist than don't put it on anyone's profile.

2. Option to use the Author's name for the person who uploaded it. I add a lot of downloads made by others but I'm always so decent to use the "Assign Uploader" option and fill in the name of the Author so it appear on his profile. Isn't it possible to have a checkbox with "Use the Author's name as uploader" when you add a download? This will make it a lot easier and takes less time.

3. I know there is the option "Sort by Weight" and it's very usefull but I would like to have some categories sorted by weight but some alphabetically. Unfortunately, this isn't possible.

4. Another neat option is to show or hide sub-categories. I know you can hide them on the main page and on the category page and I've got them both turned on. But... I have some categories on which I really would like to show the sub-categories. These categories are in a third or even fourth category. So I would love to see that you can select "Show sub-categories" for some pages.


That's basicly it. I hope you guys could take a serious look at these extra features and hopefully you can add them in the next version. By the way, if you would like to have a demo site which has a well-filled downloads database please let me know. My downloads center has 676 files in 121 categories and 185,487 Downloads. A lot of the downloads has a screenshot added so it looks really awesome when checking a category and you see all those thumbnails.

Thanks again and regards,

Bozza

For question 1 and 2: You can use the author field in two ways and because of this such an option isn't logical. You can put a member in it (with auto suggest), but you can also upload for example vBulletin and put Jelsoft as the author, which isn't a member (just an example as distributing vBulletin is illegal).
For question 3: This is already implemented in v6 as this is requested multiple times already :)
For question 4: I think this is a bit a complicated method? Are you having that many sub-categories?

i dont wish to have every single filesdisplay uploaded by zetaf, how do i remove it

Find and remove in the downloads_file template:
({$vbphrase['ecdownloads_uploaded_by']} <a href="member.php?u={$file['uploaderid']}">{$file['uploader']}</a>)

How would one go about adding images next to the categories like the demo in the op?

That's not a default feature as some people are using bigger images, which will mess up the layout. I'm doing it with some template edits of the downloads_main and downloads_main_catbit templates. You need to put a higher colspan value in the first template and put the category image in a separate td in the second template.

fariborz khan
11-10-2007, 10:30 AM
hi:
i have 3 question.please tell answer to them or write a clear link to related post:
1.
i have many file in my host that not listed in download II hack how can import those to danload II navigation list?
2.
i have a folder that i uploud my file in it and download file from internetto it,how can download II monitor and add those file to it's navigation list automatically.
3.
please explain clearly how can change defuld download directory?

sorry me for my english .


3. Change the permissions on the directory called 'downloads' (under your forum directory) making it writeable and executable (chmod 777) i want explain this option(Note for Advanced users: once you have installed the product, you also have the option to place the 'downloads' folder anywhere in your web server's path.)

RS_Jelle
11-10-2007, 10:38 AM
3. Change the permissions on the directory called 'downloads' (under your forum directory) making it writeable and executable (chmod 777) i want explain this option(Note for Advanced users: once you have installed the product, you also have the option to place the 'downloads' folder anywhere in your web server's path.)

That's the fact that you can rename the downloads folder, which is the default name of it, to something different if you want. Then you also need to change the name in the DownloadsII settings. There are no advantages of another name, but it's possible :)

BozzaJos
11-10-2007, 10:42 AM
For question 1 and 2: You can use the author field in two ways and because of this such an option isn't logical. You can put a member in it (with auto suggest), but you can also upload for example vBulletin and put Jelsoft as the author, which isn't a member (just an example as distributing vBulletin is illegal).
For question 3: This is already implemented in v6 as this is requested multiple times already :)
For question 4: I think this is a bit a complicated method? Are you having that many sub-categories?

For answers 1 and 2: I like that you can put whatever you want in the Author field but the Uploaded by has to be a member and you can't just fill in whatever you like. And it's the name @ Uploaded by which gets the download shown on his profile. So for example if I upload vBulletin, I put Jelsoft as the author but since Jelsoft isn't a member, vBulletin will be shown on my profile looking like I'm the author of it and not Jelsoft. I would like to see that the downloads gets added to the profile of the Author's name and if that name isn't a member, don't put it on any profile.

For answer 3: Many thanks, sorry for not noticing that it was already requested multiple times.

For answer 4: I'm having a lot of sub-categories indeed. I have tons of categories and like I said, lotsa downloads. I have to try and make it look a bit organized. For example, when you want to download some logos you'll have to go to:
Football Manager 2008 ? Graphics ? Stickerbook V2 ? League Packs ? Europe

I can't show all categories on the main page coz that will make it look really messy. But I also can't make them all show on the Graphics page coz we are still talking about tens of categories. I would like to have them shown on the Stickerbook V2 in this example. Can't you add an option when editing/adding a category that you can show all sub-categories on the page of that category.

fariborz khan
11-10-2007, 10:57 AM
That's the fact that you can rename the downloads folder, which is the default name of it, to something different if you want. Then you also need to change the name in the DownloadsII settings. There are no advantages of another name, but it's possible :)
RS_Jelle sorry me for meny question:
you say:
you can rename the downloads folder
i want:
change name of directory to MYSITE DOWNLOAD
and change the pocition of MYSITE DOWNLOAD to another folder.
ok!!!
now how do this;)
please link related topic to me or explain me.
thanks a lot

cellow
11-10-2007, 12:33 PM
Hi Jelle,
after a user or admin upload a picture, the thumbnail is "readable", but not the original (big) picture.
After i looked into "downloads" folder on the ftp server, i could see, that the uploaded image is chmod "600" :-(
So where is the bug in the download.php ???
regards
PS: i use downloadsII 5.06

Are you having any problems with this? It's pretty normal.
I also have got this, but it displays perfectly in the browser and you can remove it (with the delete link) without any errors. I don't understand the problem? Why should it have more permissions?


Hi Jelle,
of course i have problem with this!!! The uploaded pictures (chmod 600) are not seenable!
Browser error:
"Forbidden
You don't have permission to access /forum/downloads/kaisa_3oL.jpg on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

After i changed it to chmod 666, the picture can everbody see.
I don't know find any configuration in the admincp for that.
maybe i have to fix any .php file?

thank you 4 ur support

Joshva
11-11-2007, 07:26 AM
Quick question.

I'd like to say users have 1gig of storage but the individual files upload must be less than or equal to 20mb. Can this be done?

Thanks,
Josh

RS_Jelle
11-12-2007, 05:21 AM
RS_Jelle sorry me for meny question:
you say:
you can rename the downloads folder
i want:
change name of directory to MYSITE DOWNLOAD
and change the pocition of MYSITE DOWNLOAD to another folder.
ok!!!
now how do this;)
please link related topic to me or explain me.
thanks a lot

Change the directory name of the downloads folder, but it must stay inside the forums folder! DownloadsII doesn't support download directories placed outside the vBulletin forums folder at the moment. Also keep the 777 permissions chmod.
Then just change the Download URL of the DownloadsII settings to match the new name, but keep its's structure (./downloads/ -> the point and slashes are necessary in that way, like it's default).

Hi Jelle,
of course i have problem with this!!! The uploaded pictures (chmod 600) are not seenable!
Browser error:
"Forbidden
You don't have permission to access /forum/downloads/kaisa_3oL.jpg on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

After i changed it to chmod 666, the picture can everbody see.
I don't know find any configuration in the admincp for that.
maybe i have to fix any .php file?

thank you 4 ur support

Are you on a shared host or a dedicated server? It's pretty strange as you are the first one having these problems with it. I'm only having it with that chmods as default and I don't get a forbidden error. Maybe you have a pretty strict Apache configuration?

Quick question.

I'd like to say users have 1gig of storage but the individual files upload must be less than or equal to 20mb. Can this be done?

Thanks,
Josh

The 1GB of storage can be set using the usergroup permissions. The 20MB per file can be accomplished by limiting it with a .htaccess file in the forums directory to limit the PHP maximum upload value.

php_value upload_max_filesize 20M
php_value post_max_size 20M

tanujdude91
11-12-2007, 06:01 AM
I would like to know whether vBSEO will change the URL's of the categories and downloads ?
For example - http://www.domain.com/downloads.php?do=file&id=320 or http://www.domain.com/downloads/file-name/

RS_Jelle
11-12-2007, 10:55 AM
I would like to know whether vBSEO will change the URL's of the categories and downloads ?
For example - http://www.domain.com/downloads.php?do=file&id=320 or http://www.domain.com/downloads/file-name/

I've heard that there's a thread at the vBSEO forums with rewrite rules for vBSEO to rewrite the DownloadsII url's (but I don't use vBSEO myself) :)

Joshva
11-12-2007, 08:33 PM
The 1GB of storage can be set using the usergroup permissions. The 20MB per file can be accomplished by limiting it with a .htaccess file in the forums directory to limit the PHP maximum upload value.

php_value upload_max_filesize 20M
php_value post_max_size 20M


What error will that report to the user? Will they understand it?

RS_Jelle
11-13-2007, 05:50 AM
What error will that report to the user? Will they understand it?

No, with the PHP setting the upload will just time-out (blank screen). But you can edit the downloads_file_addit template to set a warning for your members.

mark|3
11-13-2007, 07:21 AM
i am trying to install the file but somehow i am having problems installing this and achieving the correct end result.

In my admincp >
i see downloads
Setting
Categories
Import
Downloads.

But in my forum i do see the link download or have any function to allow downloads.

I am using vb 3.6.8 and have only downloaded the DownloadsII 5.0.6.zip file. Do i need to download the addons to make it work properly?

Thanks

RS_Jelle
11-13-2007, 02:43 PM
i am trying to install the file but somehow i am having problems installing this and achieving the correct end result.

In my admincp >
i see downloads
Setting
Categories
Import
Downloads.

But in my forum i do see the link download or have any function to allow downloads.

I am using vb 3.6.8 and have only downloaded the DownloadsII 5.0.6.zip file. Do i need to download the addons to make it work properly?

Thanks

You can find it at http://www.yoursite.com/forums/downloads.php

Also read the Readme-Install.txt for this:
Perform the following OPTIONAL template edit (only required if you want a 'Downloads' link in your navigation bar)

Find in navbar:

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

If you are running vBulletin 3.6.7 (or higher), you need to search for the following as it changed slightly:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

Add below:

<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>

NFLfbJunkie
11-13-2007, 03:05 PM
I remember seeing somewhere how to add a border around the area that states the following on the downloads page:

Important Information

Use these files at your own risk!
EnjoyWould anyone know where to find this or how to do this?

basketmen
11-13-2007, 07:20 PM
I remember seeing somewhere how to add a border around the area that states the following on the downloads page:

Important Information

Use these files at your own risk!
EnjoyWould anyone know where to find this or how to do this?
You can edit or delete that text in admincp --> Downloads Settings

basketmen
11-13-2007, 07:23 PM
btw i have question

i like this mod and want to use this to another my site that not using vbulletin, can i do this

or if you know any simillar script like downloadsII for non vbulletin site pleae give the link, i had searching and confuse :D

NFLfbJunkie
11-13-2007, 07:33 PM
I know that the Important Information text can be deleted via the settings. I want to knwo how I can put a border around it so it looks a little neater.

RS_Jelle
11-13-2007, 07:50 PM
I remember seeing somewhere how to add a border around the area that states the following on the downloads page:

Important Information

Use these files at your own risk!
EnjoyWould anyone know where to find this or how to do this?

You can edit or delete that text in admincp --> Downloads Settings

Indeed, put for example this code around it:
<div style="border: 1px solid black;">
Your important information
</div>

btw i have question

i like this mod and want to use this to another my site that not using vbulletin, can i do this

or if you know any simillar script like downloadsII for non vbulletin site pleae give the link, i had searching and confuse :D

I'm sorry, but vBulletin is really necessary to run DownloadsII and most of the other mods on vB.org. We're using the vBulletin database, AdminCP layout, template, language/phrases, ... backend and that's really a lot.

There are a lot of other downloads mods, but I don't know some similar one immediately.

NFLfbJunkie
11-13-2007, 07:54 PM
Thanks for the border help.

cellow
11-13-2007, 11:26 PM
Are you on a shared host or a dedicated server? It's pretty strange as you are the first one having these problems with it. I'm only having it with that chmods as default and I don't get a forbidden error. Maybe you have a pretty strict Apache configuration?


I have managed Server. But i had this new... i don't think that this is a server problem...
it's really strange :(

CyberRanger
11-14-2007, 12:43 AM
I have managed Server. But i had this new... i don't think that this is a server problem...
it's really strange :(Your server has a very strict umask (the permissions that new files are automatically given.) For the normal uploaded files, we handle this by having this statement chmod($dl->url.$newfilename, 0666); on line 1302 of downloads.php.

I'll try to figure out where you need to add it for uploaded image's permissions to get changed.

mark|3
11-14-2007, 01:56 AM
I have tried to access the downloads.php page and it prompts this message.

Admin, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.


Any idea how to go about correcting this?

thanks

CyberRanger
11-14-2007, 01:58 AM
Any idea how to go about correcting this?

thanksYes, go into your usergroup settings and give the admin group permissions to the Downloads.

CyberRanger
11-14-2007, 02:01 AM
I have managed Server. But i had this new... i don't think that this is a server problem...
it's really strange :(


Your server has a very strict umask (the permissions that new files are automatically given.) For the normal uploaded files, we handle this by having this statement chmod($dl->url.$newfilename, 0666); on line 1302 of downloads.php.

I'll try to figure out where you need to add it for uploaded image's permissions to get changed.

Look on line 829 for this line:
move_uploaded_file($_FILES['image']['tmp_name'], $dl->url.$newfilename);

Add this below it:
chmod($dl->url.$newfilename, 0666);

That should fix the permissions problem when adding images.

mark|3
11-14-2007, 02:24 AM
Thanks Cyber :D
Appreciate your help and guidance.

mark|3
11-14-2007, 04:18 AM
i've encountered another problem where i try to download the file (pdf) , it displays on the current page. One will need to backspace to return to the forum/download page. Any solutions? thanks

maidos
11-14-2007, 06:33 AM
i always seem to get this and other use aswell when they try to download, but get blank page, you told e to show u a screenshot which i did but you never replied back

downloads.php?do=file&id=3466&act=down

maidos
11-14-2007, 10:10 AM
can you make feature to allow xx download at the time while maybe on other usergroup u can allow more xx downloads

xTerMn8R
11-15-2007, 02:58 AM
Any Chance of getting the "Tops" to Display in my Advance Portal Home Page? (or info on how I can do that)

Great Mod went in smooth as cake using vbulletin 3.54 PHP4.38 MySQL 4.0.18,

Thanks for the good work.
Termi

http://superskunkracing.org

xTerMn8R
11-15-2007, 06:17 AM
LOL Man what an idiot I am, I see ya made the addon already and I had it downloaded as well and on my machine the whole time... Well there's a wasted 4 hrs.... need to check things more closley LOL (Smoke another one)

Thanks again GREAT WORK...

Auron
11-15-2007, 08:10 AM
does this mod allow for rapdshare type functionality, or is there a mod to allow it?

a l help out at a large forum which uses this module (which l see has been updated since the version it currently has) and we are having an issue with people creating up to several account just to get around the daily bandwidth limitations that are in place, its getting quite annoying weeding out these users, so an ability to limit these users based on cookies or even a time limit between downloading per IP would be useful (of course the time limit wouldnt be mentioned but it could be set for an hour or two in hopes to combat those ungrateful users who only want to download content and leave without considering that some sites only have some much bandwidth to spread between each user)

Asco1
11-15-2007, 01:44 PM
Hi there,
I have one question ;)
I`ve read a lot of postings here, but my qusation are not answered ;(
Is it posible to modify the script, so I can upload more then one file at the same moment ?
Thanx for replys ...
Regards
Asco

CyberRanger
11-15-2007, 02:02 PM
Is it posible to modify the script, so I can upload more then one file at the same moment ?Sorry, that's not currently possible. Maybe in a future release but it's a huge re-write of the program.

maidos
11-15-2007, 02:06 PM
please there something wrong, i always get error file not found or blank page...
server load is under 1, and everything is working acordingly on the server

xTerMn8R
11-15-2007, 06:45 PM
I'm having some troubles now as well... Knew it was to good to be true...

If I Import from admin CP no Problems, If I try and use client user from downloads.php page to add (with admin rights) a file It works fine if the file is under 2MB, as soon as I Increase the file size it give me the attached error. Whats really wierd is this was all working great last night, I dont know what happened.

Any help will be deeply appreciated...

I checked all the permissions on Usergroups and they're fine
Checked Attachment size and extensions and thats fine..
checked files I'm trying to upload and they're fine.
Checked Downloads Settings for Bandwidth and all are -1

What about duplicate files in download folder? will that cause troubles?

Thanks again..

I checked... no duplicate files ???

xTerMn8R
11-16-2007, 06:22 AM
Fixed it ... had to edit the php and change BOTH the file_upload max and the Post_upload max. Still get that little error that shows in status bar of IE but uploads are working.

Did find another bug and I dont know if this is a vBulletin error or this mod, but heres what happened. My Time was 12 hrs off being set for PM when it should have been am. I noticed it and made the change, I went back into vBulletin and My Administrators User group had NO permissions for Downloads II and it wouldnt accept any changes. It said it saved the changes but when I go back into the settings they're the same as before I changed them. Really strange and so... I'll be running 12 hrs ahead... Hmmmmmm I guess I could choose an offset 12 hrs behind of what I got... but thats a shabby fix...

ALL help is surely appreciated..

Peace out... :cool:
xTerMn8r
http://superskunkracing.org

mark|3
11-17-2007, 11:27 AM
i've encountered another problem where i try to download the file (pdf) , it displays on the current page. One will need to backspace to return to the forum/download page. Any solutions? thanks

hugh_
11-17-2007, 07:01 PM
Could I suggest leaving out the URL data from search results?

cellow
11-18-2007, 02:25 AM
Your server has a very strict umask (the permissions that new files are automatically given.) For the normal uploaded files, we handle this by having this statement chmod($dl->url.$newfilename, 0666); on line 1302 of downloads.php.

I'll try to figure out where you need to add it for uploaded image's permissions to get changed.

the tiny statement works! but instead of chmod 666, i did chmod 644. no need for 666 ;)
big thx 4 ur support!


*NEW ISSUE*
File- & Category name in url issue:

i want to add filename & categoryname into the url.
instead of
downloads.php?do=file&id={idnummer}
downloads.php?do=cat&id={idnummer}

i want
downloads.php?do=file&id={idnummer}&name={filename}
downloads.php?do=cat&id={idnummer}&name={categoryname}

{...} <- place for datebase stored variables

i know that is a few changes in the downloads.php script with some sql statement additionals. but i am not into php so much, that i can easily find and replace some "good" code :)

please tell me and to the other ppl who are waiting 4 this issue (at the vbseo forum), the places and additional codes to bring this feature to DownloadsII
With this 2 feature we can mod_rewrite our file- and catnames into keyword rich download-urls.

I am very thankfull 4 ur support.

xTerMn8R
11-18-2007, 01:44 PM
Ok Now uploads work fine but when I try and import via admincp I get this error.

Could not import the following files because the import file could not be read or the export file could not be written to: sce_098_full_install.zip

These files are fine and I can add them via the upload feature from download.php ("ADD")
Man I'm stumped...

:confused:

Thanks,
Termi

simunaqv
11-19-2007, 08:13 AM
Hello,
I have just started using this mod and I have a couple of questions:
1. Is there any way of changing the display order of the categories as well as those of files?
2. Is it possible to add custom fields to the upload file form? If yes, how?

Regards,

xTerMn8R
11-19-2007, 12:52 PM
Sorting gets done weight # 0=first 1=second 2=Third, etc...dont know about custom fields

simunaqv
11-19-2007, 01:25 PM
<font color="#0000ff">xTerMn8R, thank you. Maybe somebody else knows about the custom fields.</font>

xTerMn8R
11-19-2007, 02:58 PM
I guess the author has abandoned this thread as far as support goes. Has anyone gotten the error I was getting in the above post I made as far as importing from admincp?

CyberRanger
11-19-2007, 04:35 PM
xTerMn8R, thank you. Maybe somebody else knows about the custom fields. No custom fields are available.

CyberRanger
11-19-2007, 04:38 PM
Could not import the following files because the import file could not be read or the export file could not be written to: sce_098_full_install.zip
:confused:

Thanks,
Termi Have you imported ANY files successfully? If not, then I'd say you have a file permissions problem. If yes, is zip an allowed extension?

ntloc
11-19-2007, 05:19 PM
Hi, i just wanna ask a question, is there gonna be anymore update for this? i'm worried because i haven't seen the author/coder response to any post lately, i understand author also have his/her own life outside this but i hope he/she doesn't abandon this project.

fariborz khan
11-20-2007, 01:50 AM
hi:
i want know can i import file to this hack (not url)?
i want download II add imported file to specific folderfor example when we add file from foldere X (that lokated in owr host), download II add this file(not link) to spacfic folder that we use for this purpose.
for example when we add a file to attachment of vb, that file attach to our database not its link.
this hack is a major and i thing it must has a database for its.i use it and i want it better evry day
thanks for all your support.

chikkoo
11-20-2007, 03:32 AM
hey,

I am using DownloadII to upload my articles in PDF format, and people leech my content but never say even thanks. Later on I found all my leeched articles in someother site.

Is there a way to add some hidden fields or information in the pdf file or properties, such as downloaded username and the date downloaded.

I saw some medical websites (http://www.nejm.com), they use this technique to put who is downloading their article. How do they do it?

pipin
11-21-2007, 10:07 AM
I guess the author has abandoned this thread as far as support goes. Has anyone gotten the error I was getting in the above post I made as far as importing from admincp?

Hi, i just wanna ask a question, is there gonna be anymore update for this? i'm worried because i haven't seen the author/coder response to any post lately, i understand author also have his/her own life outside this but i hope he/she doesn't abandon this project.

are both of you kidding?

The coders last post was 8 days ago.

The support is great for a non payed product.

fariborz khan
11-21-2007, 10:17 AM
RS_Jelle is the best coder & supporter that i ever seen for non payed product

xTerMn8R
11-21-2007, 12:39 PM
Yes I was able to Import when I first installed it, but at that time I was getting errors with the upload in the download.php which turned out to be my php max settings in php.ini I changed them to 500MB and the client side works great now but the Import doesnt. Zip file is fine, Attachments settings are correct, Permissions are good... ALso If I uninstall DownloadII it still stays in my Plugins/Products List... ???? and if I try to uninstall again says something like cant find product edownloads or summin

Thx for the support.

Tom

Stifmeister2
11-21-2007, 01:44 PM
RS_Jelle is the best coder & supporter that i ever seen for non payed product
Indeed.

Well same goes for CyberRanger.

butch3r
11-21-2007, 07:24 PM
Don't know what to do, after deleting 5.0.5. i uploaded 5.0.6. files to host and while importing product i receive "No file uploaded and no local file found".. need help
P.S. Sorry for my english, hope you can understand me

butch3r
11-22-2007, 12:58 AM
I made that.. and it works now..
btw i've translated it to Russian language, can i post it somewhere?

RS_Jelle
11-22-2007, 05:59 AM
i've encountered another problem where i try to download the file (pdf) , it displays on the current page. One will need to backspace to return to the forum/download page. Any solutions? thanks

If it's not on the "Open File Directly in Browser", it should open in a new window normally. What browser are you using? Also give it a try in another one.

please there something wrong, i always get error file not found or blank page...
server load is under 1, and everything is working acordingly on the server

I don't know what could cause such a random error. If it happened to the attached images, it could be the problem CyberRanger sorted out, but for uploading files the 666 chmod is done correctly. Also you are talking about random errors, so it can't be a chmod problem (or even a PHP problem). Those errors wouldn't be random occuring then, but always.

Can you check your Apache error log? Are there any (related) errors with downloads.php?

can you make feature to allow xx download at the time while maybe on other usergroup u can allow more xx downloads

That's already possible, just use the usergroup permissions :)
There's a per usergroup setting to control the amount of downloads.

does this mod allow for rapdshare type functionality, or is there a mod to allow it?

a l help out at a large forum which uses this module (which l see has been updated since the version it currently has) and we are having an issue with people creating up to several account just to get around the daily bandwidth limitations that are in place, its getting quite annoying weeding out these users, so an ability to limit these users based on cookies or even a time limit between downloading per IP would be useful (of course the time limit wouldnt be mentioned but it could be set for an hour or two in hopes to combat those ungrateful users who only want to download content and leave without considering that some sites only have some much bandwidth to spread between each user)

Normally you can just set the download delay in the settings, or use the usergroup permissions to set download delays per usergroup (which is overwriting the overall setting). It's checking the username AND the IP already, so it should work.

Could I suggest leaving out the URL data from search results?

I don't think we are going to do that as this is the same method vBulletin uses for the forum search.

hey,

I am using DownloadII to upload my articles in PDF format, and people leech my content but never say even thanks. Later on I found all my leeched articles in someother site.

Is there a way to add some hidden fields or information in the pdf file or properties, such as downloaded username and the date downloaded.

I saw some medical websites (http://www.nejm.com), they use this technique to put who is downloading their article. How do they do it?

They're probably using the PHP PDF functions (http://www.php.net/pdf) to do this or another PHP class (there are more of them). This isn't an easy to add thing as it requires some special functions (or a separate class) and it's a pretty load to include this in DownloadsII as it won't be used by a lot of people. It could be something for an add-on.

You can also make your copyright and distribution rights clear at the top of the PDF with your site url etc. and send a mail to those sites.

I made that.. and it works now..
btw i've translated it to Russian language, can i post it somewhere?

You may always attach it here to a post :)


@All: I'm answering the other questions in a next batch of responses :D

butch3r
11-22-2007, 09:50 AM
Here's my russian translated version of DownloadsII. I will appreciate any feedback on it;)

fariborz khan
11-22-2007, 10:48 AM
hi:
i want know can i import file to this hack (not url)?
i want download II add imported file to specific folderfor example when we add file from foldere X (that lokated in owr host), download II add this file(not link) to spacfic folder that we use for this purpose.
for example when we add a file to attachment of vb, that file attach to our database not its link.
this hack is a major and i thing it must has a database for its.i use it and i want it better evry day
thanks for all your support.

?????????????????????????????????????????????????? ????

maidos
11-22-2007, 06:33 PM
well it turn out taht i had raid issues since i have 2 hdd in one partion...
anyway i got another request, i want to place ads on every download page except for donators and the staff ppl, i want like ads on top and bottom... how can it be done

CyberRanger
11-22-2007, 11:21 PM
?????????????????????????????????????????????????? ????

??? Your question is hard to understand but I think the answer is no. DownloadsII doesn't put the files into separate folders. All uploaded files go to the same folder. We aren't happy with that either but that's how it works now.

Spin Doctor
11-23-2007, 12:37 AM
i get this error when i want to change my user group permissions in step 3 of the installation process

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Registered Users',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '708863',
`genericpermissions` = '371932995',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '1',
`adminpermissions` = '0',
`genericoptions` = '62',
`profilepicmaxwidth` = '200',
`profilepicmaxheight` = '200',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '150',
`avatarmaxheight` = '150',
`avatarmaxsize` = '50000',
`signaturepermissions` = '139263',
`sigpicmaxwidth` = '700',
`sigpicmaxheight` = '150',
`sigpicmaxsize` = '20000',
`sigmaxrawchars` = '10000',
`sigmaxchars` = '5000',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '1',
`rxptupsnumber` = '15',
`credit_induction` = '0',
`credit_referral` = '100',
`credit_refbonus` = '0.05',
`credit_daily` = '',
`credit_active` = '10',
`credit_birthday` = '100',
`credit_repgive` = '0.1',
`credit_reppos` = '',
`credit_repneg` = '',
`credit_thread` = '20',
`credit_threadrate` = '0',
`credit_post` = '5',
`credit_ownthreadpost` = '5',
`credit_postsize` = '0.1',
`credit_pollmake` = '20',
`credit_pollvote` = '2',
`credit_unthread` = '',
`credit_unpost` = '',
`creditpermissions` = '0',
`ecdownloadpermissions` = '0',
`ecexcludecatlist` = '',
`ecdownloadsmaxuploadtotal` = '-1',
`ecdownloadsmaxdailydl` = '-1',
`ecdownloadsmaxdailyfiles` = '-1',
`ecdownloaddelaygrp` = '-1'
WHERE usergroupid=2;

MySQL Error : Unknown column 'credit_daily' in 'field list'
Error Number : 1054
Date : Thursday, November 22nd 2007 @ 09:32:33 PM
Script : http://www.hiphopsphere.com/forum/admincp/usergroup.php?do=update
Referrer : http://www.hiphopsphere.com/forum/admincp/usergroup.php?do=edit&usergroupid=2
IP Address : 211.30.52.7
Username : Coptic Soldier
Classname : vb_database

CyberRanger
11-23-2007, 01:38 AM
i get this error when i want to change my user group permissions in step 3 of the installation process


MySQL Error : Unknown column 'credit_daily' in 'field list'


That's not anything related to DownloadsII. You've installed/uninstalled a product that creates a field named credit_daily that is giving you the error. That's not a field used in Downloads.

fariborz khan
11-23-2007, 04:48 PM
??? Your question is hard to understand but I think the answer is no. DownloadsII doesn't put the files into separate folders. All uploaded files go to the same folder. We aren't happy with that either but that's how it works now.

thanks for rplay.
please notice to my problem:
i downlod to my host with rapidleech in a folder and i want import them to download II that user can download them
i dont like my users know my rapideleech folder but when i import a file to download II it link to my file in rapidleech folder.
thanks alot

xTerMn8R
11-23-2007, 06:02 PM
Yes Cyber, I was able to Import when I first installed it, but at that time I was getting errors with the upload in the download.php which turned out to be my php max settings in php.ini I changed them to 500MB and the client side works great now but the Import doesnt. Zip file is fine, Attachments settings are correct, Permissions are good... ALso If I uninstall DownloadII it still stays in my Plugins/Products List... ???? and if I try to uninstall again says something like cant find product edownloads or summin

Thx for the support.

Tom

maidos
11-24-2007, 10:25 AM
i have asked many many times now if u guys can get the rss feeds but i always get ignored so please answer this again... can we have rss on downloads `?

CyberRanger
11-24-2007, 10:26 AM
i have asked many many times now if u guys can get the rss feeds but i always get ignored so please answer this again... can we have rss on downloads `?
Sure, write it and we'll add it! We currently have no plans to add it but it would be a good addition.

CyberRanger
11-24-2007, 10:27 AM
Yes Cyber, I was able to Import when I first installed it, ...

Tom
Hey Tom - if you can PM me all of you login info (vb admin account and an ftp account) I'll look into this next Tuesday or so. Thx!

CyberRanger
11-24-2007, 10:28 AM
thanks for rplay.
please notice to my problem:
i downlod to my host with rapidleech in a folder and i want import them to download II that user can download them
i dont like my users know my rapideleech folder but when i import a file to download II it link to my file in rapidleech folder.
thanks alot
I'm still confused. Are you trying to use the mass import feature from the admincp? Or, are you simply linking to the files on different server?

xTerMn8R
11-24-2007, 02:15 PM
Thanks for the reply Cyber, Its working now... LMAO... I think it had something to do with Upload limits and/or changing my date and time, cause i changed the setting for Download Wait period to Zero and Now everything works... thanks for the great support for an Excellent mod.

Tom

PS Maybe I'll up the waiting period now and see if it still works... LOL

Lionel
11-24-2007, 03:30 PM
Hi, can this be set as a download repository where each user can only see files set for his eyes only?

BozzaJos
11-24-2007, 04:17 PM
Hey guys,

A couple of weeks ago, I posted a reply with some features (https://vborg.vbsupport.ru/showthread.php?p=1378987&highlight=Bozza#post1378987) I requested for this hack. One of them was that I would like to see that the hack picks the Author's name to show the download on the profile instead of the Uploader's Name. Jelle responded that it wasn't a useful feature but I do have something else to add about my request.

I upload almost all the downloads myself. To make sure the downloads are shown on the correct profile, I do Assign Uploader and change it to the membername of who created the download. One problem: When doing that it gives that person the ability to delete the file. This is something I can't have so I had to change them all to something else. This means that the files won't be shown on the correct profile anymore. I still would like to request the option that you can make sure the download will appear on the profile of the Author instead of the Uploader.

Thanks again.

Best regards,

Bozza

xTerMn8R
11-25-2007, 03:10 PM
Changed the Waiting period in Main settings and everything still working fine... :)

mri_mohammad
11-26-2007, 02:37 AM
hi all how i can do someting to registered user can download the file but they can't see downloads.php how i can do that?

loonytune15
11-26-2007, 08:24 AM
I apologise if i missed this is the thread somewhere...

I have been zipping up some mp3's an uploading them. but when they are downloaded they keep coming up as invalid archive.

I checked the file in the directory and downloaded it bia smartftp and the file is ok. but for some reason its not working when i download it through the system.

any ideas?

HDT
11-26-2007, 08:15 PM
All "Title/File Name" has truncated,how to set up more long "Title/File Name" to some number limitation.

RS_Jelle
11-27-2007, 05:21 AM
Here's my russian translated version of DownloadsII. I will appreciate any feedback on it;)

I think you forgot to add the attachment :p

well it turn out taht i had raid issues since i have 2 hdd in one partion...
anyway i got another request, i want to place ads on every download page except for donators and the staff ppl, i want like ads on top and bottom... how can it be done

Like I said, PHP coding mistakes don't create random errors :)
I've searched a lot, but I can't think at all such things also.

For usergroup determinated adds, just use this code in your DownloadsII (and any other vBulletin) templates:
<if condition="!is_member_of($bbuseruserinfo, 5, 6)">
Add code
</if>
Just list the usergroup ids (in this case 5 (super mods) and 6 (admins)) to hide the adds for.

Hi, can this be set as a download repository where each user can only see files set for his eyes only?

Using the usergroup permissions you can list the categories a user can see/download from and what other permissions you give OR the categories a user can't see/...
There are no advanced per category usergroup permissions yet.

Hey guys,

A couple of weeks ago, I posted a reply with some features (https://vborg.vbsupport.ru/showthread.php?p=1378987&highlight=Bozza#post1378987) I requested for this hack. One of them was that I would like to see that the hack picks the Author's name to show the download on the profile instead of the Uploader's Name. Jelle responded that it wasn't a useful feature but I do have something else to add about my request.

I upload almost all the downloads myself. To make sure the downloads are shown on the correct profile, I do Assign Uploader and change it to the membername of who created the download. One problem: When doing that it gives that person the ability to delete the file. This is something I can't have so I had to change them all to something else. This means that the files won't be shown on the correct profile anymore. I still would like to request the option that you can make sure the download will appear on the profile of the Author instead of the Uploader.

Thanks again.

Best regards,

Bozza

This will be possible with v6, which is in progress (I'm cutting down the new features which take too much time to accomplish at the moment). There will be separate edit/delete usergroup permissions and they are also separated a second time by file owner (edit/delete own files) and all files (edit/delete all files).

hi all how i can do someting to registered user can download the file but they can't see downloads.php how i can do that?

So they won't see downloads.php?do=file&id=xxx&act=down as the source of the download?
It should show something as the source of the download, so we think this is pretty safe as you can control the downloads using the usergroup permissions. We aren't showing the location of the file in the downloads directory to avoid hotlinking.
If you are linking a file, the link is shown to the downloader as it isn't on your own server then normally.

I apologise if i missed this is the thread somewhere...

I have been zipping up some mp3's an uploading them. but when they are downloaded they keep coming up as invalid archive.

I checked the file in the directory and downloaded it bia smartftp and the file is ok. but for some reason its not working when i download it through the system.

any ideas?

Hmm, someone else also had this problem with the previous release (5.0.5), but only in Internet Explorer. I changed the download headers to a method IE also likes and his problems are solved now. So be sure you have the newest DownloadsII files (downloads.php mostly in this case), version 5.0.6, on your FTP. Also give it a try in another browser (Firefox or something like that if you aren't using that browser already).

Then you can try to open downloads.php
Find
header("Content-Type: $ctype; name=\"".basename($filename)."\";");
Replace with
header("Content-Type: $ctype");
So you undo the 5.0.6 change to avoid IE corrupting zip files (on some servers in some rare cases, don't know why yet).

Then give it another try with the problem browser(s). Please give some feedback on what a different browser does and it the change helps to fix it for all browsers.

All "Title/File Name" has truncated,how to set up more long "Title/File Name" to some number limitation.

There's a database limitation in our database scheme. The name field has got a 50 (varchar) characters limitation at the moment, which should be enough for normal use -I think- (if it's too long, you probably go outside the layout boxes etc.).

If you can work with phpMyAdmin, you can open the dl_files table of your vBulletin database, find the name field and put a higher varchar value instead of the current maximum of 50 characters.

mri_mohammad
11-27-2007, 11:59 AM
So they won't see downloads.php?do=file&id=xxx&act=down as the source of the download?
It should show something as the source of the download, so we think this is pretty safe as you can control the downloads using the usergroup permissions. We aren't showing the location of the file in the downloads directory to avoid hotlinking.
If you are linking a file, the link is shown to the downloader as it isn't on your own server then normally.

no you didn't get it some of website i see they have this download hack but they put the link of --> downloads.php?do=file&id=xxx&act=down in thread and after anyone want go to downloads.php the page is white and they can't see the page ok?

HDT
11-27-2007, 12:30 PM
There's a database limitation in our database scheme. The name field has got a 50 (varchar) characters limitation at the moment, which should be enough for normal use -I think- (if it's too long, you probably go outside the layout boxes etc.).

If you can work with phpMyAdmin, you can open the dl_files table of your vBulletin database, find the name field and put a higher varchar value instead of the current maximum of 50 characters.

Thanks RS_Jelle. Working great.
Hope on next release can added this features,so we dont need to go to phpmyadmin to change it :D

nschindler
11-27-2007, 02:52 PM
I'm looking for a download mod for our vBulletin installation, and this one's close, but it seems to be missing a couple of things we'd really like to have:

-Private downloads: Allow moderators to assign a single user to specific downloads and make them private to only that customer. This would be useful for license key downloads.

-Configurable license agreements: Ability to create and select from a list of license agreements. When an agreement is assigned to a download, it's presented to the user when a download of that item is attempted and the user must 'Accept' the agreement before the file is served.

As a previous Joomla user, I became spoiled by DocMan. Now that I'm using Drupal/vBulletin, I can't find a download module that does the same thing.
If DownloadsII is already capable of the features we're looking for, or if anybody has a suggestion for implementing it, please let me know.

Thanks,
Nate

Lionel
11-27-2007, 03:37 PM
I'm looking for a download mod for our vBulletin installation, and this one's close, but it seems to be missing a couple of things we'd really like to have:

-Private downloads: Allow moderators to assign a single user to specific downloads and make them private to only that customer. This would be useful for license key downloads.

-Configurable license agreements: Ability to create and select from a list of license agreements. When an agreement is assigned to a download, it's presented to the user when a download of that item is attempted and the user must 'Accept' the agreement before the file is served.

As a previous Joomla user, I became spoiled by DocMan. Now that I'm using Drupal/vBulletin, I can't find a download module that does the same thing.
If DownloadsII is already capable of the features we're looking for, or if anybody has a suggestion for implementing it, please let me know.

Thanks,
Nate

I am looking for those exact docman features and would definitely be interested into a pointer on how to implement them.

Scotty2k
11-28-2007, 12:25 PM
At uploading a file from a category I receive such mistake:

Warning: copy(./downloads//http://) [function.copy]: failed to open stream: No such file or directory in /downloads.php on line 690
ERROR: File not found.


And if enter editing any file and to change, for example, the description after preservation I receive such lines of mistakes:

Warning: mysql_real_escape_string() expects parameter 1 to be string, resource given in /includes/class_core.php on line 657

Warning: rename(,) [function.rename]: No such file or directory in /downloads.php on line 1393


Same error after updating vbulletin and reinstalling downloadsII . Does someone have a hint how to fix it ?


But thus changes are kept...

How to correct this trouble?[/QUOTE]

Poeta
11-28-2007, 11:15 PM
Hi all,

i've tried to look at the readme and checking various posts, but there is no instructions on how to put the download tab in the status bar on the forum (i mean next to usercp, member list ecc ecc).

Is it possible? Just to understand how to link the download.php to my users.
I'm trying at the same time to configure even on vbadvanced :p

Thanks,

Poeta

CyberRanger
11-28-2007, 11:19 PM
Hi all,

i've tried to look at the readme and checking various posts...

Poeta
navbar edit : https://vborg.vbsupport.ru/showpost.php?p=1066742&postcount=299

Ba$im
11-29-2007, 06:56 AM
hello
really amazing work
I have some question and need answer if you allow plz
1-Can install it as subdomain of forum?
2-from where I can edite layout of main page /category page/download page?
3- how I can add field on download page as aouther and file size I want add field on that page how I can do it?

thanks

CyberRanger
11-29-2007, 10:19 AM
1-Can install it as subdomain of forum? I don't think you really can. We assume downloads.php is in the main forum folder. I'll double-check but I think the answer is no.
2-from where I can edite layout of main page /category page/download page? You need to examine the DOWNLOADS templates and find the one's you need to change. The best way to learn what happens is to play with them some. :)
3- how I can add field on download page as aouther and file size I want add field on that page how I can do it?You'd need to edit the source code and the templates. I'm afraid there is no easy way to do that right now.

RS_Jelle
11-29-2007, 02:35 PM
1-Can install it as subdomain of forum?

It's possible to do with chdir to get the vBulletin files from your forums directory and the base html tag to get the right vBulletin layout images from your forums etc.
But the vBulletin license states that you may only install it on one (sub)domain. You also may not show another layout or something else on different (sub)domains. You need separate licenses for this.

They are pretty strict with this (there has been some discussion about this before on other mods) :)

mri_mohammad
11-29-2007, 03:09 PM
no one help my problem?

CyberRanger
11-29-2007, 05:07 PM
no one help my problem?
I don't see where you have a problem. I only saw where you want Downloads to perform different than intended. We aren't going to code it like you want. The site that gives a white page is a terrible way to operate.

mri_mohammad
11-29-2007, 11:51 PM
can anyone find out this website using this hack or no --> www.persianhub.org/downloads.php thanks

ntloc
11-30-2007, 12:43 AM
it's this hack, they just set the Display all subcat and somehow i think he removed the DownloadsII copyright notice too and we're not allowed to do that. Correct me if i'm wrong.

Joshva
11-30-2007, 02:28 AM
Hi all,

This mod looks extremely impressive well done.

Is their a road map of what future features will be added?

Thanks,
Josh

ntloc
11-30-2007, 02:53 AM
Hi all,

This mod looks extremely impressive well done.

Is their a road map of what future features will be added?

Thanks,
Josh

You're absolutely right, I have more than 10,000 files for my members to download and will have about more than 600 categories running on my dedicated server. I've figured out a way to make it look nice and neat with all that categories without the Categories features. Right now, my bandwidth drains about 3-5 GB per day, I wonder if it'll slow down my board if Ihave about 20GB of bandwidth my members leeched of my server. Is there anyway I can host my board and database on other server and files on separated server?

And also, how come I have imported and uploaded total of more than 10,000 files and on the main download page, it's showing that my main category has more than 10,000 files too but when I ftp to my account and go into the downloads folder that i set, there's only almost 4,000 files in there. I have check all the files in download section and able to download them and none of my members said anything about broken download yet. I'm wondering where all the other 6,000+ files go?

Please advise. Thanks in advance.