Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
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
  #1912  
Old 04-10-2012, 05:03 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hyperspin View Post
Also, seeing this error when trying to import files.

Warning: Invalid argument supplied for foreach() in [path]/admincp/downloads2.php on line 785

I'm not a coder, so I have no idea what this means or how to correct it, but line 785 of /admincp/downloads2.php shows the following:

foreach ($_POST['import'] AS $file => $null)
What that means is that what is in $_POST['import'] is not an array so you cannot apply a foreach to it. In order to eliminate the warning, which actually has no impact on anything, is to check if $_POST['import'] is actually an array, by wrapping the foreach in an if statement that checks if the variable is an array.

E.G.

PHP Code:
if(is_array($_POST['import'])) {
    foreach (
$_POST['import'] AS $file => $null){
        
//content of the foreach loop is here and unchanged
    
}

Does this happen for all imports or only some of them? If all imports then it might be a bug in the code. If some, then it might be that parameters are not being passed correctly when the import button is clicked.
Reply With Quote
  #1913  
Old 04-10-2012, 06:27 PM
hyperspin hyperspin is offline
 
Join Date: Jun 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
What that means is that what is in $_POST['import'] is not an array so you cannot apply a foreach to it. In order to eliminate the warning, which actually has no impact on anything, is to check if $_POST['import'] is actually an array, by wrapping the foreach in an if statement that checks if the variable is an array.

E.G.

PHP Code:
if(is_array($_POST['import'])) {
    foreach (
$_POST['import'] AS $file => $null){
        
//content of the foreach loop is here and unchanged
    
}

Does this happen for all imports or only some of them? If all imports then it might be a bug in the code. If some, then it might be that parameters are not being passed correctly when the import button is clicked.
Thanks for this, but I figured it out... For somereason my screen wasn't showing the select box located at the end of each of the imported files. You must select what files from the import list you want to import. Since I wasn't seeing the check boxes I wasn't selecting one. Once I was able to see the boxes and select one the error went away.

One more suggestion for this would be a Moderator CP module so mods can maintain the sections/categories.
Reply With Quote
  #1914  
Old 04-10-2012, 07:00 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Technically that's still a bug as you should get a message that you haven't selected any files to import.
Reply With Quote
  #1915  
Old 04-12-2012, 04:28 AM
Crotan's Avatar
Crotan Crotan is offline
 
Join Date: Feb 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, I wish it would enable youtube videos inline using the video tags like the ckeditor would do for a normal post, anyone got a fix for this?
Reply With Quote
  #1916  
Old 04-12-2012, 01:57 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As long as you have appropriate bbcode on your forums it should work automatically. I've tried in on my 4.1.10 install and [youtube]XXX[/youtube] displays a youtube video just fine.
Reply With Quote
  #1917  
Old 04-12-2012, 03:03 PM
Crotan's Avatar
Crotan Crotan is offline
 
Join Date: Feb 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
As long as you have appropriate bbcode on your forums it should work automatically. I've tried in on my 4.1.10 install and [youtube]XXX[/youtube] displays a youtube video just fine.
Really? The Ckeditor uses VIDEO tags because really there's more than just youtube that it deals with.

Say I have a youtube video posted into a download description with
Code:
[VIDEO]http://youtu.be/sh9Vt-pcgrE?hd=1[/VIDEO]
it will appear in the actual description as just:
Code:
http://youtu.be/sh9Vt-pcgrE?hd=1
However, when the downloads post addon grabs the description and makes a thread it will see the video tags and correctly embed the video as intended.

Which makes me think Downloads II is missing something
Reply With Quote
  #1918  
Old 04-12-2012, 06:14 PM
angkor408's Avatar
angkor408 angkor408 is offline
 
Join Date: Jul 2006
Location: California
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, for some reason when I login as "Guest" I cannot see the new file when member upload. I was able to see when I login. I checked under User Group Permission for Un-Register User "Can View Files" set to YES.

Is there other permission I have to enable?

Thx
Angkor


http://www.khmerclub.com/downloads.php?do=cat&id=2
Reply With Quote
  #1919  
Old 04-12-2012, 06:38 PM
angkor408's Avatar
angkor408 angkor408 is offline
 
Join Date: Jul 2006
Location: California
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I currently have download version 6.05. Is it possible to upgrade to 6.09 without wipe off any setting?

Thx
Angkor
Reply With Quote
  #1920  
Old 04-14-2012, 08:58 PM
210665 210665 is offline
 
Join Date: Feb 2009
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello
I come here not to import the

"Directory
Absolute path to the download directory.
The absolute path to this script is / html / vb / admincp /
Include a trailing slash. "

what do I enter here??
Reply With Quote
  #1921  
Old 04-16-2012, 01:05 PM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why do I get a data base error on my main Forum page after un-installing this xml?

Quote:
Database error in vBulletin 4.1.3:

Invalid SQL:
SELECT id, name FROM vb4_dl2_categories;

MySQL Error : Table 'xxxx_vb4.vb4_dl2_categories' doesn't exist
Error Number : 1146
Request Date : Monday, April 16th 2012 @ 08:50:40 AM
Error Date : Monday, April 16th 2012 @ 08:50:41 AM
Script : /www.xxxx.com/forum.php
Referrer : www.xxx.com/admincp/index.php?do=head
IP Address : xxxxxxxx
Username : xxxxxx
Classname : vB_Database
MySQL Version : 5.0.95-community-log
I want to take this mod out but I can't.
Anyone else had this problem and how did you un-install this product?
Reply With Quote
Reply

Thread Tools

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 07:49 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.06953 seconds
  • Memory Usage 2,382KB
  • Queries Executed 26 (?)
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_code
  • (2)bbcode_php
  • (4)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
  • (4)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_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