The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
DownloadsII Details »» | |||||||||||||||||||||||||||||||||||||||||
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
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
Screenshots
Show Your Support
|
26 благодарности(ей) от: | ||
andro140, belbos, chatpalace24, Cruncher Pete, DEAL321, elwizard, erosolmi, gec100, Hippy, KorvinGump, Macgiber, Mopar1973Man, MusiquesElectro, mygitar, Ricsca, romaszek, sadiq6210, snooper2, spillage, SSG.D, stationar, steviewonder44, TeknoSounds, TZ. |
Comments |
#702
|
||||
|
||||
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); |
#703
|
|||
|
|||
Oh, ok. Crap, since I am using a tab modification I do not see these options. Would you mind passing me the url instead?
|
#704
|
|||
|
|||
Quote:
downloads.php?do=manfiles |
#705
|
|||
|
|||
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..?
|
#706
|
||||
|
||||
Quote:
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 |
#707
|
|||
|
|||
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? |
#708
|
||||
|
||||
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. |
#709
|
|||
|
|||
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. |
#710
|
|||
|
|||
Quote:
|
#711
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|