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.
I like that also LOL
But I have a photography forum, we post image files and photoshop things so it would be nice to have an sample image of what's being uploaded.
Is that possible?
TIA!
Also is there a way to add in the "Whats going on" section the total number of downloads you have in your download section? like total members = 100 , total posts = 100, total downloads avalible = 100
To grab URL, replace the $statslatestfiles_q with this
PHP Code:
$statslatestfiles_q = $db->query_read("SELECT name, id, url FROM " . TABLE_PREFIX . "dl_files WHERE `purgatory`='0' ORDER BY `date` DESC LIMIT ".$this->statslatestfiles."");
and right below, in the while loop, add (please note I only get the first name of the extension as in my case they are unique. Like f for flv, m for mp3, p for pdf. If yours are not unique, like mp3 or mov both start with "m" then you need the substring method to get full extension name)
PHP Code:
$fname=$latest['url'];
$ficon=$fname{strlen($fname)-3};
if ($ficon=='f'){$icon="<img src="/forums/images/icons/icon_video.gif" alt="video">";}else if ($ficon=='m'){$icon="<img src="/forums/images/music.png" alt="mp3">";}else{$icon="";}
do the similar for the function function update_popular_files()
SELECT `id`,`name`,`downloads`,`url`
then add $icon in template
I did some more nifty tricks with downloads, like allowing people to pick and choose songs to add to a playlist (icon changes to "remove" if they were added, then play all of them.
Also is there a way to add in the "Whats going on" section the total number of downloads you have in your download section? like total members = 100 , total posts = 100, total downloads avalible = 100
total downloads available should be very easy. I don't have time do do the plugin but I could post some code that I am using for something else that read how many files of certain defined extensions there are in folder. I do this for another folder somewhere else with a vbadvanced module.