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.
The MOD is completing my link field with http:// how can I stop this to links elsewhere e.g. FTP or a link in a LAN?
It should be ok for FTP. When it contains "ftp://", no "http://" is added.
It's in downloads.php:
PHP Code:
// check for http on beginning of link or d/l won't work
if (strpos($newfilename, "http://") === false AND strpos($newfilename, "https://") === false AND strpos($newfilename, "ftp://") === false)
{
$newfilename = "http://".$newfilename;
}
Remove it if you don't want anything added. Or add an extra condition to it.
Quote:
Originally Posted by Opus4
Is there a way to have files from excluded categories hidden from places such as the list of Latest Files? I am trying to create a hidden category, but the files in that category are still visible in other places -- the users can't download the files, but it is still visible so the category isn't really private. I've searched this topic & saw this mentioned before, but if there is a solution, I didn't see it.
It's on my todo list, but I'm only updating the vB4 version.
// check for http on beginning of link or d/l won't work
if (strpos($newfilename, "http://") === false AND strpos($newfilename, "https://") === false AND strpos($newfilename, "ftp://") === false)
{
$newfilename = "http://".$newfilename;
}
.
Would it be possible by changing the above to remove the "https://" to make the software call the file from an absolute path - thus allowing files to be stored subroot and linked to?
Getting this: Your server is running safe mode. You MUST manually create a folder named dl_tmp under your downloads folder. Be sure to change the permissions to 777. Made the new folder and changed the permissions, but it still shows the same thing. Any idea how to fix?
Er edit: this is for vb4 just saw you were posting in this thread and not the other.
Would it be possible by changing the above to remove the "https://" to make the software call the file from an absolute path - thus allowing files to be stored subroot and linked to?
Paths outside the vB folder aren't supported at the moment.
Quote:
Originally Posted by j1mmy
Is it possible to move mass move files from one category to another? Or files from the root, to a sub-category?
Also, it is saying that there are a certain number of files in a cateogry, when in fact there is nothing in that category?
1. Yes, you can do this with Manage Files (though not in 1 move, unless you change the "files per page" setting to a very high one). And when you delete categories it is asked to you to move the files (or to delete them).
2. Click the "Update Counters" button in Manage Files to fix it.