Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
DownloadsII Details »»
DownloadsII
Version: 5.1.2, by RS_Jelle RS_Jelle is offline
Developer Last Online: May 2016 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 07-01-2006 Last Update: 04-24-2010 Installs: 2111
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

There's a vB4 version of this mod available: https://vborg.vbsupport.ru/showthread.php?t=231427

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.

Because a lot of people keep on asking this:
This mod works with any version of vBulletin 3.7.x and 3.8.x!

It's also coded 100% XHTML 1.0 Transitional valid, just like vBulletin itself.



Instructions & Support

You can find an installation manual in the zip package (Readme-Install.txt).

We try to answer most questions asked in this thread. Please don't send any pm's if we don't ask for them, as we said we try to give a high level of support in this thread. 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 6 screenshots of the front-end and back-end (AdminCP part) of the DownloadsII software. You can see the newest version in action at the Minatica.be Downloads (Dutch).

Changelog (version 5.1.2)

Jelle
  • Backported CSRF security fix from the vB 4 release
  • Added permission check for Update Counters
  • Fixed PHP warnings when running PHP 5.3
  • Removed the imagecreatefrombmp() function. It doesn't exist.
  • Added permission check for rating submissions
You can find all the changelogs of this and older versions here.

Help!!! I can't upload large files??

This is probably the second most asked question. Have a look at this post for the solution.

It doesn't work with GARS?!

If you also use the latest version of GARS, you will get the "Fields marked in RED must be filled in!" error when uploading a file. I provided a fix here on the GARS forums.

Addons

We are offering 3 addons for this mod at the moment (have a look at the bottom of this post for them). DownloadsII contains 5 hook locations for the vBulletin plugin systems, so you can add extra functionality without file edits.

Do you want to help expanding DownloadsII (if you are a coder)? Check out this post!

Notes
  • ecDownloads Buddy is NOT compatible with this version. If you are using the Buddy, you should UNINSTALL it before installing DownloadsII ver 5.x.x. The Buddy's features are now integrated into DownloadsII.
  • DownloadsII is a direct derivative work from Ron1n's ecDownloads.

Addons

Download Now

File Type: zip DownloadsII-5.1.2.zip (54.5 KB, 2190 views)

Screenshots

File Type: gif ecDownloadsII-5.0.1-add-file.gif (97.8 KB, 0 views)
File Type: gif ecDownloadsII-5.0.1-admin-edit-category.gif (18.7 KB, 0 views)
File Type: gif ecDownloadsII-5.0.1-admin-navigation.gif (4.6 KB, 0 views)
File Type: gif ecDownloadsII-5.0.1-category.gif (86.8 KB, 0 views)
File Type: gif ecDownloadsII-5.0.1-file.gif (108.2 KB, 1 views)
File Type: gif ecDownloadsII-5.0.1-main.gif (64.3 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
puertoblack2003

Comments
  #1352  
Old 05-20-2007, 01:49 PM
contemptx contemptx is offline
 
Join Date: Aug 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed this? http://www.fortecfiles.com

but its not showing??
Reply With Quote
  #1353  
Old 05-20-2007, 06:44 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by contemptx View Post
I have installed this? http://www.fortecfiles.com

but its not showing??
http://www.fortecfiles.com/downloads.php
(If you can't access it, you have to change your DownloadsII usergroup permissions.)

Have a look at the Readme-Install.txt for the template edits to show it in your navbar
Reply With Quote
  #1354  
Old 05-20-2007, 07:22 PM
cfitzarl cfitzarl is offline
 
Join Date: May 2007
Location: Boston, MA, USA
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod !
Reply With Quote
  #1355  
Old 05-20-2007, 07:43 PM
MjrGaelic MjrGaelic is offline
 
Join Date: Oct 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on my 3.6.7 no probs.
Reply With Quote
  #1356  
Old 05-21-2007, 12:54 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, seems to be working just fine on v3.6.7.
Reply With Quote
  #1357  
Old 05-22-2007, 04:08 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If users are reporting issues uploading larger files, where would I search first?

is this a setting of the server or their browser time out settings or what?
Reply With Quote
  #1358  
Old 05-22-2007, 04:34 PM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedGTiVR6 View Post
If users are reporting issues uploading larger files, where would I search first?

is this a setting of the server or their browser time out settings or what?
Quote:
Originally Posted by odinzu View Post
I have this installed on my forum and I tried testing it today.. I found out that my upload doesn't work. I tried uploading a 10mb file thats format is wmv. It told me there was a upload error.
The problem is most likely related to the max file upload size in your php.ini file. Since most folks can't access that, try to below placing the .htaccess file in your forum root directory.
Quote:
Originally Posted by CyberRanger View Post
If you want to control the max file size a user can upload, try putting this in .htaccess
PHP Code:
php_value upload_max_filesize 10M
php_value post_max_size 10M 
Reply With Quote
  #1359  
Old 05-23-2007, 05:51 AM
v12kid's Avatar
v12kid v12kid is offline
 
Join Date: Feb 2006
Location: Washington D.C.
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not sure if I missed it but are you going to add a feature where we can upload the screenshot/thumb when entering a new file into the system? If this already exists please excuse me

great hack!
Reply With Quote
  #1360  
Old 05-23-2007, 06:49 AM
MotMann MotMann is offline
 
Join Date: Jan 2006
Location: Germany
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ RS_Jelle first, thank's for the nice support

ok. I found that:

Code:
while ($image = $db->fetch_array($result))
            {
                if (($permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditallfiles']) OR
                   (($permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditownfiles']) AND
                    (($image['uploaderid'] == $vbulletin->userinfo['userid']) AND ($file['uploaderid'] == $vbulletin->userinfo['userid']))))
                    $edit = '[<a href="./downloads.php?do=file&amp;id='.$file['id'].'&amp;act=delimg&amp;img='.$image['id'].'" onclick="return delete_it()">'.$vbphrase['delete'].'</a>]';
                {
                    if (file_exists($dl->url.$image['thumb']))
                    {
                        $dimages .= '<a href="'.$dl->url.$image['name'].'"><img src="'.$dl->url.$image['thumb'].'" alt="'.$file['name'].'" title="'.$file['name'].'" border="0" /></a> by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'<br />';
                    }
                    else
                    {
                        $dimages .= '<a href="'.$dl->url.$image['name'].'">'.$image['name'].'</a> by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'<br />';
                    }
                }
            }
and changed with that:

Code:
$dimages .= '<table cellpadding="0" cellspacing="1" border="0"><tr>'; 
            $countnumber = 6; 
            $count = 1; 
            while ($image = $db->fetch_array($result)) 
            { 
                if (($permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditallfiles']) OR 
                   (($permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditownfiles']) AND 
                    (($image['uploaderid'] == $vbulletin->userinfo['userid']) AND ($file['uploaderid'] == $vbulletin->userinfo['userid'])))) 
                { 
                    $edit = '[<a href="./downloads.php?do=file&amp;id='.$file['id'].'&amp;act=delimg&amp;img='.$image['id'].'" onclick="return delete_it()">'.$vbphrase['delete'].'</a>]'; 
                } 

                if (file_exists($dl->url.$image['thumb']))
                { 
                    if ($count == $countnumber) 
                    { 
                        $dimages . '<tr>'; 
                    } 
                    $dimages .= '<td class="smallfont"><a href="'.$dl->url.$image['name'].'"><img src="'.$dl->url.$image['thumb'].'" alt="'.$file['name'].'" title="'.$file['name'].'" border="0" /></a><br />by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'</td>'; 
                    if ($count == $countnumber) 
                    { 
                        $dimages . '</tr>'; 
                    } 
                } 
                else 
                { 
                    if ($count == $countnumber) 
                    { 
                        $dimages . '<tr>'; 
                    } 
                    $dimages .= '<td class="smallfont"><a href="'.$dl->url.$image['name'].'">'.$image['name'].'</a><br />by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'</td>'; 
                    if ($count == $countnumber) 
                    { 
                        $dimages . '</tr>'; 
                    } 
                } 
                $count = $count+1; 
                if ($count == $countnumber) 
                { 
                    $count = 1; 
                } 
            }
But, there are more than 6 Screens in one row and the Style is not correct right now.
Attached Images
File Type: jpg Bild 1.jpg (35.7 KB, 0 views)
Reply With Quote
  #1361  
Old 05-23-2007, 09:14 AM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by v12kid View Post
not sure if I missed it but are you going to add a feature where we can upload the screenshot/thumb when entering a new file into the system? If this already exists please excuse me

great hack!
That feature doesn't exist at the moment, you need to add them afterwards

Quote:
Originally Posted by MotMann View Post
@ RS_Jelle first, thank's for the nice support

But, there are more than 6 Screens in one row and the Style is not correct right now.
I wrote it a bit too quick and missed some things
What I did wrong: I first do the $count +1 and then there's the check. So if $count is 5, it becomes 6 and then there's the check wich resets it (so no new line for the images)
For the layout: I forgot the </tr></table>.

Final:
PHP Code:
$dimages .= '<table cellpadding="0" cellspacing="1" border="0"><tr>';
            
$countnumber 6
            
$count 1
            while (
$image $db->fetch_array($result)) 
            { 
                if ((
$permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditallfiles']) OR 
                   ((
$permissions['ecdownloadpermissions'] & $vbulletin->bf_ugp['ecdownloadpermissions']['caneditownfiles']) AND 
                    ((
$image['uploaderid'] == $vbulletin->userinfo['userid']) AND ($file['uploaderid'] == $vbulletin->userinfo['userid'])))) 
                { 
                    
$edit '[<a href="./downloads.php?do=file&amp;id='.$file['id'].'&amp;act=delimg&amp;img='.$image['id'].'" onclick="return delete_it()">'.$vbphrase['delete'].'</a>]'
                } 

                if (
file_exists($dl->url.$image['thumb']))
                { 
                    if (
$count == $countnumber
                    { 
                        
$dimages '<tr>'
                    } 
                    
$dimages .= '<td class="smallfont"><a href="'.$dl->url.$image['name'].'"><img src="'.$dl->url.$image['thumb'].'" alt="'.$file['name'].'" title="'.$file['name'].'" border="0" /></a><br />by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'</td>'
                    if (
$count == $countnumber
                    { 
                        
$dimages '</tr>'
                    } 
                } 
                else 
                { 
                    if (
$count == $countnumber
                    { 
                        
$dimages '<tr>'
                    } 
                    
$dimages .= '<td class="smallfont"><a href="'.$dl->url.$image['name'].'">'.$image['name'].'</a><br />by <a href="./member.php?u='.$image['uploaderid'].'">'.$image['uploader'].'</a> on '.vbdate($vbulletin->options['dateformat'], $image['date'], true).' '.$edit.'</td>'
                    if (
$count == $countnumber
                    { 
                        
$dimages '</tr>'
                    } 
                }
                if (
$count == $countnumber
                { 
                    
$count 1
                } 
                
$count $count+1
            }
$dimages .= '</tr></table>'
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 05:09 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.08924 seconds
  • Memory Usage 2,410KB
  • Queries Executed 27 (?)
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
  • (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
  • (1)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