Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
DownloadsII Details »»
DownloadsII
Mod Version: 6.0.9, by RS_Jelle (Coder) RS_Jelle is offline
Developer Last Online: May 2013 I like it Show Printable Version Email this Page

vB Version: 4.0.4 Rating: (361 votes - 4.71 average) Installs: 1595
Released: 28 Dec 2009 Last Update: 02 Dec 2011 Downloads: 9766
Supported DB Changes Uses Plugins Auto-Template Additional Files  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Screenshots

Click image for larger version

Name:	DownloadsII_v6_Main.jpg
Views:	9636
Size:	74.2 KB
ID:	108404Click image for larger version

Name:	DownloadsII_v6_Category.jpg
Views:	8662
Size:	96.7 KB
ID:	108405Click image for larger version

Name:	DownloadsII_v6_File.jpg
Views:	8387
Size:	75.3 KB
ID:	108406Click image for larger version

Name:	DownloadsII_v6_Add_File.jpg
Views:	5082
Size:	58.3 KB
ID:	108407Click image for larger version

Name:	DownloadsII_v6_Search.jpg
Views:	4980
Size:	72.2 KB
ID:	108409Click image for larger version

Name:	DownloadsII_v6_AdminCP_Settings.jpg
Views:	4669
Size:	84.3 KB
ID:	108410Click image for larger version

Name:	DownloadsII_v6_AdminCP_Categories.jpg
Views:	3867
Size:	62.9 KB
ID:	108411

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
DownloadsII RS_Jelle vBulletin 3.8 Add-ons 4342 09 May 2013 12:40
DownloadsII ver 5.0 vbAdvanced Add-On CyberRanger vBulletin 3.6 Add-ons 159 01 Jul 2011 18:15

  #646  
Old 25 Apr 2010, 13:32
RS_Jelle's Avatar
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Originally Posted by gruftiradio View Post
Hm, not in the navbar... perhaps you want an admin account via pm and the forumsadress? But it's in german...
I can passively understand German, so no problem

Originally Posted by guvner View Post
So I guess that leaves me with 2 questions.

1. What would cause a file to need moderating and how do I manage that?
2. Can I be notified if/when a file needs approval (assuming I can't figure out why) because otherwise it'll mean having to spend time every day checking the new uploads which I really don't want to do.
1. There's a "Can avoid moderation queue" usergroup permission. A file needs approval (by a user having the "Can manage moderation queue" permission) when it's set to No.
2. There was a pm notification mod for the vB 3 version, but it isn't ported yet to vB 4.

Originally Posted by irantk View Post
can i convert all vbulletin attachment to this system?
No, currently there's no integration with vB's attachment system/asset manager.

Originally Posted by TableSpoon View Post
The delete function checks no session or anything, so via CSRF, anyone can delete any file...

More details here.
Thanks a lot for reporting. I just released a new version.
You were probably inspired by the "Mark Forums Read" CSRF fix in vB 4.0.3?
http://www.vbulletin.com/forum/proje...?issueid=32785

Originally Posted by mp4sverige View Post
My AdminCP home still displays:

PHP Max Post Size 8.00 MB
PHP Maximum Upload Size 2.00 MB

Do i need to do anything else?
Are you on a shared server? Your hosting company could block this because of the server load.

Otherwise there's something wrong with it: you need to restart Apache after editing your php.ini, the .htaccess could be placed in a wrong folder (or it could have a wrong name, some people save it as .htaccess.txt for example), ...

So the best thing to do if it won't work, is contacting the support of your hosting company.
__________________
Now released: DownloadsII 6.0.9 (for vB 4.x) and 5.1.2 (for vB 3.7.x and 3.8.x)
Minatica.be - Belgian/Dutch computer and technology site
Reply With Quote
  #647  
Old 25 Apr 2010, 13:40
SeToY SeToY is offline
 
Join Date: Dec 2009
What's meant with "Added permission check for Update Counters"?
Reply With Quote
  #648  
Old 25 Apr 2010, 13:45
RS_Jelle's Avatar
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Originally Posted by SeToY View Post
What's meant with "Added permission check for Update Counters"?
The update counters code was placed before the manage files permission check instead of after it. So everybody could run it if they knew the url. It could do no harm, but now it's fixed
__________________
Now released: DownloadsII 6.0.9 (for vB 4.x) and 5.1.2 (for vB 3.7.x and 3.8.x)
Minatica.be - Belgian/Dutch computer and technology site
Reply With Quote
  #649  
Old 25 Apr 2010, 13:52
Doctor Death Doctor Death is offline
 
Join Date: Jan 2006
I get this message:

The file(s) uploaded were too large to process.
I have that particular file type with a very large max size.... How can I make this work?

Thanks!
Reply With Quote
  #650  
Old 25 Apr 2010, 13:57
RS_Jelle's Avatar
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Originally Posted by Doctor Death View Post
I get this message:



I have that particular file type with a very large max size.... How can I make this work?

Thanks!
Read the first post (the "Help!!! I can't upload large files??" part)
__________________
Now released: DownloadsII 6.0.9 (for vB 4.x) and 5.1.2 (for vB 3.7.x and 3.8.x)
Minatica.be - Belgian/Dutch computer and technology site
Reply With Quote
  #651  
Old 25 Apr 2010, 14:13
mp4sverige mp4sverige is offline
 
Join Date: Feb 2007
Yes im on shared host, and it looks like im not allowed to use these settings in .htaccess

# File modified on Sun Apr 25 07:42:20 2010 by server
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value upload_max_filesize 30M
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value post_max_size 30M

how to restart a server after editing php.ini on a shared host?
Btw im on Hostmonster, and i have edited php.ini before to inscreese upload limit before for Drupal and that worked fine.

Thanks for great support and mod.
Reply With Quote
  #652  
Old 25 Apr 2010, 14:31
SeToY SeToY is offline
 
Join Date: Dec 2009
Originally Posted by RS_Jelle View Post
The update counters code was placed before the manage files permission check instead of after it. So everybody could run it if they knew the url. It could do no harm, but now it's fixed
Ah okay, so when somebody tried to download a file but had no permission, the Counter was set +1, but the user got the "No Permission"-Message?
Reply With Quote
  #653  
Old 25 Apr 2010, 14:31
RS_Jelle's Avatar
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Originally Posted by mp4sverige View Post
Yes im on shared host, and it looks like im not allowed to use these settings in .htaccess

# File modified on Sun Apr 25 07:42:20 2010 by server
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value upload_max_filesize 30M
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value post_max_size 30M

how to restart a server after editing php.ini on a shared host?
Btw im on Hostmonster, and i have edited php.ini before to inscreese upload limit before for Drupal and that worked fine.

Thanks for great support and mod.
It's possible that it works without restarting as they probably use a virtual php.ini on a shared hosting environment. You only need to remove the # in front of the lines (otherwise they are commented out) and remove their php_value prefix (which is only needed in a .htaccess).

Originally Posted by SeToY View Post
Ah okay, so when somebody tried to download a file but had no permission, the Counter was set +1, but the user got the "No Permission"-Message?
No, they could run the Update Counters functionality to recount all stats. That's all.
__________________
Now released: DownloadsII 6.0.9 (for vB 4.x) and 5.1.2 (for vB 3.7.x and 3.8.x)
Minatica.be - Belgian/Dutch computer and technology site
Reply With Quote
  #654  
Old 25 Apr 2010, 14:35
mp4sverige mp4sverige is offline
 
Join Date: Feb 2007
The values where commented out automatuclly by server after adding the vaules:

php_value upload_max_filesize 30M
php_value post_max_size 30M

New problem, when uploading an gif image to i get following error:

The following errors occurred when this file was submitted:
You may only upload or link to the following extensions:
I have added gif and rar under Extensions in option.
Uploading rar file works fine.

PS. have you received my PM?
Reply With Quote
  #655  
Old 25 Apr 2010, 15:18
entertain entertain is offline
 
Join Date: May 2007
@Jelle:
(1) Did you see that you can search files by entering 1 letter? This is the death for some servers.

(2) Users who upload a files (that have to be approved) are redirected to the unapproved file and get "no permissions" message.

Quick fix might be:
downloads.php (around line 400)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

change into

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(3) What happened to the "My Files" Page? Why was it removed?

Thanks for your answer!
Reply With Quote
  #656  
Old 25 Apr 2010, 16:13
RS_Jelle's Avatar
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Originally Posted by mp4sverige View Post
New problem, when uploading an gif image to i get following error:



I have added gif and rar under Extensions in option.
Uploading rar file works fine.

PS. have you received my PM?
1) You need to correctly set the "Extension Usage" option of the extension. There's a difference between file (= allowed extension when adding files), image (= allowed image extension for adding images to a file afterwards) and both.

