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
  #1012  
Old 10-29-2010, 08:36 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Montecristo View Post
Rs_jell do not know why not answer my messages.

I studied a bit and I managed to do was put the author at the end of the description. If anyone serves me know.

share what you did m8.
I would like to do this as well
Reply With Quote
  #1013  
Old 10-29-2010, 09:21 PM
djrichards djrichards is offline
 
Join Date: Jul 2007
Location: Pascagoula, Mississippi
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yesterday I updated this module to 6.0.6 (from 6.0.5) on my website and now uploads will not function correctly.

I'm running vB 4.0.8.

When uploading files of ANY size we now get the following error message.

Quote:
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/php8LYJxE' to './downloads/89997-Driving_Redefined.pdf' in [path]/downloads.php on line 1588
Any idea what's going on here?

Thanks.
Reply With Quote
  #1014  
Old 10-29-2010, 09:23 PM
Montecristo Montecristo is offline
 
Join Date: Oct 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hippy View Post
share what you did m8.
I would like to do this as well
Ok...

Here it is.

If not properly upload the file let me know.
Attached Files
File Type: php downloads.php (86.0 KB, 13 views)
Reply With Quote
  #1015  
Old 10-30-2010, 01:20 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks will check it out later..
Reply With Quote
  #1016  
Old 10-30-2010, 07:01 PM
stationar stationar is offline
 
Join Date: May 2007
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like "Security Token" issue is more vBulletin problem, not DownloadsII. Correct me if I am wrong.
So far I commented out the following code in downloads.php. It disables the time limit feature, but allows to download.
PHP Code:
if (!verify_security_token($vbulletin->GPC['actionhash'], $vbulletin->userinfo['securitytoken_raw']))
{
eval(
standard_error(fetch_error('security_token_invalid'$vbulletin->options['contactuslink'])));

Reply With Quote
  #1017  
Old 10-31-2010, 06:16 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rfsforums View Post
Thanks for the update! I've been testing this mod for a while and would love to use it and $ contribute but I'm having the same issues a Bobbo. Is there a work around like Bobbo suggests? Please send me a PM for the best way to $ contribute to this Mod.

Thanks! David
I'm investigating the secundary usergroups

Quote:
Originally Posted by Montecristo View Post
No added author column?

What I have to edit that template to display the author?
It's a bit difficult to add all data in the limited category view. There's also the file rating for example.

Other people wanting the files' author to be there by default?

Quote:
Originally Posted by KPalicz View Post
This may be a dumb question, but the instructions say how to install the mod if it is a new install, and how to upgrade from version 5, but no instructions on how to upgrade from a previous version of version 6. Help?
The instructions say "First time installation / Normal Upgrade" as both are pretty much the same: upload/overwrite the files on your FTP and import the product XML

Quote:
Originally Posted by Hippy View Post
the old tab is with in the new tab..

screenshot attached
firefox and IE8
That's strange as the fix is working fine on my test site. Did you import the 6.0.6 product file with the overwrite option set to yes?

Any other people with profile tab issues after the upgrade?
Reply With Quote
  #1018  
Old 10-31-2010, 06:24 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lord Doys View Post
I got this weird problem..
when i upload an image for a download i get a white screen..

the image is uploaded to the server (i can see with ftp) but the image will not be attached as an image for the download..

any idea?
That means the database query which is inserting the image data didn't ran any more after the upload. Check your PHP and MySQL timeout settings. PHP or MySQL could time out if it's a big file/image.

Quote:
Originally Posted by djrichards View Post
Yesterday I updated this module to 6.0.6 (from 6.0.5) on my website and now uploads will not function correctly.

I'm running vB 4.0.8.

When uploading files of ANY size we now get the following error message.



Any idea what's going on here?

Thanks.
That's strange as there aren't any changes to the upload code. Check your downloads folder and its chmod.

Quote:
Originally Posted by stationar View Post
It looks like "Security Token" issue is more vBulletin problem, not DownloadsII. Correct me if I am wrong.
So far I commented out the following code in downloads.php. It disables the time limit feature, but allows to download.
PHP Code:
if (!verify_security_token($vbulletin->GPC['actionhash'], $vbulletin->userinfo['securitytoken_raw']))
{
eval(
standard_error(fetch_error('security_token_invalid'$vbulletin->options['contactuslink'])));

The guest download security token error after logging in is a bit a design issue. Removing that code (only the first instance, not the other ones!!) fixes it indeed, but then you have a CSRF "security" issue, though it's not really that worse. Only if you limit downloads it could possibly be an issue.
Reply With Quote
  #1019  
Old 10-31-2010, 06:53 PM
stationar stationar is offline
 
Join Date: May 2007
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I commented out only first instance. The others are in place. I noticed that they prevent moderators from removing files. Maybe some other undiscovered issues. Can you expain how this security token works, and where should I look for the problem?
Reply With Quote
  #1020  
Old 10-31-2010, 08:10 PM
djrichards djrichards is offline
 
Join Date: Jul 2007
Location: Pascagoula, Mississippi
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RS_Jelle View Post
That's strange as there aren't any changes to the upload code. Check your downloads folder and its chmod.
That's the first thing I checked although I wouldn't have expected that to change with the update. Still set to 777.

Any other ideas? I'd really hate to have to change DL modules AGAIN. :-)
Reply With Quote
  #1021  
Old 11-01-2010, 02:20 PM
stationar stationar is offline
 
Join Date: May 2007
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RS_Jelle
Fixed missing sessionid in navigation
Could this cause the "Invalid security token" issue? In previous versions there was no security token verification. Can I safely comment out all parts of the code that represent this fix? My moderators can't moderate approve or delete files at all.
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:07 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.05819 seconds
  • Memory Usage 2,400KB
  • 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_php
  • (12)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
  • (9)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