Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DownloadsII Details »»
DownloadsII
Version: 5.1.2, by RS_Jelle RS_Jelle is offline
Developer Last Online: May 2016 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 07-01-2006 Last Update: 04-24-2010 Installs: 2111
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

There's a vB4 version of this mod available: https://vborg.vbsupport.ru/showthread.php?t=231427

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.

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.

Addons

Download Now

File Type: zip DownloadsII-5.1.2.zip (54.5 KB, 2190 views)

Screenshots

File Type: gif ecDownloadsII-5.0.1-add-file.gif (97.8 KB, 0 views)
File Type: gif ecDownloadsII-5.0.1-admin-edit-category.gif (18.7 KB, 0 views)
File Type: gif ecDownloadsII-5.0.1-admin-navigation.gif (4.6 KB, 0 views)
File Type: gif ecDownloadsII-5.0.1-category.gif (86.8 KB, 0 views)
File Type: gif ecDownloadsII-5.0.1-file.gif (108.2 KB, 1 views)
File Type: gif ecDownloadsII-5.0.1-main.gif (64.3 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
puertoblack2003

Comments
  #1862  
Old 10-30-2007, 06:03 AM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kafi View Post
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
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.

Quote:
Originally Posted by narutorasengan View Post
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
PHP Code:
    if (!in_array($sortfield$sortfields))
    {
        
$sortfield 'date';
    } 
Replace with
PHP Code:
    if (!in_array($sortfield$sortfields))
    {
        
$sortfield 'name';
    } 
Reply With Quote
  #1863  
Old 10-30-2007, 08:15 AM
ntloc's Avatar
ntloc ntloc is offline
 
Join Date: Jul 2004
Location: FFGalaxy.Net
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #1864  
Old 10-31-2007, 03:14 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ntloc View Post
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".
Reply With Quote
  #1865  
Old 10-31-2007, 04:25 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #1866  
Old 10-31-2007, 04:45 PM
unitedbreaks's Avatar
unitedbreaks unitedbreaks is offline
 
Join Date: Aug 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!
Reply With Quote
  #1867  
Old 10-31-2007, 06:31 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Black Tiger View Post
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

Quote:
Originally Posted by unitedbreaks View Post
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!!
  1. 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
  2. You can upload files to a folder on your FTP and use the Import tool in the AdminCP
Reply With Quote
  #1868  
Old 11-01-2007, 12:28 AM
JtChurch925 JtChurch925 is offline
 
Join Date: Sep 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #1869  
Old 11-01-2007, 12:04 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JtChurch925 View Post
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!
  1. You can't use directories on another server or outside the forums directory at the moment.
  2. 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.
  3. DownloadsII is using templates for everything, so adding Google AdSense code is very easy.
Reply With Quote
  #1870  
Old 11-01-2007, 01:51 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #1871  
Old 11-01-2007, 01:52 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:38 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.17081 seconds
  • Memory Usage 2,399KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete