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
  #1042  
Old 11-08-2010, 12:14 PM
grahamsmythe grahamsmythe is offline
 
Join Date: Apr 2007
Location: Kent, United Kingdom
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, but keep getting a database error.

Uploaded files upload OK, but instead of a confirmation screen, we get a database error.

Any ideas?

Database error in vBulletin 4.0.8:

Invalid SQL:
SELECT downloadsIIforumid FROM dl2_main WHERE 1=1;

MySQL Error : Unknown column 'downloadsIIforumid' in 'field list'
Error Number : 1054
Request Date : Monday, November 8th 2010 @ 07:10:58 AM
Error Date : Monday, November 8th 2010 @ 07:10:58 AM
Script : http://www.ourdomainname.co.uk/downloads.php?do=add
Referrer : http://www.ourdomainname/downloads.php?do=add&cat=17
Username : username
Classname : vB_Database
MySQL Version : 5.1.42
Reply With Quote
  #1043  
Old 11-08-2010, 02:36 PM
stationar stationar is offline
 
Join Date: May 2007
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have this mode installed? DownloadsII Create New Thread Add-On [vB4]
Looks like it is trying to create a thread in the forum.
Reply With Quote
  #1044  
Old 11-08-2010, 02:41 PM
grahamsmythe grahamsmythe is offline
 
Join Date: Apr 2007
Location: Kent, United Kingdom
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stationar View Post
Do you have this mode installed? DownloadsII Create New Thread Add-On [vB4]
Looks like it is trying to create a thread in the forum.
yes, I do have it installed.

I'll check that out.

Thanks for your help.
Reply With Quote
  #1045  
Old 11-08-2010, 10:04 PM
stationar stationar is offline
 
Join Date: May 2007
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just try to re-install it.
Reply With Quote
  #1046  
Old 11-09-2010, 10:11 AM
Semlyen IT Semlyen IT is offline
 
Join Date: Sep 2010
Location: York (UK)
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this a bug?

Once a user has uploaded a file, they're redirected to the page for that file (downloads.php?do=file&id=xx).

But if the file has to be moderated, the user can't view this page. So they get a "You don't have permissions to view this page" error page. Which is confusing for the users who will assume that the upload hasn't worked.

EDIT: At the risk of seeming a little hack-happy I fixed this by changing line 1645 in download.php from

Code:
$vbulletin->url = 'downloads.php?' . $vbulletin->session->vars['sessionurl'] . "do=file&id=$id";
to:

Code:
$vbulletin->url = 'downloads.php?' . $vbulletin->session->vars['sessionurl'];
Reply With Quote
  #1047  
Old 11-09-2010, 07:10 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Montecristo View Post
RS_Jell, I have found a bug.

I set in the group so that users can not delete your uploaded files and the same appears to them that option.

Any idea?
Good catch, pretty strange I really missed that permission check
This will be fixed in the next release.

Quote:
Originally Posted by Nadeemjp View Post
hi Jelle
I am running vb4.0.8 the latest version.
I have always uploaded files and never tried to download.
A couple of days ago I tried to download one of my own files and i came accross the following errors:


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@familybunker.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.familybunker.com Port 80


i tried downloading all the files and every file gives this error.
any particular reason why this is happening?
This is a server specific error. Internal server errors are mostly caused by invalid .htaccess contents.

Quote:
Originally Posted by Smiler2009 View Post
I need to be able to filter the download categories based on additional usergroups, not just primary, is this being worked on for a future update?

Jeff.
I'm already looking into additional usergroups

Quote:
Originally Posted by Semlyen IT View Post
Is this a bug?

Once a user has uploaded a file, they're redirected to the page for that file (downloads.php?do=file&id=xx).

But if the file has to be moderated, the user can't view this page. So they get a "You don't have permissions to view this page" error page. Which is confusing for the users who will assume that the upload hasn't worked.

EDIT: At the risk of seeming a little hack-happy I fixed this by changing line 1645 in download.php from

Code:
$vbulletin->url = 'downloads.php?' . $vbulletin->session->vars['sessionurl'] . "do=file&id=$id";
to:

Code:
$vbulletin->url = 'downloads.php?' . $vbulletin->session->vars['sessionurl'];
I see you are running 6.0.5, just upgrade to 6.0.6 as it's fixed in it (in another way)
Reply With Quote
  #1048  
Old 11-10-2010, 01:21 PM
Jackie1 Jackie1 is offline
 
Join Date: Sep 2007
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i clear database downloads and add another one new ?
i mean i dont know how to update count
Reply With Quote
  #1049  
Old 11-10-2010, 04:57 PM
stationar stationar is offline
 
Join Date: May 2007
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To reset the counter, you set downloads field in dl2_main table to 0.
Also clear the dl2_downloads table.
Backup the database before manually tweaking it.
Reply With Quote
  #1050  
Old 11-11-2010, 09:30 PM
Greeksgal Greeksgal is offline
 
Join Date: Jul 2006
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting a atabase error after upgrading to 4.0.8

Code:
Database error in vBulletin 4.0.8:

Invalid SQL:
SELECT * FROM *****dl2_files ORDER BY dateadded DESC LIMIT;

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number  : 1064
Request Date  : Thursday, November 11th 2010 @ 05:21:53 PM
Error Date    : Thursday, November 11th 2010 @ 05:21:53 PM
Script        : http://www.*********/forum.php
Referrer      : http://www.*************
IP Address    : *******
Username      : *****
Classname     : vB_Database
MySQL Version : 5.0.91-community
The dl2_files is a Downloads II table. Any idea what I can do to rectify this without uninstalling the plugin? All hooks are disabled via the config yet this error suggests that the plugin is still running?

If I uninstall this mod I will lose all my files, comments, download threads, yes? My forum is not working because of this error and I don't know what to do. I upgraded the files to the 4.0.8 compatiable version.
Reply With Quote
  #1051  
Old 11-12-2010, 06:34 AM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Greeksgal View Post
I'm getting a atabase error after upgrading to 4.0.8

Code:
Database error in vBulletin 4.0.8:

Invalid SQL:
SELECT * FROM *****dl2_files ORDER BY dateadded DESC LIMIT;

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number  : 1064
Request Date  : Thursday, November 11th 2010 @ 05:21:53 PM
Error Date    : Thursday, November 11th 2010 @ 05:21:53 PM
Script        : http://www.*********/forum.php
Referrer      : http://www.*************
IP Address    : *******
Username      : *****
Classname     : vB_Database
MySQL Version : 5.0.91-community
The dl2_files is a Downloads II table. Any idea what I can do to rectify this without uninstalling the plugin? All hooks are disabled via the config yet this error suggests that the plugin is still running?

If I uninstall this mod I will lose all my files, comments, download threads, yes? My forum is not working because of this error and I don't know what to do. I upgraded the files to the 4.0.8 compatiable version.
That's not caused by DownloadsII itself:
DownloadsII hasn't got any plugins in the forum index. I guess you are using the unofficial "Forum block - latest files from downloads II" add-on or something like that.

Strange query though, without any limits.
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 12:15 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.07323 seconds
  • Memory Usage 2,391KB
  • 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
  • (7)bbcode_code
  • (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
  • (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