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.
Because a lot of people keep on asking this: This mod works with any version of vBulletin 3.7.x and 3.8.x!
It's also coded 100% XHTML 1.0 Transitional valid, just like vBulletin itself.
Instructions & Support
You can find an installation manual in the zip package (Readme-Install.txt).
We try to answer most questions asked in this thread. Please don't send any pm's if we don't ask for them, as we said we try to give a high level of support in this thread. 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 6 screenshots of the front-end and back-end (AdminCP part) of the DownloadsII software. You can see the newest version in action at the Minatica.be Downloads (Dutch).
Changelog (version 5.1.2)
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
You can find all the changelogs of this and older versions here.
Help!!! I can't upload large files??
This is probably the second most asked question. Have a look at this post for the solution.
It doesn't work with GARS?!
If you also use the latest version of GARS, you will get the "Fields marked in RED must be filled in!" error when uploading a file. I provided a fix here on the GARS forums.
Addons
We are offering 3 addons for this mod at the moment (have a look at the bottom of this post for them). DownloadsII contains 5 hook locations for the vBulletin plugin systems, so you can add extra functionality without file edits.
Do you want to help expanding DownloadsII (if you are a coder)? Check out this post!
Notes
ecDownloads Buddy is NOT compatible with this version. If you are using the Buddy, you should UNINSTALL it before installing DownloadsII ver 5.x.x. The Buddy's features are now integrated into DownloadsII.
DownloadsII is a direct derivative work from Ron1n's ecDownloads.
Westpointer would u please tell me how to upgrade my downloads.php to this version manually ? cause i had modified my downloads.php
LOL ... I can't right now because my laptop crashed and I don't currently have access to the old version of downloads.php. Just upload the new version as downloads-new.php or something like that and do a diff on them.
From the page downloads.php?do=add&cat=, you fill in the requested information about the file then place the url to the file in the box that reads "Link to a File". You would leave "Upload a File" blank.
Ah I hadn't noticed that. Thanks for your time & effort, greatly appreciated.
Westpointer would u please tell me how to upgrade my downloads.php to this version manually ? cause i had modified my downloads.php
if you post your downloads.php file in about a hour or so as soon as i finish my stuff ill do beyond compare and do the changes for you... or else grab the free 30 day trial of beyond compare and look at both files
if you post your downloads.php file in about a hour or so as soon as i finish my stuff ill do beyond compare and do the changes for you... or else grab the free 30 day trial of beyond compare and look at both files
If you want to be sure to keep your changes, getting something like beyond compare is a good idea. Once we give everyone a chance to get this secure version installed, the changes will be big and I won't post this kind of info.
For now, here they are from Ron1n's last version. I realized I didn't really need his file.
FIND:
PHP Code:
if ($file['link'] == 0)
BELOW that ADD:
PHP Code:
// clean out temp folders
if ($handle1 = opendir($dl->url))
{
while (false !== ($filedir1 = readdir($handle1)))
{
if (is_dir($dl->url.$filedir1) && strpos($filedir1, "ec_") === 0)
{
if ($handle2 = opendir($dl->url.$filedir1))
{
while (false !== ($filedir2 = readdir($handle2)))
{
if ($filedir2 != "." && $filedir2 != "..")
{
unlink($dl->url.$filedir1."/".$filedir2);
}
}
}
rmdir($dl->url.$filedir1);
closedir($handle2);
}
}
closedir($handle1);
}
FIND:
PHP Code:
if ($_POST['submit'] != '')
{
// EC_DEMO_MODE
if ($dl->ec_demo_mode())
{
eval(standard_error(fetch_error('ec_demo_mode')));
}
// EC_DEMO_MODE
I think there were two. Shame that vb.org can't let us see the dag-gone posts without the mod being downloadable. I will dig through it again and will have to get back to you. Might take a while as I have to sift through a desk full of papers in the hopes my wife did not throw it away!