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

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

Category: Major Additions - Version: 4.0.4 Rating:
Released: 12-27-2009 Last Update: 12-01-2011 Installs: 1648
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

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

File Type: zip DownloadsII-6.0.9 vB 4.zip (506.6 KB, 4455 views)

Screenshots

File Type: jpg DownloadsII_v6_Main.jpg (74.2 KB, 0 views)
File Type: jpg DownloadsII_v6_Category.jpg (96.7 KB, 0 views)
File Type: jpg DownloadsII_v6_File.jpg (75.3 KB, 0 views)
File Type: jpg DownloadsII_v6_Add_File.jpg (58.3 KB, 0 views)
File Type: jpg DownloadsII_v6_Search.jpg (72.2 KB, 0 views)
File Type: jpg DownloadsII_v6_AdminCP_Settings.jpg (84.3 KB, 0 views)
File Type: jpg DownloadsII_v6_AdminCP_Categories.jpg (62.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #652  
Old 04-25-2010, 01:13 PM
mp4sverige mp4sverige is offline
 
Join Date: Feb 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #653  
Old 04-25-2010, 01:31 PM
SeToY SeToY is offline
 
Join Date: Dec 2009
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Quote:
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).

Quote:
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.
Reply With Quote
  #655  
Old 04-25-2010, 01:35 PM
mp4sverige mp4sverige is offline
 
Join Date: Feb 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

Quote:
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
  #656  
Old 04-25-2010, 02:18 PM
entertain entertain is offline
 
Join Date: May 2007
Location: Bavaria
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@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)
PHP Code:
    else if ($file['modqueue'] == AND !($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canmanagemodqueue'])) 
change into
PHP Code:
    else if ($file['modqueue'] == AND ($file['uploaderid'] !== $vbulletin->userinfo['userid']) AND !($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canmanagemodqueue'])) 
(3) What happened to the "My Files" Page? Why was it removed?

Thanks for your answer!
Reply With Quote
  #657  
Old 04-25-2010, 03:13 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.

Quote:
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)
PHP Code:
    else if ($file['modqueue'] == AND !($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canmanagemodqueue'])) 
change into
PHP Code:
    else if ($file['modqueue'] == AND ($file['uploaderid'] !== $vbulletin->userinfo['userid']) AND !($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canmanagemodqueue'])) 
(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.).
Reply With Quote
  #658  
Old 04-25-2010, 04:03 PM
mp4sverige mp4sverige is offline
 
Join Date: Feb 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #659  
Old 04-25-2010, 10:29 PM
lyricidal lyricidal is offline
 
Join Date: Feb 2010
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #660  
Old 04-26-2010, 02:41 AM
Nadeemjp Nadeemjp is offline
 
Join Date: Aug 2008
Location: Japan
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #661  
Old 04-26-2010, 07:50 AM
smstoolbox smstoolbox is offline
 
Join Date: Feb 2010
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When setting usergroup permissions to view certain categories, how do you know what number each category is??
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 10:34 PM.


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.07836 seconds
  • Memory Usage 2,396KB
  • Queries Executed 28 (?)
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
  • (4)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
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (24)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
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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