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
  #702  
Old 05-10-2010, 05:09 AM
stunod's Avatar
stunod stunod is offline
 
Join Date: Mar 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I make the images for the thumbnail previews bigger? When ever I change the 100 in the $width it just changes the height not the width.

Code:
if (empty($errors))
			{
				$forceredirect = true;
				$newfilename = $name . '_' . $random . '.' . $ext;
				move_uploaded_file($vbulletin->GPC['image']['tmp_name'], $dl->url.$newfilename);
				chmod($dl->url.$newfilename, 0666);
				$thumb = $name.'_'.$random.'_thumb.'.$ext;
				if (($ext == 'jpg') OR ($ext == 'jpeg'))
				{
					$orig_image = imagecreatefromjpeg($dl->url.$newfilename);
				}
				else if ($ext == 'png')
				{
					$orig_image = imagecreatefrompng($dl->url.$newfilename);
				}
				else if ($ext == 'gif')
				{
					$orig_image = imagecreatefromgif($dl->url.$newfilename);
				}

				list($width, $height, $type, $attr) = @getimagesize($dl->url.$newfilename);
				if ($width > 100)
				{
					$ratio = 100 / $width;
					$newheight = $ratio * $height;
				}
				else
				{
					$newheight = $height;
				}
				$destimg = @imagecreatetruecolor(100, $newheight);
				imagecopyresampled($destimg, $orig_image, 0, 0, 0, 0, 100, $newheight, imagesx($orig_image), imagesy($orig_image));

				if (($ext == 'jpg') OR ($ext == 'jpeg'))
				{
					@imagejpeg($destimg, $dl->url.$thumb);
				}
				else if ($ext == 'png')
				{
					@imagepng($destimg, $dl->url.$thumb);
				}
				else if ($ext == 'gif')
				{
					@imagegif($destimg, $dl->url.$thumb);
				}
				@imagedestroy($destimg);
Reply With Quote
  #703  
Old 05-10-2010, 03:55 PM
insidedesign insidedesign is offline
 
Join Date: May 2007
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TeknoSounds View Post
Go to your downloads page in the forum (not in the AdminCP), in the Sub-Navbar menu it says Main | Search | Add | Manage
Oh, ok. Crap, since I am using a tab modification I do not see these options. Would you mind passing me the url instead?
Reply With Quote
  #704  
Old 05-10-2010, 05:27 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stunod View Post
How can I make the images for the thumbnail previews bigger? When ever I change the 100 in the $width it just changes the height not the width.
Changing the 100 everywhere (4 occurances!) should do the trick. The height is calculated automatically (ratio).

Quote:
Originally Posted by insidedesign View Post
Oh, ok. Crap, since I am using a tab modification I do not see these options. Would you mind passing me the url instead?
downloads.php?do=manfiles
Reply With Quote
  #705  
Old 05-10-2010, 11:32 PM
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Location: TX
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by insidedesign View Post
Oh, ok. Crap, since I am using a tab modification I do not see these options. Would you mind passing me the url instead?
Downloads has its own tab option setup, you don't need to use a tab modification for it. This way it'll have the script auto-selected and it'll show the sub-navbar. Unless you have an absolute need to run it through that tab system..?
Reply With Quote
  #706  
Old 05-11-2010, 04:47 AM
stunod's Avatar
stunod stunod is offline
 
Join Date: Mar 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RS_Jelle View Post
Changing the 100 everywhere (4 occurances!) should do the trick. The height is calculated automatically (ratio). downloads.php?do=manfiles

What am I doing wrong! I have changed all 4 occurances of 100 and it did change in size. I tried messing with different numbers and it just would never stay partitioned.

Any ideas?

Thanks, Adam
Reply With Quote
  #707  
Old 05-11-2010, 09:41 AM
janaf janaf is offline
 
Join Date: Dec 2009
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, Just installed DownloadsII

Some comments:

"Turn OFF the downloads section for maintenance." YES / NO

Was confused, as YES actually turns DownloadsII ON

Import Files:

Directory
Absolute path to the download directory.
The absolute path to this script is X
Include a trailing slash.


Hmmm, I want to bulk import a few hundred files into DownloadsII. Does this do it?
Absolute path to the download directory. Is that the path to the directory I want to import?
The absolute path to this script is X OK, this looks like the root absolute path on my win server. So?

Any feedback appreciated.


PS Would love if the DownloadsII could somehow integrate with CMS Categories. I am using catetories to collect different types of documentation articles like manuals, tips, user instructions for products I sell. Some are CMS pages, some are pdf files, and images.

So making a list with both download files and CMS pages / categories would be great.

Any tips or ideas out there?
Reply With Quote
  #708  
Old 05-11-2010, 11:32 AM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

RS_Jelle,

I have been using this mod on 3.8 for a while and think it is great - I have also upgraded to this one on my 4.0 board.

I have mentioned this before, but believe it may have been lost in amongst all the posts.

What I would love to see (as would my members) is the ability to add more than one file in the same place.

For example - I would like to add a PDF of Questions - and then underneath it, have a PDF with the Answers, rather than the members go hunting in seperates places - which could be lost by new files being uploded?

Is this possible, Please?

Many Thanks,
Welshy2008.
Reply With Quote
  #709  
Old 05-11-2010, 12:46 PM
Krahl Krahl is offline
 
Join Date: Aug 2005
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm on a shared server and having issues with the size of files being uploaded. I realize by reading through the thread that my php.ini needs to be edited to allow larger uploads. However, there is no php.ini in my directory structure. Where would I create this to have it function properly?

Thanks for any input.
Reply With Quote
  #710  
Old 05-12-2010, 12:36 AM
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Location: TX
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Krahl View Post
I'm on a shared server and having issues with the size of files being uploaded. I realize by reading through the thread that my php.ini needs to be edited to allow larger uploads. However, there is no php.ini in my directory structure. Where would I create this to have it function properly?

Thanks for any input.
Check with your host if you can edit or change these settings. My old shared host allowed us to create a cgi wrapper that initialized our own php.ini (well for use of php5, but allowed changing of the max upload and such too)
Reply With Quote
  #711  
Old 05-12-2010, 12:37 AM
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Location: TX
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Welshy2008 View Post
RS_Jelle,

I have been using this mod on 3.8 for a while and think it is great - I have also upgraded to this one on my 4.0 board.

I have mentioned this before, but believe it may have been lost in amongst all the posts.


What I would love to see (as would my members) is the ability to add more than one file in the same place.

For example - I would like to add a PDF of Questions - and then underneath it, have a PDF with the Answers, rather than the members go hunting in seperates places - which could be lost by new files being uploded?


Is this possible, Please?



Many Thanks,
Welshy2008.
May not be exactly what you're looking for, but you could stick the two files in the same category and pin them so they stay at the top?
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:34 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.05901 seconds
  • Memory Usage 2,381KB
  • 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
  • (1)bbcode_code
  • (7)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_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