2) I have replied to it. No need to build a mod for that.

Originally Posted by entertain View Post
@Jelle:
(1) Did you see that you can search files by entering 1 letter? This is the death for some servers.

(2) Users who upload a files (that have to be approved) are redirected to the unapproved file and get "no permissions" message.

Quick fix might be:
downloads.php (around line 400)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

change into

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(3) What happened to the "My Files" Page? Why was it removed?

Thanks for your answer!
1) + 2) I've added both things to the todo list. Should be fixed in the next release. Thanks for reporting

3) It's now integrated in the more advanced search (you can search for uploader etc.).
__________________
Now released: DownloadsII 6.0.9 (for vB 4.x) and 5.1.2 (for vB 3.7.x and 3.8.x)
Minatica.be - Belgian/Dutch computer and technology site
Reply With Quote
  #657  
Old 25 Apr 2010, 17:03
mp4sverige mp4sverige is offline
 
Join Date: Feb 2007
I copied values from the extensions settings on attachemnt extensions settings.
Should they be set differently for image files?



I get and empty error when adding an image file?



Update, i found the problem. I didnt set the corrent value for Usage of this extension
It works fine now.

Thanks again.
Reply With Quote
  #658  
Old 25 Apr 2010, 23:29
lyricidal lyricidal is offline
 
Join Date: Feb 2010
is it at all possible to remove/or even add a setting for the &actionhash=** even if just for the &act=down, as we post our links with the "&act=down" for quicker access to downloading the files but now that show's a security error

"Your submission could not be processed because a security token was invalid.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error."

I also tried to remove it in the style, but that caused it not to work at all

any possibilities for this?

excellent add-on btw, as you already know
Reply With Quote
  #659  
Old 26 Apr 2010, 03:41
Nadeemjp Nadeemjp is offline
 
Join Date: Aug 2008
Real name: Nadeem Qadir
i have an error by upgrading:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: downloads_navbar_button in [path]/includes/functions.php on line 3957
__________________
Family Bunker
Reply With Quote
  #660  
Old 26 Apr 2010, 08:50
smstoolbox smstoolbox is offline
 
Join Date: Feb 2010
When setting usergroup permissions to view certain categories, how do you know what number each category is??
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
828david
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:37.

Layout Options | Width: Wide Color: