Version: 6.0.9, by RS_Jelle
Developer Last Online: May 2016
Category: Major Additions -
Version: 4.0.4
Rating:
Released: 12-27-2009
Last Update: 12-01-2011
Installs: 1648
DB Changes Uses Plugins Auto-Templates
Additional Files
No support by the author.
DownloadsII
DownloadsII is a download database that integrates into vBulletin. It allows you to upload files, add images to them, create categories, link to external files - and more. It is very flexible and has many options.
It's also coded 100% XHTML 1.0 Transitional valid, just like vBulletin itself.
Instructions & Support
Requires vBulletin 4.0.4 or higher. Not fully compatible with lower vB 4 versions.
It works fine with both the new editor in vB 4.1.4 or higher and the old one in previous vB versions.
Read the instructions in the next two posts before installing/upgrading this mod!
You can find an installation/upgrade manual in the zip package (Readme.txt).
I try to answer most questions asked in this thread. Please don't send any pm's if I don't ask for them. Don't forget to click the install link, so you will receive important update notifications.
Screenshots & Live demo
At the bottom of this post, you can find some screenshots of the front-end and back-end (AdminCP part) of the DownloadsII software.
You can find a live demo on my own site: Minatica.be Downloads (Dutch).
Though keep in mind that we are running a restyled and modified version of it.
Changelog (version 6.0.9)
Jelle
Added support for vB 4.1.8 bit processing with 'each' construct (backwards compatible)
Fixed comma listing for vB 4.1.8 (using "old" method)
Older changelogs are included in the zip package.
Help!!! I can't upload large files??
This is probably the most asked question. It's mostly caused by some default PHP settings: check "PHP Max Post Size" and "PHP Maximum Upload Size" at your AdminCP home.
Then have a look at this post for the solution to up these values.
Also have a look at this post at vB.com (but ignore the MySQL part as DownloadsII is only using the file system).
Add-ons
There are currently no official add-ons. Unofficial add-ons are listed below.
Yesterday I updated this module to 6.0.6 (from 6.0.5) on my website and now uploads will not function correctly.
I'm running vB 4.0.8.
When uploading files of ANY size we now get the following error message.
Quote:
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/php8LYJxE' to './downloads/89997-Driving_Redefined.pdf' in [path]/downloads.php on line 1588
It looks like "Security Token" issue is more vBulletin problem, not DownloadsII. Correct me if I am wrong.
So far I commented out the following code in downloads.php. It disables the time limit feature, but allows to download.
PHP Code:
if (!verify_security_token($vbulletin->GPC['actionhash'], $vbulletin->userinfo['securitytoken_raw']))
{
eval(standard_error(fetch_error('security_token_invalid', $vbulletin->options['contactuslink'])));
}
Thanks for the update! I've been testing this mod for a while and would love to use it and $ contribute but I'm having the same issues a Bobbo. Is there a work around like Bobbo suggests? Please send me a PM for the best way to $ contribute to this Mod.
Thanks! David
I'm investigating the secundary usergroups
Quote:
Originally Posted by Montecristo
No added author column?
What I have to edit that template to display the author?
It's a bit difficult to add all data in the limited category view. There's also the file rating for example.
Other people wanting the files' author to be there by default?
Quote:
Originally Posted by KPalicz
This may be a dumb question, but the instructions say how to install the mod if it is a new install, and how to upgrade from version 5, but no instructions on how to upgrade from a previous version of version 6. Help?
The instructions say "First time installation / Normal Upgrade" as both are pretty much the same: upload/overwrite the files on your FTP and import the product XML
Quote:
Originally Posted by Hippy
the old tab is with in the new tab..
screenshot attached
firefox and IE8
That's strange as the fix is working fine on my test site. Did you import the 6.0.6 product file with the overwrite option set to yes?
Any other people with profile tab issues after the upgrade?
I got this weird problem..
when i upload an image for a download i get a white screen..
the image is uploaded to the server (i can see with ftp) but the image will not be attached as an image for the download..
any idea?
That means the database query which is inserting the image data didn't ran any more after the upload. Check your PHP and MySQL timeout settings. PHP or MySQL could time out if it's a big file/image.
Quote:
Originally Posted by djrichards
Yesterday I updated this module to 6.0.6 (from 6.0.5) on my website and now uploads will not function correctly.
I'm running vB 4.0.8.
When uploading files of ANY size we now get the following error message.
Any idea what's going on here?
Thanks.
That's strange as there aren't any changes to the upload code. Check your downloads folder and its chmod.
Quote:
Originally Posted by stationar
It looks like "Security Token" issue is more vBulletin problem, not DownloadsII. Correct me if I am wrong.
So far I commented out the following code in downloads.php. It disables the time limit feature, but allows to download.
PHP Code:
if (!verify_security_token($vbulletin->GPC['actionhash'], $vbulletin->userinfo['securitytoken_raw']))
{
eval(standard_error(fetch_error('security_token_invalid', $vbulletin->options['contactuslink'])));
}
The guest download security token error after logging in is a bit a design issue. Removing that code (only the first instance, not the other ones!!) fixes it indeed, but then you have a CSRF "security" issue, though it's not really that worse. Only if you limit downloads it could possibly be an issue.
I commented out only first instance. The others are in place. I noticed that they prevent moderators from removing files. Maybe some other undiscovered issues. Can you expain how this security token works, and where should I look for the problem?
Could this cause the "Invalid security token" issue? In previous versions there was no security token verification. Can I safely comment out all parts of the code that represent this fix? My moderators can't moderate approve or delete files at all.